this is a boring post, please skip this.
*.cpp;*.cc;*.h;*.hpp;*.inl;*.cs;*.java;*.sql;*.bat;*.sh;*.xml;*.properties;*.jsp;*.aspx;*.js;*.cs;*.css
I couldn’t find the list of files to be counted during Lines Of Code counting, so I post it here.
this is a boring post, please skip this.
*.cpp;*.cc;*.h;*.hpp;*.inl;*.cs;*.java;*.sql;*.bat;*.sh;*.xml;*.properties;*.jsp;*.aspx;*.js;*.cs;*.css
I couldn’t find the list of files to be counted during Lines Of Code counting, so I post it here.
Requirement: ffmpeg installed, determination, taste and fully functional computer with internet access.
1. Select a video from Youtube.com, I choose Daniel Bryan’s Titantron 2011 video.
2. Download video using Keepvid.com
3. fire up command line / terminal
4. run ffmpeg with these parameters:
D:\personal files>ffmpeg -ss 5 -i “D:\personal files\Daniel Bryan 2011 Titantron – Flight of the Valkyries.mp4″ -vcodec mpeg4 -acodec libvo_aacenc -b:v 100000 -b:a 128000 -s 176×144 -t 60 “D:\personal files\Daniel Bryan 2011 Titantron – Flight of the Valkyries.ringer.mp4″
5. transfer the video to the phone by bluetooth or cable. Try to transfer to phone memory (C: drive)
6. open up profiles menu and select ringtone, the video should appear in list.
7. miss-call your family or true friend, your percentage to get a return call back is higher this way.
8. be awesome.
Explanation on the ffmpeg parameters:
-ss 5 delay recording time of the video, this is optional
-i), seeks in this input file to position. When used as an output option (before an output filename), decodes but discards input until the timestamps reach position. This is slower, but more accurate.position may be either in seconds or in hh:mm:ss[.xxx] form.-i “D:\personal files\Daniel Bryan 2011 Titantron – Flight of the Valkyries.mp4″ the input file
-vcodec mpeg4 the video codec
-acodec libvo_aacenc the audio codec
-b:v 100000 the video bitrate
-b:a 128000 the audio bitrate
-s 176×144 video size
-t 60 limit video length (in seconds, 60s = 1 minute)
“D:\personal files\Daniel Bryan 2011 Titantron – Flight of the Valkyries.ringer.mp4″ resulting file
My previous ringtone was:
Fabtune Top 100: Songs with most playcount on my Winamp for the year 2011.
How I convert the m3u playlist to a more readable content.
this is the original content:
#EXTM3U
#EXTINF:142,Bullet for My Valentine – Intro
D:\MP3\Bullet for My Valentine – The Poison (Limited Edition-Digipak) [2005][SLIPKNOT][www.emwreloaded.com]1-bullet_for_my_valentine-intro-fnt.mp3
#EXTINF:184,Slipknot – Wait And Bleed
D:\MP3\Slipknot – Wait and Bleed.mp3
#EXTINF:298,Beachwood Sparks – By Your Side
D:\MP3\Scott Pilgrim vs the World4-beachwood_sparks-by_your_side.mp3
#EXTINF:263,Beck – Ramona
D:\MP3\Scott Pilgrim vs the World\17-beck-ramona.mp3
#EXTINF:249,billie myers – kiss the rain
D:\MP3\VA-One_Hit_Wonder_Vol.11-2CD-2009-MST\205-billie_myers_-_kiss_the_rain-mst.mp3
Using the power of regular expression (REGEX) search in Notepad++, follow the following process:
1. take out that header #EXTM3U
replace ^#EXTM3U with empty string by using Regular Expression search mode
result:
#EXTINF:142,Bullet for My Valentine – Intro
D:\MP3\Bullet for My Valentine – The Poison (Limited Edition-Digipak) [2005][SLIPKNOT][www.emwreloaded.com]1-bullet_for_my_valentine-intro-fnt.mp3
#EXTINF:184,Slipknot – Wait And Bleed
D:\MP3\Slipknot – Wait and Bleed.mp3
#EXTINF:298,Beachwood Sparks – By Your Side
D:\MP3\Scott Pilgrim vs the World4-beachwood_sparks-by_your_side.mp3
#EXTINF:263,Beck – Ramona
D:\MP3\Scott Pilgrim vs the World\17-beck-ramona.mp3
#EXTINF:249,billie myers – kiss the rain
D:\MP3\VA-One_Hit_Wonder_Vol.11-2CD-2009-MST\205-billie_myers_-_kiss_the_rain-mst.mp3
2. take out the file path string
replace ^D:+[A-Za-z0-9\t\b\s\-\\\(\)\[\]\.\_\’\&]*([mp3|wma|m4a])$ like what I did with the file header
result:
#EXTINF:142,Bullet for My Valentine – Intro
#EXTINF:184,Slipknot – Wait And Bleed
#EXTINF:298,Beachwood Sparks – By Your Side
#EXTINF:263,Beck – Ramona
#EXTINF:249,billie myers – kiss the rain
3. take out that whatever it is before the Artist name and song title
replace ^#EXTINF:[0-9]*\,
result:
Bullet for My Valentine – Intro
Slipknot – Wait And Bleed
Beachwood Sparks – By Your Side
Beck – Ramona
billie myers – kiss the rain
4. looks good now, but I like it without empty line between them
using Extended Search mode, find the new line \n\r and replace with empty string
result:
Bullet for My Valentine – Intro
Slipknot – Wait And Bleed
Beachwood Sparks – By Your Side
Beck – Ramona
billie myers – kiss the rain
siap… I am doing this to prepare my Top 100 songs playing in my Winamp on my Office Laptop, the list was created by selecting 100 songs, sorted by play count.
The goals of SCM are generally:
source: Wikipedia.org
and it is my job to perform those tasks.