Fork me on GitHub
Nation Pigeon

Making an ISO from CD/DVD on Linux

21st July 12 | Linux

To create an ISO file from a physical DVD/CD/Floppy/USB/Anything. Use the command ‘dd‘ this creates a bit for bit copy of the original file/partition/device. dd takes two parameters these are if – input file and of – output file. In this case the input file will be the CD and the output file will be [...]

[ Read More → ]

Restore GRUB after Windows install

18th July 12 | Linux, Windows

Boot up into a Live Linux Image. Mount your old Linux Install, and use chroot to take control of it. mount /dev/sdc1 /mnt chroot /mnt You will get grub-probe: error: cannot find a device for / (is /dev mounted?). if you don’t mount you devices, before attempting to install GRUB. So mount all devices. mount [...]

[ Read More → ]

Creating Windows 7 bootable USB from Linux

17th July 12 | Linux, Windows

Using GParted, or another tool, format the USB to NTFS and make the partition bootable. As root, mount your Windows ISO. mount /home/osaka/en_windows_7.iso /mnt -o loop Then copy the contents to the USB. cp -rv /mnt/* /media/USB sync # Flush file system buffers Install the Windows boot loader to the USB. ms-sys -7 /dev/sdX You [...]

[ Read More → ]

Git password caching

25th June 12 | Programming

git config –global credential.helper cache git config –global credential.helper ‘cache –timeout=3600′ The first command enables the password caching, the second sets the timeout to 1hr. Note this won’t work with ssh, but you will have already setup SSH Keys, right?

[ Read More → ]

Find your Twitter ID

25th June 12 | Programming

To locate your twitter ID, you can get all inforamtion about your account from this link. Make sure you replace screen name with your twitter username. https://api.twitter.com/1/users/show.xml?screen_name=<username> https://api.twitter.com/1/users/show.xml?screen_name=pgmaynard Now that you have your twitter ID, you can do cool things such as get your twitter timeline as an RSS feed. https://twitter.com/statuses/user_timeline/14077578.rss

[ Read More → ]

Android SDK on Linux 64bit

25th June 12 | Programming

Dispite there being only a 32bit version of the android SDK, you can still work with it on your 64bit machine, make sure you have the following packages installed: Debian, Ubuntu, etc apt-get install ia32-libs apt-get install sun-java6-jdk Fedora, CentOS, etc yum install glibc.i686 zlib.i686 libstdc++.i686 Download the 32bit SDK wget http://dl.google.com/android/android-sdk_r18-linux.tgz (If link is [...]

[ Read More → ]

SSH and tsocks

25th June 12 | Linux

Install tsocks on your client machine. Tsocks is a application which replaces all connect() calls with it’s own, which means you can run any application though the server/proxy even if it dosent have support for proxy/SOCKS. apt-get install tsocks Update /etc/tsocks.conf

[ Read More → ]

Playing with Unetbootin

25th June 12 | Programming

I was using netbootin like I always do, got annoyed about the fact that I couldn’t find my iso image in the mess of files which is called my home directory. That’s when I thought I could implement a filter… Objective To add a filter to the image selection screen. Action 1. First I searched [...]

[ Read More → ]

Debian Bash Auto Completion

20th June 12 | Linux

Install the bash auto completion package. sudo apt-get install bash-completion Uncomment the following in /etc/bash.bashrc to enable to auto completion. You will need to open a new terminal after doing this. sudo vi /etc/bash.bashrc # enable bash completion in interactive shells if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi [...]

[ Read More → ]

Program of the week xwininfo – window information utility for X

17th June 12 | Linux

Run it via the command line and click on a window you’d like more information about, and view the output. For more inforamtion see ‘man xwininfo’ Example output: osaka@OsakaPad ~ $ xwininfo xwininfo: Please select the window about which you would like information by clicking the mouse in that window. xwininfo: Window id: 0x201484c “Terminal” [...]

[ Read More → ]

← Go Forward In TimeGo Back in Time →

Copyright © 2007 ∞ Nation Pigeon - Designed by Peter Mayanrd
Theme Based on Black-Green - Fork it on GitHub