Download Gmail Blocked Email Attachments


Hits: 597  

Anti-virus warning – 1 attachment contains a virus or blocked file. Downloading this attachment is disabled.

blocked-attachment

Gmail says …. File types you can’t include as attachments
.ADE, .ADP, .BAT, .CHM, .CMD, .COM, .CPL, .EXE, .HTA, .INS, .ISP, .JAR, .JS (NEW), .JSE, .LIB, .LNK, .MDE, .MSC, .MSI, .MSP, .MST, .NSH .PIF, .SCR, .SCT, .SHB, .SYS, .VB, .VBE, .VBS, .VXD, .WSC, .WSF, .WSH

I know my zip file “portfolio-1.zip” have .JS files

Note: Gmail warned you that attachment is not safe. So make 100% sure that email attachments is safe for download before follow below process.

email-show-original

Click on email option “Show original”, it will open a new browser window with MIME encoded message. Now you have to “Download Original” OR “Copy to clipboard” save text file “original_msg.txt”

In file “original_msg.txt” you can find attached file name

Content-Type: application/zip; name=”portfolio-1.zip”
Content-Disposition: attachment; filename=”portfolio-1.zip”
Content-Transfer-Encoding: base64
X-Attachment-Id: f_iqui8p0t0

Create new Python script named “getAttachments.py” and write below code in it

import email
import sys

if __name__=='__main__':
    if len(sys.argv)<2:
        print "Please enter a file to extract attachments from"
        sys.exit(1)

    msg = email.message_from_file(open(sys.argv[1]))
    for pl in msg.get_payload():
        if pl.get_filename(): # if it is an attachment
            open(pl.get_filename(), 'wb').write(pl.get_payload(decode=True))

D:\>python –version
Python 2.7.6

D:\>python getAttachments.py original_msg.txt

You will find zip file attachment “portfolio-1.zip” in the same folder!

You can also open Mime Encoded Text file “original_msg.txt” in Outlook or any email client just rename it to “original_msg.eml” then open email file and download attachment.

Suggestion: If your files are safe, you can upload the file to Google Drive, then send shareable link as Drive attachment.

Extract attachments from emails that Gmail doesn’t allow you to download.

The Internet of Things


Hits: 557  

In the modern era, the era of the Internet of Things, what tech best suits you can be difficult to ascertain. It may seem at times that there are just too many smartphones, too many TVs, too many computers, and then some. Shopping for gadgets can sometimes be a bit complicated for the layperson. Specifications for computers, for example, can seem like a calculus problem or a foreign language.

With so many options to choose from, it’s helpful to be able to narrow down your options and focus your search. An example of this is the current transition from High Definition television to the burgeoning 4k Ultra High Definition. It’s safe to say most consumers don’t necessarily know the difference between these labels and, even if you told them, might not know much beyond the difference in numbers. Knowing that 4K UHD TVs, being the hot new tech, are more expensive than HD TVs, and that HD is already more than enough for the average Joe, one can safely restrict their search to HD and save a little money on their purchase.

Beyond the question of what specs matter to what consumer, there is the question of brands. So, you now know you want HD TV, instead of 4K, but which HD TV is the best? There a great many brands competing for your money, and now you need to know which brand has the best balance of price and quality. To get the most bang for your buck without doing a ton of research, it’s often a great idea to do price comparisons first. Budget is more often than not the biggest deciding factor when making purchases.

Supposing you’re in the market for a smartphone, the two big names in the spotlight are the iPhone and the Samsung Galaxy. Apple’s claim to fame is ubiquitous in its popularity, but Samsung’s rival Galaxy series of phones is the quality, cost-effective alternative.

Record Live Streaming Radio to MP3


Hits: 547  

Sometime you want to record Live Radio Stream to MP3 file, you can find many online linux tools for recording radio stream to server and then download to your local computer.

You can use Linux “wget” or “curl”

CURL

# curl -sS -o stream.mp3 –max-time 150 http://Radio-Server:Port/stream
Bitrate: 128 kb/s [it will make approx 2MB MP3 file]

# curl -sS -o stream.mp3 –max-time 150 http://Radio-Server:Port/stream
Bitrate: 64 kb/s [it will make approx 1MB MP3 file]

FFMPEG

# ffmpeg -y -i http://Radio-Server:Port/stream stream.mp3

# ffmpeg -i http://Radio-Server:Port/stream -t 00:00:40 -acodec copy stream.mp3
[It will record MP3 file stream.mp3 of duration of 40 sec with same Radio Stream Codec Info & Bitrate]

