Archive for November, 2011

Windows 8 Beta ISO Download

By technese - Last updated: Sunday, November 27, 2011

Windows Developer Preview with developer tools English, 64-bit (x64) DOWNLOAD (4.8 GB) Sha 1 hash – 6FE9352FB59F6D0789AF35D1001BD4E4E81E42AF All of the following come on a disk image file (.iso). See below for installation instructions. 64-bit Windows Developer Preview Windows SDK for Metro style apps Microsoft Visual Studio 11 Express for Windows Developer Preview Microsoft Expression Blend […]

LinuxCommand.org: Learn the Linux command line. Write shell scripts.

By technese - Last updated: Sunday, November 27, 2011

http://linuxcommand.org/index.php

Okean Sino-Korea and DShield Top 20 Blocklist for Rocky Arno’s IPtables blockhosts file

By technese - Last updated: Saturday, November 26, 2011

#!/bin/sh # script created from technese.com # Download Okean Sino-Korea Block IP list rm -f /tmp/cnkr_htaccess.txt rm -f /tmp/top10-2.txt wget http://www.okean.com/antispam/cnkr_htaccess.txt -P /tmp file=/tmp/cnkr_htaccess.txt file2=/tmp/top10-2.txt tempfile=/etc/arno-iptables-firewall/blocked-hosts # Remove first and last lines, and “deny from ” text echo ‘#Okean Sino-Korea Block IP list:’ `date`” > $tempfile sed -e ‘1d’ -e ‘s/deny from //’ -e ‘$d’ […]

Bash script to create a .m3u from a directory

By technese - Last updated: Friday, November 25, 2011

#!/bin/bash dir=`echo ${PWD##*/}` echo “Create a .m3u playlist for $dir …” ls *.mp3 -1 >> “$dir.m3u” ls *.mp4 -1 >> “$dir.m3u” ls *.m4v -1 >> “$dir.m3u” echo “Found these media files:” cat “$dir.m3u”

iPhone, iPod, iPad and Firmware Download Links

By technese - Last updated: Friday, November 25, 2011

http://www.felixbruns.de/iPod/firmware http://www.iclarified.com/entry/index.php?enid=750

Basename or extract of current working directory – Linux command output

By technese - Last updated: Thursday, November 24, 2011

Four examples: $ basename `pwd` $ pwd | awk -F/ ‘{print $NF}’ $ pwd | sed ‘s#.*/##’ $ echo “${PWD##*/}” Reference: http://stackoverflow.com/questions/1744595/extract-the-last-directory-of-a-pwd-output http://tldp.org/LDP/abs/html/parameter-substitution.html

html index page of tree view of directory

By technese - Last updated: Sunday, November 20, 2011

-H : turn on html baseHREF : gives the base ftp location when using HTML output. -o : output filename $ tree -H baseHREF -o index.htm create index.htm of current directory and output filename as index.htm $ tree -H . -o index.htm

wget download specific filetype from URL

By technese - Last updated: Sunday, November 20, 2011

-U , user-agent-r , recursive-l1 -one level-A , filetype $ wget -U Firefox -r -l1 -nd -e robots=off -A filetype http://domain.index.html e.g. $ wget -U Firefox -r -l1 -nd -e robots=off -A .txt http://technese.com/index.html multiple filetypes $ wget -U Firefox -r -l1 -nd -e robots=off -A filetype1,filetype2 http://domain.index.html] e.g. $ wget -U Firefox -r -l1 […]

SQL Coding Guidelines

By technese - Last updated: Sunday, November 20, 2011

http://www.unifiedasp.net/index.php/sql-coding-guidelines

SQL Server 2012 RC0 Download Link

By technese - Last updated: Thursday, November 17, 2011

http://download.microsoft.com/download/5/E/0/5E0F07D5-33E8-4B83-A3DA-10992D669AB6/ENU/SQLFULL_ENU.iso