Skip to content

Instantly share code, notes, and snippets.

@edwardstock
edwardstock / gcc 5 on ubuntu 14.04
Created July 1, 2017 12:03 — forked from beci/gcc 5 on ubuntu 14.04
use gcc 5.x 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
@edwardstock
edwardstock / .gitignore
Created August 11, 2017 16:00 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@edwardstock
edwardstock / centos.install.boost.md
Last active April 2, 2018 15:23 — forked from 1duo/centos.install.boost.md
Install Boost library from source on CentOS 7.
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 / gir-reset-all.sh
Created February 8, 2022 07:46 — forked from nicktoumpelis/repo-rinse.sh
Cleans and resets a git repo and its submodules
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