March 17, 2012

Blog Closing

This will be my last post.

Blog has moved to

http://svnpenn.github.com

That is all.

January 14, 2012

Wget

:: for Windows
:: use current date for filename
wget -O %date%.atom --no-check-certificate https://gist.github.com/svnpenn.atom

:: honor the content-disposition header when choosing filename
wget --content-disposition --user-agent Mozilla/5.0 forum.aircrack-n
g.org/index.php?action=dlattach;topic=11633.0;id=802

Links

askapache.com/dreamhost/wget-header-trick.html
osdir.com/ml/bug-wget-gnu/2009-05/msg00008.html

January 10, 2012

Adobe HTTP Dynamic Streaming

The f4fpackager is a command line tool available for Windows and Linux that you use to convert your source media files into the necessarily-fragmented files required for streaming. You can get the packager for free on its own, or use the version that ships within Flash Media Server 4.0 and up. The process is fairly simple and quick-much faster than encoding the source files to begin with! To run the packager in Windows, at the command line, “cd” into your Flash Media Server or Apache web server installation’s “tools\f4fpackager” folder. From here, easily run the packager by simply typing “f4″ (then Tab), and let the command window auto-complete your prompt to launch f4fpackager.exe.

Links

realeyes.com/blog/2011/07/27/http-dynamic-streaming-part-1-an-introduction
smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-IIS7
stackoverflow.com/questions/6609871/dynamic-http-streaming-f4fpackage-tool-lost-beginning-of-video
unified-streaming.com/support/documentation/mp4split-documentation

December 30, 2011

Capture Desktop With VLC

Install ImageMagick

Win64 dynamic
imagemagick.org
Add application directory to your system path

Conver cursor

convert c:/windows/cursors/aero_arrow.cur aero_arrow.png

Set cursor in VLC

Tools > Preferences > Show settings > All > Input/Codecs > Access modules > Screen > Mouse pointer image > d:/dropbox/pictures/aero_arrow.png

Capture

Media > Convert/Save > Capture Device > Capture mode > Desktop
Desired frame rate for the capture = 24
Destination file = d:/steven/desktop/output.mp4
Profile = Video - H.264 + AAC (MP4)

Links

thejeshgn.com/2008/06/24/how-to-capture-the-screen-using-vlc-for-screencasting
ubuntuforums.org/showthread.php?t=656385

December 26, 2011

Do Not Download From YIFY

Taxi Driver (1976)

Blu-ray, April 5 2011 Link
Torrent, December 18 2010 Link

November 27, 2011

Google App Engine

Run your web apps on Google's infrastructure
Easy to build, easy to maintain, easy to scale

Links

nata2.org/2010/08/17/jekyl-for-the-win
nata2.org/2011/01/26/how-to-use-app-engine-to-host-static-sites-for-free

Heroku

cloud application platform
deploy and scale powerful apps

Links

devcenter.heroku.com/articles/keys
fabianosoriani.wordpress.com/2011/06/02/leaving-google-appengine-for-rails-and-going-heroku
github.com/markpundsack/jekyll-heroku
rubyinside.com/deploy-blog-with-toto-and-heroku-2962.html

Windows 7 Control Panel

Action Center
  • Change Action Center settings
    • Windows Update = off
    • Network firewall = off
    • Virus protection = off
    • Windows Backup = off
       
  • Change User Account Control settings
    • Choose when to be notified about changes to your computer = Never notify

AutoPlay
  • Use AutoPlay for all media and devices = no

Display
  • Set custom text size (DPI)
    • Scale to this percentage of normal size = 125%

Ease of Access Center
  • Always read this section aloud = no 
  • Always scan this section = no 
  • Make the keyboard easier to use
    • Set up Filter Keys 
      • Turn on Filter Keys when right SHIFT is pressed for 8 seconds = no

Folder Options
  • View
    • Apply to Folders
    • Hide extensions for known file types = off
    • Hide protected operating system files = off

Indexing Options
D:
C:\Dropbox
C:\GitHub

Personalization
  • Change desktop icons
    • Computer
       
  • Desktop Background
    • Picture position = Fill
       
  • Screen Saver
    • 3 minutes

Power Options
  • Balanced
    • Change plan settings
      • Turn off the display = 30 minutes  
      • Put the computer to sleep = 3 hours

Programs and Features
  • Turn Windows features on or off
    • Media Features 
      • Windows DVD Maker = off
      • Windows Media Center = off

Region and Language
  • Short date = yyyy-MM-dd

System
  • Advanced system settings
    • Performance 
      • Settings
        • Show shadows under mouse pointer
        • Show thumbnails instead of icons
        • Smooth edges of screen fonts
        • Use drop shadows for icon labels on the desktop
        • Use visual styles on windows and buttons

    • Startup and Recovery
      • Settings
        • System failure
          • Automatically restart = no

Taskbar and Start Menu
  • Taskbar
    • Taskbar buttons = Combine when taskbar is full
       
  • Start Menu
    • Customize
      • Default Programs = off
      • Devices and Printers = off
      • Games = Don't display this item
      • Help = off
      • Open submenus when I pause on them with the mouse pointer = no 
      • Videos = Display as a link
      • Number of recent programs to display = 10
         
    • Privacy
      • Store and display recently opened items = off

Windows Firewall
  • Turn Windows Firewall on or off
    • Home network settings = Turn off
    • Public network settings = Turn off

Windows Update
  • Only do important updates
  • Change settings
    • Important updates = Never check for updates

M83, Midnight City

November 23, 2011

MP3 Diags

