temporary notepad


https://ciy-totem.com/final-result/tkPHwT3rET/A3a3AV5pGD?loading=false

3DS FBI 2.1 disscussion (network install):
https://www.reddit.com/r/3dshacks/comments/4g50l8/fbi_210_released/d2erejp/

ARM(v7, while ARM9 is ARMv5TE) to hex converter
http://armconverter.com/
http://shell-storm.org/online/Online-Assembler-and-Disassembler/

https://api.whatsapp.com/send?phone=85259882674

whatsapp direct chat
https://faq.whatsapp.com/zh_tw/android/26000030/?category=5245251

唔好再做sit up 減肚腩啦!唔work架! - BLOG
http://wow.esdlife.com/space.php?uid=29096&do=blog&id=159242

XP LanMan connection count patch:
http://oldengremlin.blogspot.com/2011/04/windows-xp.html

ffmpeg download m3u8 (from http://stackoverflow.com/a/32537953) :
ffmpeg -i http://.../playlist.m3u8 -c copy -bsf:a aac_adtstoasc output.mp4

ffmpeg concat:
ffmpeg -f concat -i list.txt -c copy output
list.txt:
file 'a'
file 'bb'

Adobe Acrobat 9.0 to 9.5: (get T3T4 for CHT version)
https://forums.adobe.com/thread/2188082#9469564

'net usershare' returned error 255: net usershare add: cannot share path /var/www as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = False"
to the [global] section of the smb.conf to allow this.

Could not change the permissions of folder "www"

http://linuxwind.javaeye.com/blog/319315

ss(r)-libev compile:
CFLAGS='-march=i686 -O2' ./configure --with-mbedtls=/root/mbedtls-2.5.1 --with-mbedtls-lib=/root/mbedtls-2.5.1/library --disable-documentation --with-crypto-library=mbedtls && make -j4

OpenWRT update repos:
cd /var/opt/openwrt/
git pull
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
make -j2 target/linux/clean package/mac80211/clean world V=s

Android:
Open App Details: am start -a android.settings.APPLICATION_DETAILS_SETTINGS -d package:<package-name>
Disable App: pm disable <package-name>
Run App: am start -n com.growingwiththeweb.example/.MainActivity
 am start -n jp.co.sharp.android.downloadfont/.DLFontManager.DLFontManagerActivity
 monkey -p se.anyro.nfc_reader -c android.intent.category.LAUNCHER 1
List Apps: pm list packages|sort
App Info: am start -a android.settings.APPLICATION_DETAILS_SETTINGS -d package:se.anyro.nfc_reader

hot backup:
tar cvzpf /mnt/incoming/fullbackup.tgz --same-owner --exclude=/proc/* --exclude=/media/* --exclude=/dev/* --exclude=/mnt/* --exclude=/sys/* --exclude=/tmp/* /

change permissions:
chmod -R 666 *
find -L -type d -name '*' ! -name '.*'|xargs chmod 777

Drop forward packet for specified host:
iptables -I FORWARD -s 1.93.18.129 -j DROP

iptables -I INPUT -s 1.2.3.4 -j DROP

rebuild lighttpd rpm:
~/src/rpm/SPECS# rpmbuild -ba lighttpd.spec --without lua --with gamin
~/src/rpm/RPMS/i386# cp lighttpd-1.4.30-1.i386.rpm lighttpd-mod_mysql_vhost-1.4.30-1.i386.rpm lighttpd-fastcgi-1.4.30-1.i386.rpm /home/roy/www/rpms/
# rpm -Uvh lighttpd-1.4.30-1.i386.rpm lighttpd-mod_mysql_vhost-1.4.30-1.i386.rpm lighttpd-fastcgi-1.4.30-1.i386.rpm
# service lighttpd restart

rebuild debian packages:
- get <xxx>.dsc, <xxx>.orig.tar.gz, <xxx>.debian.tar.gz
- dpkg-source -x <xxx>.dsc
- cd <xxx>/
- dpkg-buildpackage -rfakeroot -nc -d # -nc -d switch is needed if local source is modified

http://ja.528p.com/linux/centos/ZE001-openssl.html

Predefined gcc #defines
# echo | gcc -dM -E -x c - | sort

Perl as sed:
perl -ne 's/\r\n/<br>/g; print' < .ht_nglog > .ht_nglog2

Move old log files to subfolder:
mkdir _postlogs; chmod 777 _postlogs; find . -type f -mtime +14 -name "postlog*" -exec mv {} _postlogs/ \;

Split image into tiles with ImageMagick:
convert gn12font.png -crop 12x12 -set filename:tile "%[fx:page.y/12+1]_%[fx:page.x/12+1]" +repage +adjoin "gn12/gn12_%[filename:tile].xbm"

Vista printing issue fix (try either one, or both):
- Reinstall the printer driver by using a local port
- Disable IPv6

http://support.microsoft.com/kb/280821

Setup IPv6 in XP:
netsh int ipv6 install
netsh int ipv6 set address interface="區域連線" address=2621:0:1cfe:face:b00c::3
netsh int ipv6 add route interface="區域連線" prefix=2621:0:1cfe:face:b00c::3/64
netsh interface ipv6 add route ::/0 interface="區域連線" 2621:0:1cfe:face:b00c::1

wget - recursively download all files from certain directory listed by apache

Case: recursively download all the files that are in the `ddd' folder for the url `http://hostname/aaa/bbb/ccc/ddd/'

Solution:
wget -r -np -nH --cut-dirs=3 -R index.html http://hostname/aaa/bbb/ccc/ddd/

Explanation:
It will download all files and subfolders in ddd directory:
recursively (-r),
not going to upper directories, like ccc/... (-np),
not saving files to hostname folder (-nH),
but to ddd by omitting first 3 folders aaa, bbb, ccc (--cut-dirs=3),
excluding index.html files (-R index.html)

ksh emacs keys:
alias __A=`echo "\020"` # up arrow = ^p = back a command
alias __B=`echo "\016"` # down arrow = ^n = down a command
alias __C=`echo "\006"` # right arrow = ^f = forward a character
alias __D=`echo "\002"` # left arrow = ^b = back a character
alias __H=`echo "\001"` # home = ^a = start of line

Type "set -o emacs" or put this line in your .profile.

pdksh tab complete:
bind ^i=complete
bind ^i=complete-list

--
-fauto-inc-dec -fcompare-elim -fcprop-registers -fdce -fdefer-pop -fdelayed-branch -fdse -fguess-branch-probability -fif-conversion2 -fif-conversion -fipa-pure-const -fipa-profile -fipa-reference -fmerge-constants -fsplit-wide-types -ftree-bit-ccp -ftree-builtin-call-dce -ftree-ccp -ftree-ch -ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-forwprop -ftree-fre -ftree-phiprop -ftree-slsr -ftree-sra -ftree-pta -ftree-ter -funit-at-a-time -fthread-jumps -fcaller-saves -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdelete-null-pointer-checks -fdevirtualize -fexpensive-optimizations -fgcse -fgcse-lm -fhoist-adjacent-loads -finline-small-functions -findirect-inlining -fipa-sra -foptimize-sibling-calls -fpartial-inlining -fpeephole2 -fregmove -freorder-functions -frerun-cse-after-loop -fsched-interblock -fsched-spec -fschedule-insns -fschedule-insns2 -fstrict-aliasing -fstrict-overflow -ftree-switch-conversion -ftree-tail-merge -ftree-pre -ftree-vrp
--
Following is the procedure for insuring that Excel opens your csv file without changing your data

Note: this procedure is for Windows XP and Excel 2003. The process may vary slightly with other software.

1. Navigate to the csv file on your server. In Firefox right click anywhere on the page and choose "Save Page As".

2. To force Excel to let us specify the format, manually change the file extension from "csv" to "txt" in the Save As window. Then save the .txt file to your hard drive.

3. Now go to Excel, then open the .txt file from within Excel. (You will probably need to change "Files of type" manually to All Files in order to see the .txt file in Excel's open dialogue.) The .txt extension on the csv file forces Excel to initiate its Text Import Wizard.

4. In the Text Import Wizard Step 1 of 3 specify "Original data type" as "Delimited" and make sure that "Start import at row:" is "1" and "File origin:" is "437 : OEM United States" are selected.

5. In the Text Import Wizard Step 2, ensure only "Comma" is checked under "Delimiters".

6. In Step 3, in the "Data preview" make sure the first column is highlighted. Then scroll to the last column on the right and while holding down shift, click the column with your mouse pointer. All columns will then be highlighted. Under "Column data format" select "Text". Then click "Finish".

7. Now the file will open in Excel with the data exactly as entered by the form user.

--

QNX 6.2 - 6.5 vmware driver issue
http://www.openqnx.com/phpbbforum/viewtopic.php?t=12042

--

Win7 related:

netlogon:
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/0a7943b4-db41-443b-8ca5-9eea1db6b27a/

different versions domain controller:
http://serverfault.com/questions/247443/can-different-versions-of-windows-server-domain-controllers-co-exist-peacefully

--

VC2008 Express:
Your registration key is: SRXTXXTC4CGFJH

To complete registration of your software:
Step 1. Copy the 14-character registration key from above.
Step 2. From the Help menu of Visual C++ 2008 Express Edition, select "Register Product...."
Step 3. Paste the registration key into the Product Registration dialog box and click the 'Complete Registration' button.

Click Continue to go to the Visual C++ 2008 Express Edition website.

--

APK downloader online
http://apps.evozi.com/apk-downloader/

--

eClass mig.
/home/eclass/intranetIP/includes/global.php $irc_MAC = "<new-upper-case-mac-address>"
/home/eclass/eclass40/eclass40/system/settings/global.php $irc_MAC = "<new-upper-case-mac-address>"

firefox pre-rust changelogs
from https://hg.mozilla.org/mozilla-central/shortlog/eb1677e32680
to https://hg.mozilla.org/mozilla-central/shortlog/a799ece5b8ad