Tutorial : Play ZFS take snapshot and restore to files/folder 2025-11-04 115 Step 1: Install and create the drive Step 2: Create pool and view it Step 3: Optional, use a custom…
Resolved: unable to push to gitlab 2024-10-31 449 if you meet this problem: fatal: the remote end hung up unexpectedly Do this:
Install apache and php for http research 2024-03-30 4.2K I need a super clean apache and forward all PHP requests to a independent php-cgi process which host by a…
Simplest guide to config tomcat to use https with lets encrypt's free cert 2019-11-23 2.8K Support you have generate a standalone cert using certbot command, and your cert is in /etc/letsencrypt/live/ . If not, follow…
Bash script to create a file with increment bytes 2019-09-08 3.1K for ((x=0;x<=255;x++)); do a=`echo "obase=16; $x"|bc`;echo -n -e "\x$a"; done
Godaddy cheap VPS之經驗 2018-11-28 6.5K 係Godaddy起左隻最Cheap VPS, $160蚊個月, 得一粒vcore同1GB Ram, 行ubuntu + mysql + apache + wordpress. 正常黎講要兩三個星期restart一次mysql因為out of memory. 行wordpres兩年之後response time趑黎越慢, 有成十秒先load到個page. 裝左W3 Total…
objdump 2.24 has bug 2015-05-22 5.2K objdump 2.24 has bug, but this bug is fixed in 2.25. It dump the wrong address for my 32 bits…
Fixed ubuntu vnc keymap problem 2015-03-19 3.5K ubuntu 12.04 vnc keymap has trouble, D become minimize all windows and S become start menu, run these to fix…
tomcat auto startup script 2015-01-21 3K just save this to /etc/init.d/tomcat and link to /etc/rc5.d/S99tomcat
disable gnome "unable to mount..." dialog 2015-01-14 3.4K gsettings set org.gnome.desktop.media-handling automount false ...and enable it again: gsettings set org.gnome.desktop.media-handling automount true
why i receive zero in my socket 2015-01-08 3.3K I have two programs, one written in c++, the other is in java. C++ keep sending bytes to java, overtime…
[solved] usb wireless mouse freeze periodically in ubuntu 12.04 lts 2014-08-24 4.9K usb wireless mouse freeze periodically in ubuntu 12.04 lts, edit /boot/grub/grub.cfg, add a boot option irqpoll will fix it
Add tabIndex to all <a> tag incrementally 2014-08-23 3.8K in VI, there is a command to add tabIndex to all tag incrementally :let i=200 | g/
We should mix 4K and 4M Page 2014-07-27 3.1K I was fixing the PSE and PAE page table display for GKD, I found out Linux using 4M page to map…
I think i am under dns attack 2014-07-12 3.7K I think i am under dns attack, in my /var/log/message i keep seeing these. Someone is using over 2000 ip…
My new server 2014-05-20 2.9K Just bought a 2nd hand HP server (8core + 16GB ram), cost me $2630 HKD. One 1TB 2.5" hard disk…
Analyst android ELF dependency-graph by elf-dependency-walker 2014-05-13 4.2K Someone asked me in email about using elf-dependency-walker to analyst library or executable in linux. I found out android is…
solved : compile error in ffmpeg "error: invalid combination of opcode and operands" 2014-05-13 7.3K I am using ubuntu 12.04 64 bits and trying compile ffmpeg and got this error: libavfilter/x86/vf_pullup.asm:59: error: invalid combination of…
sox and ffmpeg (convert hls into live hls) usage 2014-05-08 4K These are the basic usage of SOX This script will convert ffmpeg HLS into "live streaming HLS" The above script…
A very professional ppt that talk about system performance tuning 2013-04-17 4.3K A very professional ppt that talk about system performance tuning download : scalelinuxperformance-130224171331-phpapp01
How to use QMP, send command remotely to qemu 2013-03-20 5.6K To use qmp and send command to qemu from another process, start qemu by This will create a file /tmp/test.gmp…
PSI probe for tomcat can't generate chart 2013-01-31 3K Add this "CATALINA_OPTS=-Djava.awt.headless=true" to catalina.sh
How to change Fedora's font rendering to get an Ubuntu-like result 2012-12-13 20.6K Font rendering is a matter of taste. However, I personally think Ubuntu's default font rendering is the most eye-pleasing one of the…