Enter grub bootloader menu
Press and hold [Shift] during computer boot untill grub menu shows up.
Press and hold [Shift] during computer boot untill grub menu shows up.
$ sudo chroot /path/to/chroot/dir Example: $ sudo chroot /home/user/vm
1. Enable root login in sshfs. 2. Mount: $ sudo sshfs -o allow_other,default_permissions root@remote_host:/ /mount/dir
By default, sshfs ignores mount as root user on remote machine (sshfs internally uses SFTP, which in turn uses ssh config). Edit /etc/ssh/sshd_config file and edit the line: PermitRootLogin without-password…
1. Unlock root account: sudo passwd -u root 2. Set password for root account: sudo passwd root 3. Check that it works: su
1. Install vino: sudo apt-get install vino 2. Configure vino: vino-preferences 3. Add to start-up applications this command: /usr/lib/vino/vino-server
http://sahandsaba.com/nine-anti-patterns-every-programmer-should-be-aware-of-with-examples.html
http://www.slideshare.net/pirhilton/how-to-name-things-the-hardest-problem-in-programming
Suppose you have following XML file: <?xml version="1.0"?> <configuration> <parameter> <name>param1</name> <value>value1</value> </parameter> <parameter> <name>param2</name> <value>value2</value> </parameter> <parameter> <name>param3</name> <value>value3</value> </parameter> </configuration> And you need to get param2's value. In…
http://aosabook.org/en/index.html 3 books: The Architecture of Open Source Applications, Volume I The Architecture of Open Source Applications, Volume II The Performance of Open Source Applications
http://gcc.godbolt.org/ With assembly output.
B---C---D branch-1 / ---A \ E---F---G branch-2 $ git checkout branch-2 $ git rebase branch-1 B---C---D branch-1 / \ ---A E'--F'--G' branch-2