MPLAYER & LAME

# mplayer ‘http://Radio-Server:Port/stream’ -endpos ’00:01:00′ -vo null -ao pcm:waveheader:file=stream.wav &> /dev/null
# lame stream.wav stream.mp3 &> /dev/null

WGET

# wget -O stream.mp3 “http://Radio-Server:Port/stream”

How to Build Recognition as a Web Designer in 2017


Hits: 511  

With the mass number of web designers available online, it’s hard to get recognized for your work and expertise. It often takes web designers years to build a following and start getting recognized as a trusted authority in the industry. However, there are many things that you can do to get ahead and build recognition quicker in 2017. Here are some strategies that you can use to get your name out there and become a leading industry expert.

1. Create and Distribute Quality Content

The best way to show your expertise is to teach other people what you know through your content. Quality content will go a long way whether it’s something simple as a web hosting setup video or something more challenging like a header design tutorial. You want to publish content that targets your ideal client as well as your peers in the industry. That will help you bring in more business while helping you connect with other industry leaders and influencers.

But you have to do more than publish great content. You want to promote your content using social media, guest blog posts, viral campaigns, giveaways, etc. Content marketing tactics like infographics, contests and web design template giveaways can really give you the exposure you need to build an audience for your site and stand out in the crowded space.

2. Create Case Studies

A case study is one of the best ways to establish your expertise. What you want to do with your case studies is to do a ‘before and after’ example of a website design project. Show the reader what the website looked like before you worked on it and show what it looked like after you’ve made your changes. Case studies are popular because people often look for real life web design projects they can model.

You want to make these case studies as detailed as possible. Include photos, screenshots, rough drafts, test results and anything else that can explain your thought process. You want to walk readers through the problems and challenges of the original website and talk in-depth about how you resolved them. This kind of content tends to do well as it often gets shared by enthusiasts, influencers and experts who’ve found it to be helpful.

3. Build an Extensive and Diverse Portfolio

You’re probably already aware of the importance of having a portfolio on your website. Your portfolio shows potential clients what you’re capable of and is often essential to landing the job. The problem is that many web designers have a portfolio but don’t put up enough of their past work to showcase their talents. You want to display a respectable amount of work to show potential clients that you’ve had an extensive work experience.

Another problem is that many web designers focus on the same types of websites/projects and their portfolio is very two dimensional. You want to show that you can handle many different types of projects as you never know what the client is looking for. If you don’t have experience with different projects, then branch out and try to get projects that are outside of your comfort zone. It’ll give you the experience you need while also helping you diversify your portfolio.

4. Diversify Your Expertise

At this day and age, you need to more than design websites. If your knowledge only extends to designing a great looking site and setting up web hosting, you need to gain other web design/development skills. This can include anything from user experience design, SEO, storytelling oriented design, web branding, to responsive design. Having expertise in other aspects of web design helps you set yourself apart from other everyday designers and conveys that you bring more to the table for your clients.

One expertise that is often sought after is conversion rate optimization. People often need help getting their site to convert more traffic into leads or sales. By honing your skills in conversion rate optimization, you can attract clients that are looking for conversion focused design and even charge for additional services.

5. Collaborate with Industry Influencers and Leaders

One of the best ways to quickly get your name out there is to associate yourself with established influencers and industry leaders. There are a wide variety of ways you can work with other professionals. This can include anything from podcasts, interviews, content exchanges, to speaking at industry events.

You want to be on the look for opportunities to get involved with the community and other professionals in the industry. When somebody reaches out to you, don’t turn down the offer because it isn’t compensated. Use it is a platform to get your name out there. At the same time, don’t wait for people to reach out to you. Come up with creative ways you can work with others in your industry.

6. Aggressive Marketing

Nothing cures slow sales like marketing. You have to make sure that you invest a good amount of your time and money into marketing. There are many ways to market yourself as a web designer including content marketing, social media, display advertising, site sponsorships, to offline events. You have to be aggressive with your marketing if you want to grow.

At the same time, you need to be focused with your marketing. You want to focus on one strategy until you’ve figured out a way to make it work. For example, if you’re working on content marketing, figure out how to get results from your efforts rather than trying to working on other strategies simultaneously or jumping ship if you don’t see results quickly enough.

This is a short list of some of the most solid strategies to get your name recognized as a web designer in 2017. The process can be challenging but you’ll start to get some traction and leverage that into results with enough persistence.

jPlayer playbackRate Audio Speed Control for Podcast Player


Hits: 727  

