A Blog about technology, linux, peer2peer, cool new downloads and software development.

Tuesday, August 5, 2014

ubuntu urxvt / rxvt example

cat 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 &

Thursday, July 10, 2014

howto: urxvt with ubuntu font

urxvt -fn "xft:Ubuntu Mono:pixelsize=14,style=regular" http://askubuntu.com/questions/22419/how-do-i-make-urxvt-render-xft-fonts

Thursday, August 4, 2011

Monday, July 18, 2011

how to install nxserver on ubuntu

download from http://www.nomachine.com/download.php
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

Saturday, July 2, 2011

How to install gogoc on mac osx

Running gogo6 Client on Mac OS X


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

2. Install MacPorts if not installed yet, get from www.apple.com/downloads/macosx/unix_open_source/macports.html

3. Open a shell and enter the following commands :

$ sudo port install vpnc

$ sudo port load tuntaposx

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

5. Go to the temporary directory in step 4 and decompress the file using this command :

$ tar -xvf gogoc-1_2-RELEASE.tar.gz

6. After decompressing go to the gogoc-tsp directory

7. Generate the gogoc executable by entering the following commands:

$ make all

$ make installdir=/usr/local/gogoc install

Note that superuser privileges may be needed above

8. To modify the username/password or enable routing advertisments modify the gogoc.conf file in the /usr/local/gogoc/bin directory

9. Change dir to /usr/local/gogoc/bin

10. Enter the following to run :

$ sudo ./gogoc to execute

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

12. To stop gogoc run this command :

$ killall gogoc

Friday, June 24, 2011

how to burn DMG files on windows

use one of the following utils to create a botable disk :
http://www.poweriso.com/
http://www.acutesystems.com/scrtm.htm
http://www.ezbsystems.com/ultraiso/

Saturday, April 30, 2011

how to fix ubuntu computer not visible to samba

repair :
sudo /etc/init.d/winbind restart

check :
findsmb
smbtree

Monday, April 4, 2011

how to set a fat (vfat) disk on key label in ubuntu linux

reference : https://help.ubuntu.com/community/RenameUSBDrive

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  -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  ::

how to fix profile in use lock in firefox

http://kb.mozillazine.org/Profile_in_use

Tuesday, March 29, 2011

Wednesday, March 16, 2011

How to merge two avi files in ubintu linux

avimerge 
avimerge -o OUTPUT.avi -i fileavi fileavi fileavi

Friday, February 25, 2011

Install FreeNX server on ubuntu

sudo apt-get install python-software-properties && sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server

Wednesday, November 17, 2010

Wednesday, November 10, 2010

nmap how-to

nmap -sP --send-ip 192.160.0.0/24

Sunday, October 24, 2010

how to save rtmp stream flv

download rtmpdump :
http://rtmpdump.mplayerhq.hu/
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 :
http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm
http://stream-recorder.com/forum/do-you-use-rtmp-dump-rtmpdump-tutorials-t3926.html?s=0a7d48322bdecbb92e524308eb85f581&

Sunday, September 12, 2010

Friday, August 27, 2010

How to fix - Firefox 4.0 Beta : browser.tabs.tabMinWidth doesn't work

find the firefox profile :

find . -name userChrome*

./Library/Application Support/Firefox/Profiles/mahk6fwf.#02/chrome/userChrome-example.css

cd "./Library/Application Support/Firefox/Profiles/mahk6fwf.#02/chrome/"
cp userChrome-example.css userChrome.css
vim userChrome.css

(Append to the end of the file :)

.tabbrowser-tab[fadein]:not([pinned]) {
    min-width: 18px !important;
  }

:wq

restart firefox

reference :
http://www.lawlzoids.com/proxy/?__new_url=aHR0cHM6Ly9idWd6aWxsYS5tb3ppbGxhLm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTc3NDk3

http://support.mozilla.com/bn-BD/questions/745380

Friday, July 16, 2010

mount nfs on mac osx

mkdir /private/nfs
sudo mount_nfs -P 192.168.0.5:/media /private/mnt

reference :
http://oreilly.com/pub/h/341

Tuesday, June 15, 2010

how to see itunes purchase history

browsing to the following link will open itunes with the purchase history screen :
itms://phobos.apple.com/purchaseHistory

Sunday, June 13, 2010

show all the nfs exports on a nfs server

showmount -e 192.168.0.100
Export list for 192.168.0.100: