Skip to content

Instantly share code, notes, and snippets.

Avatar

Eduard edwardstock

  • Turkey, Antalya
View GitHub Profile
@edwardstock
edwardstock / gir-reset-all.sh
Created Feb 8, 2022 — forked from nicktoumpelis/repo-rinse.sh
Cleans and resets a git repo and its submodules
View gir-reset-all.sh
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
@edwardstock
edwardstock / centos.install.boost.md
Last active Apr 2, 2018 — forked from 1duo/centos.install.boost.md
Install Boost library from source on CentOS 7.
View centos.install.boost.md
wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz
  • Unzip
tar -xzf boost_1_65_1.tar.gz && cd boost_1_65_1
@edwardstock
edwardstock / .gitignore
Created Aug 11, 2017 — forked from octocat/.gitignore
Some common .gitignore configurations
View .gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@edwardstock
edwardstock / gcc 5 on ubuntu 14.04
Created Jul 1, 2017 — forked from beci/gcc 5 on ubuntu 14.04
use gcc 5.x on ubuntu 14.04
View gcc 5 on ubuntu 14.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5