Skip to content

Instantly share code, notes, and snippets.

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.5-1-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) (gcc version 4.8.2 20140206 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014
[ 0.000000] Command line: root=/dev/disk/by-uuid/e8b4e64f-bb60-488a-828c-249158749a06 ro vga=795
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000957ff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000095800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bf77ffff] usable
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.5-1-ARCH (nobody@var-lib-archbuild-extra-x86_64-thomas) (gcc version 4.8.2 20140206 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014
[ 0.000000] Command line: root=/dev/disk/by-uuid/e8b4e64f-bb60-488a-828c-249158749a06 ro vga=795
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000957ff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000000095800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bf77ffff] usable
902a903,910
> [ 224.360488] usb 2-1.4: USB disconnect, device number 4
> [ 232.994977] usb 2-1.4: new full-speed USB device number 6 using ehci-pci
> [ 233.087091] input: Microsoft Microsoft\xffffffc2\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/input/input17
> [ 233.087461] hid-generic 0003:045E:0745.0004: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft\xffffffc2\xffffffae 2.4GHz Transceiver v8.0] on usb-0000:00:1d.0-1.4/input0
> [ 233.093948] input: Microsoft Microsoft\xffffffc2\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.1/input/input18
> [ 233.094483] hid-generic 0003:045E:0745.0005: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft\xffffffc2\xffffffae 2.4GHz Transceiver v8.0] on usb-0000:00:1d.0-1.4/input1
> [ 233.110825] input: Microsoft Microsoft\xffffffc2\xffffffae 2.4GHz Transceiver v8.0 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.2/input/input19
> [ 233.111558] h
@rangalo
rangalo / gist:e87665336de3851229ae
Created September 3, 2014 06:57
Git color, alias settings
git config --global color.branch auto
git config --global color.diff auto
git config --global color.interactive auto
git config --global color.status auto
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.co checkout
git config --global alias.st status
matrix-off: chrome-extension-scheme true
matrix-off: chrome-scheme true
matrix-off: chromium-behind-the-scene true
matrix-off: localhost true
matrix-off: opera-scheme true
* * * block
* * css allow
* * frame block
* * image allow
* * script block
# tomcat alias and functions
alias tstart="${CATALINA_HOME}/bin/startup.sh"
alias tstop="${CATALINA_HOME}/bin/shutdown.sh"
function tkill () {
ps -eaf | grep 'java' | grep 'catalina' | grep -v 'grep' | grep -v 'tail' | awk '{ print $2; }' | xargs kill -9
}
function logf ()
{
@rangalo
rangalo / installJdk
Last active August 29, 2015 14:16
InstallJdk
cd
mkdir ~/apps
cd ~/apps
tar xvf ~/Downloads/jdk-8u40-linux-x64.tar.gz
ln -svnf jdk1.8.0_40 jdk
@rangalo
rangalo / setJdkPath
Last active August 29, 2015 14:16
Set java path
# open ~/.bashrc in your favorite editor (gedit, sublime, vim etc)
# add following to the file
# JDK
export JAVA_HOME=${HOME}/apps/jdk
export PATH=${JAVA_HOME}/bin:${PATH}
export JAVA_OPTS="-XX:MaxPermSize=256m"
@rangalo
rangalo / installMaven
Last active August 29, 2015 14:16
Install maven
cd ~/apps
tar xvf ~/Downloads/apache-maven-3.2.5-bin.tar.gz
ln -svnf apache-maven-3.2.5 maven
@rangalo
rangalo / setMavenPath
Last active August 29, 2015 14:16
Set maven path
# open ~/.bashrc in your favorite editor (gedit, sublime, vim etc)
# add following to the file
# maven
export M2_HOME=${HOME}/apps/maven
export PATH=${PATH}:${M2_HOME}/bin