Migrating to github.io

Finally decided to migrate this blog to http://paragasu.github.io



Disable ipv6 in debian

edit /etc/sysctl.conf and add config

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

#sysctl -p

Debian IPv6


Docker error System error in /sys/fs/cgroup/cpu,cpuactt in debian



Basic tmux command

  • Ctrl+b " – split pane horizontally.
  • Ctrl+b % – split pane vertically.
  • Ctrl+b arrow key – switch pane.
  • Hold Ctrl+b, don’t release it and hold one of the arrow keys – resize pane.
  • Ctrl+b c – (c)reate a new window.
  • Ctrl+b n – move to the (n)ext window.
  • Ctrl+b p – move to the (p)revious window.\

Tmux tutorial
Tmux the terminal multiplexer


How to use genymotion emulator

Start the emulator. Then find out the genymotion assigned IP address

$ps ax | grep geny

Then connect using adb

$adb connect


ADB android over wireless connection

1. Connect using USB

$adb tcpip 5555

2. Disconnect USB
3. Reconnect using wireless connection. You can find out the IP address from wireless config

$adb connect