In a few words, MP3 Diags is a GUI-based application that allows end-users to identify issues with their MP3 files, fix some of the issues and make other changes, like adding track information. It also lets you "look inside" an MP3 file.
Unlike some programs that are designed to deal with a single topic (like fixing VBR headers or adding cover art), MP3 Diags is a one stop solution that identifies more than 50 different issues in MP3 files and provides the means to fix many of them

Links

mp3diags.sourceforge.net

November 18, 2011

Links Library

<?xml version="1.0" encoding="UTF-8"?>
<!-- Save this to %appdata%/microsoft/windows/libraries/Links.library-ms -->
<librarydescription xmlns="http://schemas.microsoft.com/windows/2009/library">
<iconreference>c:/dropbox/pictures/ico/7-link.ico</iconReference>
</libraryDescription>

Links

sevenforums.com/tutorials/196982-links-library-create.html
sevenforums.com/tutorials/3011-libraries-icons-change.html

November 17, 2011

RtmpDump, win64

Install MinGW
sf.net/projects/mingw/files/Automated MinGW Installer/mingw-get

It is important that you download mingw-get and not mingw-get-inst. mingw-get-inst installs x86 GCC

Build RtmpDump
:: for Windows
:: Install MSYS
mingw-get install msys-base
mingw-get install msys-wget
mingw-get install msys-unzip
mkdir c:/mingw64
sh mount c:/mingw64 /mingw64

:: Install GCC core
wget "sf.net/projects/tdm-gcc/files/TDM-GCC 4.6 series/4.6.1-tdm64-1/gcc-4.6.1-tdm64-1-core.tar.lzma"
tar xfC "gcc-4.6.1-tdm64-1-core.tar.lzma" /mingw64

:: Install GNU binutils
wget "sf.net/projects/tdm-gcc/files/GNU binutils/binutils-2.21.53-20110731-tdm64-1.tar.lzma"
tar xfC "binutils-2.21.53-20110731-tdm64-1.tar.lzma" /mingw64

:: Install mingw64 runtime
wget "sf.net/projects/tdm-gcc/files/MinGW-w64 runtime/GCC 4.6 series/mingw64-runtime-tdm64-gcc46-svn4483.tar.lzma"
tar xfC "mingw64-runtime-tdm64-gcc46-svn4483.tar.lzma" /mingw64

:: Install zlib
wget "sf.net/projects/mingw-w64/files/External binary packages (Win64 hosted)/Binaries (64-bit)/zlib-1.2.5-bin-x64.zip"
unzip "zlib-1.2.5-bin-x64.zip"
cd "zlib"
cp -r * /mingw64

:: Install PolarSSL
wget "polarssl.org/code/releases/polarssl-1.0.0-gpl.tgz"
tar xf "polarssl-1.0.0-gpl.tgz"
cd "polarssl-1.0.0"
make CC=gcc APPS=
make DESTDIR=/mingw64 install

:: Build RtmpDump
wget "repo.or.cz/w/rtmpdump.git/snapshot/60218d0.tar.gz"
tar xf "60218d0.tar.gz"
cd "rtmpdump"
make SHARED= SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static" VERSION="2.4-git-60218d0-20110930"

:: Optional, build librtmp.dll
make SYS=mingw CRYPTO=POLARSSL LIBZ="-lz -static"

Links

ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git
mcuee.blogspot.com/2010/08/mingw-win32-installation-to-build.html
old.nabble.com/Problems-with-nsis.make-td31498592.html
repo.or.cz/w/msysgit.git/blob/HEAD:/src/mingw-w64/patch/zlib-config.patch
sourceforge.net/apps/trac/mingw-w64/wiki/GeneralUsageInstructions

Custom Windows 7 Taskbar

Programs
UxStyle
HxD
Resource Hacker I use 64-bit

Change taskbar button font color
the default is white i wanted to change it to black
1. go to C:\Windows\Resources\Themes\Aero

2. make a copy of aero.msstyles, that way you can work with the copy

3. open aero.msstyles in hex editor

4. go to hex address 35840 and change the color from FF FF FF to color of your choice, i did black which is 00 00 00

Change taskbar date/time font color
1. go to hex address 39D78 and change the color from FF FF FF to color of your choice

2. save and close

Change taskbar color
the color of the taskbar is determined by a PNG file located inside of the aero.msstyles file. before you can edit the file you need to extract the file from aero.msstyles

1. open aero.msstyles in Resource Hacker

2. go to IMAGE\841\1033

3. Action > Save [IMAGE : 841 : 1033]

4. the file should only be 3 pixels height by 1 pixel wide, its only the bottom pixel that needs to be changed (i changed the color to silver C0C0C0)

5. after editing the picture right click on the original resource inside of resource hacker and choose "Replace Resource..."

6. Resource Type is "IMAGE", Resource Name is "841", you can leave Resource Language blank, then hit "Replace"

Apply the Custom Theme
1. rename C:\Windows\Resources\Themes\Aero\aero.msstyles to aero-old.msstyles

2. rename new file to aero.msstyles

3. log off and back on

4. right click on desktop and choose "Personalize"

5. choose "Windows 7 Basic" under "Basic and High Contrast Themes"

Links

sevenforums.com/customization/24620-change-taskbars-font-color.html
sevenforums.com/tutorials/4315-taskbar-customize-skin.html
windows7center.com/forums/useful-guides/1878-how-change-colour-windows-7-basic-2.html
winmatrix.com/forums/index.php?/topic/14250-tutorial-hex-editing-vista-visual-styles