This is the way to remove the channel together with repository. It will also remove the packages from the file system. The workflow is as follows: remove subchannels and master channel remove repos remove orphan packages sync/clean up file system…

Reconfigure Docker instance running out of the space. Recreate data file up to 20GB. service docker stop rm -rf /var/lib/docker /etc/init.d/docker restart dd if=/dev/zero of=/var/lib/docker/devicemapper/devicemapper/data bs=1G count=0 seek=20

Very quick and easy solution to format API JSON response within the Vim. :%!python -m json.tool

In case you see “Starting tomcat6: Error code 4”, make sure you have some free space on the file system…

In case of the time being too far in the future you can go to: /etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start/etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start

I have successfully installed OpenWrt Attitude Adjustment 12.09 on TP-LINK TL-WR904N Rev. 1.0 Ver 1.3. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)…

I have successfully installed OpenWrt Attitude Adjustment 12.09 on Tenda W307R Rev. V2.0. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ramips-rt305x-w306r-v20-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-15 02:26:13 UTC) built-in shell (ash) Enter ‘help’…

This is the quick way to set window name to hostname connected to. printf "\033k`hostname -s`\033\\"printf "\033k`hostname -s`\033\\" See http://superuser.com/questions/249293/rename-tmux-window-name-to-prompt-command-ps1-or-remote-ssh-hostname

Fork me on GitHub