Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

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

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

November 27, 2011

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

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

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

November 11, 2011

attrib

:: for Windows
:: Recursively remove hidden and system attributes
:: on files and folders
cd "%localappdata%/microsoft/windows"

attrib -s -h /s /d

Links

nerdfortress.com/2009/12/18/recursively-remove-the-hidden-attribute-on-windows-files
ss64.com/nt/attrib.html

November 10, 2011

AtomicParsley

# Cross platform
# Print tags
atomicparsley video.mp4 --textdata

# Remove all metadata
atomicparsley video.mp4 --metaEnema --overWrite

# Set thumbnail
atomicparsley video.mp4 --artwork frame.png --overWrite

# Remove thumbnail
atomicparsley video.mp4 --artwork REMOVE_ALL --overWrite

Links

atomicparsley.sourceforge.net
bitbucket.org/jonhedgerows/atomicparsley

November 6, 2011

DVD Authoring

Encode video
ffmpeg -i short.mp4 -b 6000k -bufsize 1835008 -g 18 -maxrate 9000k -minrate 1500k -r 30000/1001 -vf scale=720:854/a,pad=720:480:0:(480-ih)/2 -acodec ac3 -ab 448k -f dvd NTSC.mpg

Author DVD
dvdauthor -o VTSBASE --title NTSC.mpg
dvdauthor -o VTSBASE --toc

Create ISO
mkisofs -dvd-video -o output.iso VTSBASE

Links

darkness.codefu.org/wordpress/2009/12/burning-avis-to-dvds-under-linux
forum.doom9.org/showthread.php?t=154588
git.videolan.org/?p=ffmpeg.git;a=blob;f=ffmpeg.c
imgburn.com
lamolabs.org/blog/4582/one-liner-how-to-burn-an-m4v-or-mp4-file-to-a-dvd-under-linux-fedora-centos-rhel-debian-ubuntu
linuxcommand.org/man_pages/mkisofs8.html
permalink.gmane.org/gmane.comp.video.ffmpeg.devel/120908
sourceforge.net/mailarchive/message.php?msg_id=27271447
sourceforge.net/projects/win32dvd

October 25, 2011

GNU Make

wget 'http://sourceforge.net/projects/mingw-w64/files/External binary packages (Win64 hosted)/make/make-3.82-20100827.zip'
unzip make-3.82-20100827.zip
cd make-3.82-20100827
cp bin_amd64/* /mingw64/bin

October 24, 2011

cURL for Windows

Use
curl -O http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65805/X15-65805.iso

Links

oss.m-click.ws/index.php?area=build_mapserver_win32&page=MsMingw
solutious.com/blog/2009/07/13/bash-twitter

cURL, Win64

Install UnZip
start ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
unz600xn -d unzip
cd unzip
move unzip.exe c:/dropbox/bin

Install
start http://curl.haxx.se/download/curl-7.22.0-win64-nossl.zip

UnZip, Win32

Install
start ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
unz600xn -d unzip
cd unzip
move unzip.exe c:/dropbox/bin

Notes:
You can download from SourceForge as well with wget.

References:
ftp.info-zip.org/pub/infozip/win32
info-zip.org/UnZip.html

October 18, 2011

UPX

UPX, the Ultimate Packer for eXecutables, is a free and open source executable packer supporting a number of file formats from different operating systems.

UCL has been designed to be simple enough that a decompressor can be implemented in just a few hundred bytes of code. UCL requires no additional memory to be allocated for decompression, a considerable advantage that means that a UPX packed executable usually requires no additional memory.

Website
upx.sourceforge.net

Process Dumper

Process Dumper is able to make a dump of a running process in a forensical manner.
Features

* dumps the whole process space (all data and code mappings)
* uses meta information to describe the different mappings (needed for advanced analysis)
* also saves the process environment and state
* outputs to stdout, so its possible to combine it with other tools (netcat etc.)
* doesn't touch the harddisk at all

Website
trapkit.de/research/forensic/pd

ProcDump

ProcDump is a command-line utility whose primary purpose is monitoring an application for CPU spikes and generating crash dumps during a spike that an administrator or developer can use to determine the cause of the spike. ProcDump also includes hung window monitoring (using the same definition of a window hang that Windows and Task Manager use), unhandled exception monitoring and can generate dumps based on the values of system performance counters. It also can serve as a general process dump utility that you can embed in other scripts.

Website
technet.microsoft.com/en-us/sysinternals/dd996900

October 15, 2011

RtmpExplorer

RtmpExplorer routes all rtmp traffic to RtmpSrv.

Advantages:
- No need to search for the host/server address
- No need to edit the HOST file

Website
stream-recorder.com/forum/guis-rtmpsrv-rtmpdump-rtmp-explorer-t8909p2.html

Install .NET Framework Client Profile
microsoft.com/download/en/details.aspx?id=24872

Install Adobe Flash Player
get.adobe.com/flashplayer/otherversions

October 9, 2011

MySQL

MySQL Community Server
mysql.com

Get 64-bit MSI

2. Install
Setup Type = Custom
choose only MySQL Server > Client Programs
Launch the MySQL Instance Configuration Wizard = Yes

MySQL Server Instance Configuration
Standard Configuration
Install As Windows Service = Yes
Launch the MySQL Server automatically = No
Include Bin Directory in Windows PATH = No
Modify Security Settings = No

3. Install HeidiSQL
heidisql.com

4. Create new session MySQL
User = root
Compressed client/server protocol = no

5. Export CSV
First row contains column names = no
Fields separated by = Pipe
Fields enclosed by = None

6. Import CSV
Ignore first lines = 0
Fields terminated by = (Pipe)
Fields enclosed by = (nothing)
optionally = no
Fields escaped by = (nothing)
Lines terminated by = \n

References:
builderau.com.au/program/php/soa/Install-configure-and-integrate-PHP-and-MySQL-on-Windows/0,339028448,339271632-2,00.htm