Today one of my customer need Audio PlayBack Speed Control for HTML5 Audio Player. His requirement is that many people speak too slow on
podcasts. He wants to speed up the playback so that he don’t have to take so much time to listen to the podcast.

He actually wants button for speed [ 0.5x, 1x, 1.5x, 2x, 2.5x ] on HTML5 Audio using jPlayer.

jPlayer playbackRate

jPlayer playbackRate
Number : (Default: 1) : Defines the playback rate. Recommend that the jPlayer({defaultPlaybackRate}) matches this value during initilization.
http://jplayer.org/latest/developer-guide/#jPlayer-option-playbackRate

jQuery(“#jplayer”).jPlayer(“option”,”playbackRate”, 1.5);

jQuery(“#jplayer”).jPlayer(“options”,{defaultPlaybackRate : 1.5});

<script type="text/javascript">

var currentSpeedIdx = 1;  
var speeds = [ 0.5, 1, 1.5, 2, 2.5 ];

function jpSpeedControl()
{

currentSpeedIdx = currentSpeedIdx + 1 < speeds.length ? currentSpeedIdx + 1 : 0;

jQuery("#jplayer").jPlayer("option","playbackRate", speeds[currentSpeedIdx]);

jQuery("#jpSpeedControl").html( speeds[currentSpeedIdx] + 'x' );

}

</script>

<div id="jpSpeedControl" title="Speed" style="cursor:pointer;" onclick="jpSpeedControl();">1x</div>

A Guide to Growing Your Agency by Upselling Clients


Hits: 611  

How upselling clients can help your agency to grow
As a web design agency are you currently concentrating most of your energies on attracting new clients as opposed to upselling existing ones? If you are then this could be a mistake. It can often take a lot less effort to sell a further service to a client you have already worked with than it does to persuade a new client to hire you. Most importantly, the financial rewards can be impressive and can help with the growth of your agency.

It’s unlikely that clients are going to completely update their website on a regular basis so you need to think carefully about services which you can offer. Do not forget that clients are going to be most interested in services that can secure them increased leads, sales and revenue. Let’s take a look at some of the ways in which you can upsell existing clients.

Optimising conversions
Conversions are likely to be one of the most important considerations for your clients. You can offer them the ability to optimise conversions by using the very latest functionality in areas such as check out functionality and live chat features.

Optimising performance
Website performance is always an important factor when it comes to attracting and retaining customers. This is why offering to monitor the performance of a client’s website, and provide suggestions for optimisation, is a good idea. Have any features been added that make the website slow to load, for instance. This is an important issue as slow load times are one of the major factors when it comes to deterring people from using a website.

Optimising analytics
If analytics are not optimised then it’s hard to tell how well aspects of a website are performing. It’s important that a client has the latest analytics in place in order for them to see where changes might be necessary in order to maximise ROI from their website. If you can offer them your analytics expertise you are upselling a vital product.

How to charge when upselling clients
There may not be a one size fits all option when it comes to upselling; you have to decide on solutions that are the best fit for you and the client. Options include:
• Charging by the hour. This is just as it says; the client is charged for each hour you work for them.
• Charging a retainer. You may find it easier to obtain a retainer from the client which guarantees them a certain number of hours service from you which they can use when they need them.
• Charging by subscription. One of the easiest methods of charging for your services is to use a subscription system which involves the client paying a set amount each month or year for an agreed level of service.
These are just some of the charging methods you can consider.
If you speak to any professional web design agency they will tell you how vital their services can be; you can learn more here. This is why agencies should always upsell existing clients with the message that all of the ongoing services we have highlighted are very much needed.

SQL: The Essential Database Language


Hits: 1257  

Structured Query Language (SQL) is a specialised programming language designed for use with databases. SQL is a standard language when working with relational databases, allowing rapid sorting of large databases. If you are serious about a career in IT, then SQL training is essential, even if you don’t plan on becoming a database specialist. There are different levels of tuition, and it is recommended to begin with the introductory course.

Introduction to SQL

The SQL introductory program covers the basics, and shows you the capabilities and key features of SQL. This one-day course is very much hands-on, beginning with an introduction to SQL, followed by an overview of relational databases, and how SQL works within that context. You will work with an example database, and learn how to run SQL queries in order to familiarise yourself with the interface.If you are interested, you can invest in a SQL training course here, with a range of training programs on all aspects of SQL.

Writing basic SQL statements

This involves selecting columns and tables from a database using SQL, then learning how to execute queries. Once this has been covered, you will learn how to limit the data returned by introducing the “WHERE” section of SQL queries, as well as how to sort the outputs.

Grouping data

This involves using the aggregate function to introduce sub totals, followed by an introduction to the “HAVING” statement, and the “GROUP BY” function. The final stage of the introductory SQL course looks at working with functions and dates. Before learning how to use SQL, it is essential to have a sound working knowledge of Microsoft’s Excel program. Here is some useful information regarding Excel and its capabilities.

Advanced SQL training

Beginning with a review of the introductory program, this course will further develop the learner’s ability to manage a relational database, with an introduction to more complex commands and queries. At this stage, you are introduced to data manipulation language (DML) and database definition language (DDL), which will enable you to build database objects and execute complex statements.

You would learn about SQL scripts, which are a set of SQL commands that can be saved as a file, allowing you to repeat queries without having to retype. This includes the use of parameters in your query, in addition to a look at query output presentation. Other essential sections of this level include,

– SQL syntax
– Managing tables
– Managing views
– Getting data from multiple tables
– SQL functions

The final part of this program deals with advanced ways to control select queries using SQL. You will also be shown how to order and produce sub totals from a query. The final section includes applying conditions to your query.

The right training produces competency

If you are planning to become SQL proficient, it is important to choose the right training course, with instructors that understand the problems you will face when using SQL. There are reputable online training institutions that have the knowledge and experience to help you understand and effectively work with SQL.

Live Transcoder for Nimble Streamer


Hits: 1375  

WMSPanel’s Transcoder for Nimble Streamer is a premium add-on for Nimble Streamer which can decode, transform and encode live streaming media.

The Transcoder use H.264, MPEG2 video and AAC, MP3, MP2, Speex audio as Input. It support RTMP pulled and published, RTSP pulled and announced, MPEG-TS via HTTP and UDP as input protocols.

The Transcoder use H.264/AAC with pass-through support as Output. It support HLS, MPEG-DASH, RTMP and RTSP playback and re-publish, MPEG-TS playback and multicast as output protocols.

Transcoder for Nimble Streamer apply existing FFmpeg filters to the processed content.

– FFMPEG Filters are applied without streams interruption
– 4 different strategies for adding key frames alignment
– Resize / crop to create multiple resolutions
– Graphic overlays, picture-in-picture video
– Make filtering chains without additional decoding
– Audio transrating, e.g. 256Kbps to 192Kbps
– Audio re-sampling, e.g. 44KHz to 22KHz
– Mix several audio sources
– Add any custom or third-party filter

The Transcoder is provided per monthly subscription with an affordable pricing. With Nimble Streamer your total cost of ownership will be as low as possible.

Setup SHOUTcast Radio server on Linux


Hits: 3077  

Download and install SHOUTcast DNAS server software

Create new user for running SHOUTCast:

# useradd shoutcast

Download Shoutcast DNAS package: http://download.nullsoft.com/shoutcast/tools/

# wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz

Extract SHOUTcast files:

# mkdir sc
# tar -xvf sc_serv2_linux_x64-latest.tar.gz -C sc

Change the ownership from root to the SHOUTcast user:

# chown -R shoutcast:shoutcast sc

Configuring SHOUTcast Server

# cd sc
# nano sc_serv.conf

Copy below content to file sc_serv.conf

adminpassword=password
password=password1
requirestreamconfigs=1
streamadminpassword_1=password2
streamid_1=1
streampassword_1=password3
streampath_1=http://Server-IP-Address:8000
logfile=sc_serv.log
w3clog=sc_w3c.log
banfile=sc_serv.ban
ripfile=sc_serv.rip

Start SHOUTcast server

# ./sc_serv sc_serv.conf

sc2

Please make sure shoutcast port must be open in server firewall

Manage SHOUTcast Server and Create Daemon script

# ps aux | grep sc_serv ## Get Server PID
# killall sc_serv ## Stop server

# vi /usr/local/bin/shoutcast

Content of /usr/local/bin/shoutcast

#!/bin/bash
case $1 in
start)
cd /root/sc/
./sc_serv &
;;
stop)
killall sc_serv
;;
start_daemon)
cd /root/sc/
./sc_serv daemon
;;
*)
echo “Usage shoutcast start|stop”
;;
esac

# chmod +x /usr/local/bin/shoutcast
# /usr/local/bin/shoutcast start
# /usr/local/bin/shoutcast stop

Automatically start the Shoutcast server after server reboot
# echo “/usr/local/bin/shoutcast start_daemon” >> ~/.bashrc