Skip to content

Instantly share code, notes, and snippets.

View Kaukov's full-sized avatar
🎯
Focusing

Kaukov

🎯
Focusing
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
wget https://archive.org/download/archlinux_pkg_mysql-workbench/mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz
wget https://archive.org/download/archlinux_pkg_mysql-workbench/mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz.sig
sudo pacman -U mysql-workbench-6.3.10-7-x86_64.pkg.tar.xz
sudo pacman -S {lib32-,}icu
sudo ln -s /usr/lib/libicui18n.so /usr/lib/libicui18n.so.61
sudo ln -s /usr/lib/libicuuc.so /usr/lib/libicuuc.so.61
sudo ln -s /usr/lib/libicudata.so /usr/lib/libicudata.so.61
@Kaukov
Kaukov / mysql_cheat_sheet.md
Created September 8, 2019 15:35 — forked from bradtraversy/mysql_cheat_sheet.md
MySQL Cheat Sheet

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

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
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
Kaukov / dmesg | grep 1c.7
Created October 13, 2016 21:09
ArchLinux boot message errors
[ 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