Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
Ubuntu Gentoo Fedora
bc sys-devel/bc bc
bison sys-devel/bison bison
build-essential: g++ gcc libc6-dev make sys-libs/glibc sys-libs/libcxx virtual/libc sys-devel/make gcc gcc-c++ glibc glibc-devel libcxx libcxx-devel make
ccache dev-util/ccache ccache
curl net-misc/curl curl
flex sys-devel/flex flex
g++-multilib sys-devel/gcc[multilib,cxx] gcc-c++.i686
gcc-multilib - gcc.i686
View MySQL Workbench 6.3.10-7 ArchLinux Installation
sudo pacman -U mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz
sudo pacman -S {lib32-,}icu
sudo ln -s /usr/lib/ /usr/lib/
sudo ln -s /usr/lib/ /usr/lib/
sudo ln -s /usr/lib/ /usr/lib/

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

View Git Bash Aliases
Alias Command
g git
ga git add
gaa git add --all
gapa git add --patch
gau git add --update
gb git branch
gba git branch -a
gbda git branch --merged | command grep -vE "^(*|\smaster\s$)" | command xargs -n 1 git branch -d
View makepkg -i on iio-sensor-proxy
Fetching origin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
Kaukov / dmesg | grep 1c.7
Created Oct 13, 2016
ArchLinux boot message errors
View dmesg | grep 1c.7
[ 0.508870] pci 0000:00:1c.7: [8086:9d17] type 01 class 0x060400
[ 0.508953] pci 0000:00:1c.7: PME# supported from D0 D3hot D3cold
[ 0.516546] pci 0000:00:1c.7: PCI bridge to [bus 02]
[ 0.516551] pci 0000:00:1c.7: bridge window [mem 0xdfa00000-0xdfafffff]
[ 0.567070] pci 0000:00:1c.7: PCI bridge to [bus 02]
[ 0.567075] pci 0000:00:1c.7: bridge window [mem 0xdfa00000-0xdfafffff]
[ 0.658132] aer 0000:00:1c.7:pcie002: service driver aer loaded
[ 0.658160] pcieport 0000:00:1c.7: Signaling PME through PCIe PME interrupt
[ 0.658164] pcie_pme 0000:00:1c.7:pcie001: service driver pcie_pme loaded
[ 2.751878] pcieport 0000:00:1c.7: AER: Corrected error received: id=00e7