Journey of Life

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...
October 11, 2016

hexdump is awesome

›
It can dump binary with any specified format hexdump -e '"optional-start" iterations/number_of_bytes "format" ...
October 8, 2016

Nice vim cheatsheet

›
http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
October 6, 2016

Increasing a KVM Virtual Machine Disk when using LVM and ext4

›
Scenario: I am running several virtual machine guests using QEMU/KVM . Both the host and guest operating systems are Ubuntu 12.04 LTS. The...
September 23, 2016

Where to download broadcom Netgear R7000 toolchain binary

›
The toolchain file is hndtools-arm-linux-2.6.36-uclibc-4.5.3.tar.bz2 Download URL: https://sourceforge.net/projects/nvg599.arris/files/ ...
September 20, 2016

vim matching IP address

›
\(\d\+\.\)\{3\}\d\{1,3\}
September 15, 2016

configure linux strongswan vpn client

›
1. generate a vpn client cert, and its private key 2. /etc/ipsec.conf conn %default     keyexchange=ikev2     dpdaction=clear     dpdde...
September 8, 2016

How to use curl with a specific network interface

›
The goal is to direct curl's request to a specific interface, for example, tun0. Assume tun0 has the IPv4 address of 192.168.15.2. Bel...
1 comment:
September 6, 2016

tmux start multiple windows

›
put this in a shell script: tmux new-session -s main -n workspace -d tmux neww -t main:1 -n local bash tmux neww -t main:2 -n local bash...
September 2, 2016

C operator priority: Shift is lesser than +/-

›
int main(){         unsigned char buf[2];         int x;         buf[0]=0xF0;         buf[1]=0xA5;         x=buf[0]<<8+buf[1];  ...
August 31, 2016

Linux route and rule

›
1. There are 3 default route tables: local, main, and default 2. Their priority and selector is defined by "rules".  use "ip...
‹
›
Home
View web version
Powered by Blogger.