Journey of Life

July 31, 2017

automatically set gnu screen window title

›
http://scie.nti.st/2008/8/19/1-minute-post-hostname-as-screen-window-title/ In short, add this line to the remote host's .bashrc: [ ...
July 20, 2017

Setting ssh server to an user to only SFTP to the user's home directory

›
Here is a guide for setting up SFTP users who’s access is restricted to their home directory. Add the following to the end of the /...
July 14, 2017

Great post on jffs2 loop mount and endian issue

›
https://integriography.wordpress.com/2015/03/16/mounting-a-jffs2-dd-image-in-linux/
June 15, 2017

xxd reverse with an offset

›
When using xxd to reverse a hex dump file, if you hexdump file has a non-0 offset like this: bc000000: 01 02 03 04 05 06 07 08  ........ ...
May 17, 2017

ios command line console log viewing

›
use " idevice_id --list " to list the UUIDs. use "deviceconsole" to actually view the logs deviceconsole -u <UUID...
May 16, 2017

unbrick TPLINK Archer C7 V2 (2017-05 from Amazon)

›
I bricked my Archer C7 v2 with bad configuration. TFTP boot didn't work for me. It turned out that the product id doesn't match. ...
May 11, 2017

socket buffer size

›
To find the current socket buffer size: getsockopt(fdsocket,SOL_SOCKET,SO_RCVBUF,(void *)&n, &m); getsockopt(fdsocket,SOL_SOC...
May 8, 2017

FreeBSD recompile kernel

›
Download: ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.3-RELEASE/src.txz untar this to /usr/src Go to the kernel source di...

FreeBSD dump current kernel config

›
config -x /boot/kernel/kernel
May 2, 2017

Adding swap to your VM

›
sudo fallocate -l 1G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile sudo swapon --show echo '/swapfile n...
April 4, 2017

seafiles upload error

›
The solution: I needed to go into the webui system admin -> settings and change FILE_SERVER_ROOT to be seafile.example.com/seafhttp as...
March 24, 2017

Proxy settings in Windows 10, LAN settings

›
right click start -> control panel -> internet options -> connections tab -> LAN settings
March 15, 2017

R7000 serial consle

›
With the top facing up, and Ethernet ports facing away from you, i.e. the 4 console pins on the right bottom of the board, the pinout from l...
February 28, 2017

openwrt kernel config change

›
In OpenWRT build, to change kernel config, you need to do the following: 1. make kernel_menuconfig CONFIG_TARGET=subtarget This updates th...
January 12, 2017

golang vim-go setup

›
1. start with a fresh ~/.vim directory 2. install vim-plug if don't have it: curl -fLo ~ /.vim/autoload/plug.vim --create-dirs \ h...
January 6, 2017

windows 10 folder sort slow in file explorer

›
I solved this by unchecking the "Allow Files in the folder to have contents indexed in addition to file properties" option. You ...
December 29, 2016

debian/ubuntu snmp has lots of "error on subcontainer ‘ia_addr’ insert (-1)" reports in /var/log/syslog

›
Modifying /etc/defaults/snmpd and setting "-Lsd" to "-LS6d" in SNMPDOPTS and TRAPDOPTS hides the error message (as sugge...
November 30, 2016

solve kvm soft lockup

›
        Update: setting to jiffies on my guest seems to be the most stable (no lockups yet in the last 24 hours) ...
November 16, 2016

gvim set size and color scheme

›
put this in ~/_vimrc: set lines=51 columns=200 winpos 56 56 colorscheme desert
November 4, 2016

batteries, material, voltage

›
Carbon zinc - non-reversible, 1.5v Alkaline - non-reversible (basically, but some reversibility can be forced) 1.5 v NiCd - reversibl...
‹
›
Home
View web version
Powered by Blogger.