Access Skype SQLite Database

I was working for Online Radio Server setup with Icecast and Skype. This Radio Station was using Skype Group Calls with real listeners of station then I have to feed Live Skype Audio to Icecast Radio Server as Input. Radio Setup Tools Online Radio Schedule with Skype & Icecast – SAM Broadcaster – Icecast Server … Read more

JavaScript Detecting Internet Connection

Offline.js automatically alerts users for their internet connection using AJAX requests. Download offline.min.js offline.html <script src=”offline.min.js”></script> <script> Offline.options = {checks: {xhr: {url: ‘offline.html’}}}; var run = function(){ // check internet connection Offline.check(); // return internet connection state console.log(Offline.state); document.getElementById(“status”).innerHTML = Offline.state; } setInterval(run, 5000); </script> <div id=”status”>up</div>

Bottle: Python Web Framework

I really like Bottle: Python Web Framework. Bottle is very simple, fast and powerful Python micro-framework. It is perfect for small web applications and rapid prototyping where you need simple/small API server. Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. Installation Install Bottle with pip install bottle or download the source … Read more

FFMPEG make Video Lyrics using JPG MP3 SRT File

FFMPEG make Video Lyrics using JPG MP3 SRT File Input Files – Image (test.jpg) – MP3 File (test.mp3) – SRT Lyrics (test.srt) FFMPEG Command # ffmpeg -loop 1 -y -i test.jpg -i test.mp3 -vf subtitles=”f=test.srt:force_style=’FontName=Arial,FontSize=14″ -shortest test1.mp4 Output File: test1.mp4 SRT Lyrics Preview 1 00:00:00,330 –> 00:00:04,936 Hello Feifei. I didn’t know you shopped at … Read more

How to add MP3 audio delayed in MP4 video?

FFMPEG Command: Add MP3 Audio file delayed in MP4 video file # ffmpeg.exe -i “fox-story.mp4” -itsoffset 5.00 -i “fox-story.mp3” -map 0:v -map 1:a -vcodec copy -acodec copy “The Fox and Crow Story.mp4” Input: fox-story.mp4 and fox-story.mp3 Output: The Fox and Crow Story.mp4 -itsoffset 5.00 -i “movie.mp3” Offsets timestamps of audio streams by 5.00 seconds -map … Read more

Song Lyrics: lrc2srt and srt2json

LRC2SRT.php <?php function lrc2srt( $lrc ) { $lrc = explode( “\n”, $lrc ); $srt = “”; $lines = array(); foreach ( $lrc as $lrcl ) { if ( preg_match( “|\[(\d\d)\:(\d\d)\.(\d\d)\](.+)|”, $lrcl, $m ) ) { $lines[] = array( ‘time’ => “00:{$m[1]}:{$m[2]},{$m[3]}0”, // convert to SubRip-style time ‘lyrics’ => trim( $m[4] ) ); } } for … Read more

Amazon Simple Notification Service Command Lines

Install the AWS CLI Using the Bundled Installer Download the AWS CLI Bundled Installer. # curl “https://s3.amazonaws.com/aws-cli/awscli-bundle.zip” -o “awscli-bundle.zip” # unzip awscli-bundle.zip # chmod a+x ./awscli-bundle/install # ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws Configure AWS CLI # aws configure AWS Access Key ID [None]: XXXXXXXXXXXXXXXXXXXXX AWS Secret Access Key [None]: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Default region name [None]: us-east-1 … Read more

Amazon DynamoDB PHP CRUD using aws.phar

DynamoDB is fully managed, fast and low cost NoSQL database service by Amazon. DynamoDB allows you to offload the administrative operations and scale highly distributed database cluster. The AWS SDK PHP enables you to use Amazon Web Services like Amazon S3, EC2, RDS, CloudFront, Redshift, DynamoDB, Push Notification Service (SNS) and more from your PHP … Read more

Top 10 Tutorials for your Drupal Website

Drupal is one of the most popular and powerful content management systems. Creating your website with Drupal will allow you endless options for design and function. Use these 10 Drupal tutorials to easily give your website features and options you may have never thought possible. 1. Tutorial For Site Setup Every Drupal website owner should … Read more