tag:blogger.com,1999:blog-80096559448637088692024-01-14T04:39:14.554-08:00hack 2 liveUnknownnoreply@blogger.comBlogger260125tag:blogger.com,1999:blog-8009655944863708869.post-54379362383896647382014-08-05T05:18:00.001-07:002014-08-05T05:18:39.047-07:00ubuntu urxvt / rxvt examplecat urxvt_green.sh
#export TERM=rxvt
urxvt -fg green -bg black -geometry 128x50 -fn "8x13" -j -si -sw -sr -bc &
cat urxvt_yellow.sh
urxvt -fg yellow -bg black -geometry 128x50 -fn "8x13" -j -si -sw -sr -bc &
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8009655944863708869.post-66658853832584198332014-07-10T07:12:00.002-07:002014-07-10T07:15:48.091-07:00howto: urxvt with ubuntu fonturxvt -fn "xft:Ubuntu Mono:pixelsize=14,style=regular"
http://askubuntu.com/questions/22419/how-do-i-make-urxvt-render-xft-fonts
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-74287512441582316622011-08-04T15:26:00.000-07:002011-08-04T15:26:52.758-07:00fix : brew error: The following untracked working tree files would be overwritten by checkout:<pre>/usr/local/
sudo git checkout -f
sudo brew update
sudo brew upgrade
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-68287680741413123672011-07-18T10:27:00.000-07:002011-07-18T10:27:09.782-07:00how to install nxserver on ubuntu<pre>download from <a href="http://www.nomachine.com/download.php">http://www.nomachine.com/download.php</a>
sudo apt-get install libaudiofile0
sudo dpkg -i nxclient_3.4.0-7_i386.deb
sudo dpkg -i nxnode_3.4.0-14_i386.deb
sudo dpkg -i nxserver_3.4.0-14_i386.deb
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-43684434390771007342011-07-02T04:32:00.000-07:002011-07-02T04:32:04.411-07:00How to install gogoc on mac osxRunning gogo6 Client on Mac OS X<br />
<br />
<br />
1. Install Apple XCode if not installed yet, this comes with Snow Leopard installation DVD. For help see http://www.mactricksandtips.com/2010/02/installing-xcode.html <br />
<br />
2. Install MacPorts if not installed yet, get from www.apple.com/downloads/macosx/unix_open_source/macports.html <br />
<br />
3. Open a shell and enter the following commands :<br />
<br />
$ sudo port install vpnc<br />
<br />
$ sudo port load tuntaposx<br />
<br />
4. Retrieve the source archive from the Freenet6 download area for gogoCLIENT 1.2 Source Code (Linux/Unix/MacOS/BSD), at http://gogonet.gogo6.com/profile/gogoCLIENT , place it in a temporary directory, preferably /tmp because directory with spaces will fail<br />
<br />
5. Go to the temporary directory in step 4 and decompress the file using this command :<br />
<br />
$ tar -xvf gogoc-1_2-RELEASE.tar.gz<br />
<br />
6. After decompressing go to the gogoc-tsp directory<br />
<br />
7. Generate the gogoc executable by entering the following commands:<br />
<br />
$ make all<br />
<br />
$ make installdir=/usr/local/gogoc install<br />
<br />
Note that superuser privileges may be needed above<br />
<br />
8. To modify the username/password or enable routing advertisments modify the gogoc.conf file in the /usr/local/gogoc/bin directory<br />
<br />
9. Change dir to /usr/local/gogoc/bin <br />
<br />
10. Enter the following to run :<br />
<br />
$ sudo ./gogoc to execute<br />
<br />
11. Check out http://ipv6.google.com and http://www.v6.facebook.com which will only work if you have a working IPv6 Public address. Also test the connection at www.test-ipv6.com <br />
<br />
12. To stop gogoc run this command :<br />
<br />
$ killall gogocUnknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-79811034924465069082011-06-24T09:08:00.000-07:002011-06-24T09:08:11.198-07:00how to burn DMG files on windowsuse one of the following utils to create a botable disk :<br />
http://www.poweriso.com/<br />
http://www.acutesystems.com/scrtm.htm<br />
http://www.ezbsystems.com/ultraiso/Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-63450246330822973752011-04-30T06:23:00.000-07:002011-05-08T17:42:19.253-07:00how to fix ubuntu computer not visible to samba<pre>repair :
sudo /etc/init.d/winbind restart
check :
findsmb
smbtree
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-45645382900115926402011-04-04T10:28:00.000-07:002011-04-04T10:28:28.634-07:00how to set a fat (vfat) disk on key label in ubuntu linux<pre>reference : <a href="https://help.ubuntu.com/community/RenameUSBDrive">https://help.ubuntu.com/community/RenameUSBDrive</a>
FAT16 and FAT32
These filesystems are most often found on USB thumb drives, flash cards (like for a camera or cell phone), and older external USB hard drives.
Check the current label
sudo mlabel -i <device> -s ::
ex:
sudo mlabel -i /dev/sdb1 -s ::
Note that we're using the special "::" drive which allows us to specify the device descriptor on the command line; otherwise we'd have to edit ~/.mtoolsrc to assign a drive letter (see Option 2 under "Change the label").
Change the label
Option 1
After unmounting and checking the current label (above), use
sudo mlabel -i <device> ::<label>
ex:
sudo mlabel -i /dev/sdb1 ::my_external
Ignore the "Volume label is XYZ" output as this is the old label. Jump to the Verify the Change section below.
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-24263651730751318602011-04-04T05:12:00.001-07:002011-04-04T06:22:07.649-07:00how to fix profile in use lock in firefox<pre><a href="http://kb.mozillazine.org/Profile_in_use">http://kb.mozillazine.org/Profile_in_use</a>
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-15214739229545810112011-03-29T11:35:00.000-07:002011-03-29T11:35:59.091-07:00how to mount fat with executable umask in ubintu linux<pre>mount -o fmask=000 /dev/sdb1 /mnt
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-88399591772284829952011-03-16T16:19:00.001-07:002011-03-16T16:19:39.996-07:00How to merge two avi files in ubintu linux<pre>avimerge
avimerge -o OUTPUT.avi -i fileavi fileavi fileavi
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-79820148241126443222011-02-25T07:21:00.000-08:002011-02-25T07:21:11.285-08:00Install FreeNX server on ubuntu<pre>sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-91851215839527660502010-11-17T07:59:00.001-08:002010-11-17T07:59:57.953-08:00Fix Alt+Print Screen not working on Ubuntu 10.10)<pre>sysctl -w kernel.sysrq=0
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-16732435666193252892010-11-10T07:44:00.001-08:002010-11-10T07:44:48.984-08:00nmap how-to<pre>nmap -sP --send-ip 192.160.0.0/24
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-55176260446765064422010-10-24T23:38:00.000-07:002010-10-24T23:38:24.557-07:00how to save rtmp stream flv<pre>download rtmpdump :
<a href="http://rtmpdump.mplayerhq.hu/">http://rtmpdump.mplayerhq.hu/</a>
sudo apt-get install rtmpdump
sudo port install rtmpdump
rtmpdump -r "rtmp://stream.myonlinewebinar.com/cfx/st/lbxxx/newxxx.flv" -o 01.flv
if stuck :
rtmpdump -r "rtmp://stream.myonlinewebinar.com/cfx/st/lbxxx/newxxx.flv" -o 01.flv --stop 3600
continue :
rtmpdump -r "rtmp://stream.myonlinewebinar.com/cfx/st/lbxxx/newxxx.flv" -o 02.flv
--start 3600 --stop 7200
reference :
<a href="http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm">http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm</a>
<a href="http://stream-recorder.com/forum/do-you-use-rtmp-dump-rtmpdump-tutorials-t3926.html?s=0a7d48322bdecbb92e524308eb85f581&">http://stream-recorder.com/forum/do-you-use-rtmp-dump-rtmpdump-tutorials-t3926.html?s=0a7d48322bdecbb92e524308eb85f581&</a>
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-87500080967442978702010-09-12T15:51:00.001-07:002010-09-21T12:34:06.699-07:00how to flush the dns cache on mac osx snow leopard<pre>dscacheutil -flushcache
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-58055387755356376512010-08-27T12:07:00.000-07:002010-08-27T12:08:24.828-07:00How to fix - Firefox 4.0 Beta : browser.tabs.tabMinWidth doesn't work<pre>find the firefox profile :
<i>find . -name userChrome*</i>
./Library/Application Support/Firefox/Profiles/mahk6fwf.#02/chrome/userChrome-example.css
<i>cd "./Library/Application Support/Firefox/Profiles/mahk6fwf.#02/chrome/"
cp userChrome-example.css userChrome.css
vim userChrome.css
</i>
(Append to the end of the file :)
<i>.tabbrowser-tab[fadein]:not([pinned]) {
min-width: 18px !important;
}
</i>
:wq
restart firefox
reference :
<a href="http://www.lawlzoids.com/proxy/?__new_url=aHR0cHM6Ly9idWd6aWxsYS5tb3ppbGxhLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTc3NDk3">http://www.lawlzoids.com/proxy/?__new_url=aHR0cHM6Ly9idWd6aWxsYS5tb3ppbGxhLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTc3NDk3
</a>
<a href="http://support.mozilla.com/bn-BD/questions/745380">http://support.mozilla.com/bn-BD/questions/745380</a>
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-81380080541420404552010-07-16T10:47:00.000-07:002010-07-16T10:48:06.501-07:00mount nfs on mac osx<pre>mkdir /private/nfs
sudo mount_nfs -P 192.168.0.5:/media /private/mnt
reference :
<a href="http://oreilly.com/pub/h/341">http://oreilly.com/pub/h/341</a>
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-6730486803126962662010-06-15T14:06:00.000-07:002010-06-15T14:06:50.903-07:00how to see itunes purchase history<pre>browsing to the following link will open itunes with the purchase history screen :
itms://phobos.apple.com/purchaseHistory
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-4780302192432831302010-06-13T08:17:00.000-07:002010-06-13T08:17:31.767-07:00show all the nfs exports on a nfs server<pre>showmount -e 192.168.0.100
Export list for 192.168.0.100:
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-57432569827551846562010-05-16T12:57:00.000-07:002010-05-16T12:57:38.355-07:00how to compile php 5.2 on centos 4<pre>- references :
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://mypetprogrammer.wordpress.com/2007/10/06/upgrading-php-from-439-to-52-on-cent-os4/
http://www.jasonlitka.com/2006/11/30/upgrading-php-520-rhel-centos/
http://www.jasonlitka.com/media/SRPMS/
rpm -i http://www.jasonlitka.com/media/SRPMS/pcre-7.8-1.jason.1.src.rpm
wget http://www.jasonlitka.com/media/SRPMS/php-5.2.11-jason.1.src.rpm
wget http://www.jasonlitka.com/media/SRPMS/php-pear-1.7.2-2.jason.1.src.rpm
rpm -i php-pear-1.7.2-2.jason.1.src.rpm
rpm -i http://www.jasonlitka.com/media/SRPMS/pcre-7.8-1.jason.1.src.rpm
cd /usr/src/redhat/SPECS/
rpmbuild -bb pcre.spec
rpm -Uvh ../RPMS/i386/pcre-7.8-1.jason.1.i386.rpm
mv -v ../RPMS/i386/* /tmp
rpmbuild -bb php.spec
rpm -Uvh --nodeps ../RPMS/i386/*.rpm
mv -v ../RPMS/i386/* /tmp
rpmbuild -bb php-pear.spec
rpm -Uvh --nodeps ../RPMS/noarch/*.rpm
mv -v ../RPMS/noarch/* /tmp
ldconfig -v
php -v
/etc/init.d/httpd restart
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-10822720114688756962010-05-16T12:29:00.000-07:002010-05-16T12:29:07.233-07:00how to permanently configure the system LD_LIBRARY_PATH<pre>example :
vim /etc/ld.so.conf
[add the line to the end of the file]
/usr/local/lib
:w
ldconfig -v
check
ldconfig -p
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-90336028948453057122010-05-06T15:17:00.000-07:002010-05-06T15:17:13.030-07:00how to disable bell on linux<pre>http://www.commandlinefu.com/commands/view/5486/system-beep-off
setterm -blength 0
or
setterm -bfreq 0
or
sudo rmmod pcspkr
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-35603588914975750222010-05-04T00:14:00.000-07:002010-05-04T00:14:15.763-07:00how to burn mp3 audio disks with k3b on ubuntu linux<pre>sudo apt-get install libk3b6-extracodecs
</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8009655944863708869.post-52614313617982240882010-05-03T04:59:00.001-07:002010-05-03T04:59:14.620-07:00how to solve slow compiz on ubuntu linuxcompiz --replace --indirect-renderingUnknownnoreply@blogger.com0