Skip to content

Instantly share code, notes, and snippets.

View zavorka's full-sized avatar
🙈
LGTM

Roman Beránek zavorka

🙈
LGTM
  • Prusa Research, s.r.o.
  • Prague, CZ
View GitHub Profile
@zavorka
zavorka / Install_gcc7_ubuntu_16.04.md
Created September 5, 2018 23:34 — forked from jlblancoc/Install_gcc7_ubuntu_16.04.md
Installing gcc-7 & g++-7 in Ubuntu 16.04LTS Xenial

Run the following in the terminal:

Install the gcc-7 packages:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y

Set it up so the symbolic links gcc, g++ point to the newer version:

@zavorka
zavorka / replace-with-stage3.sh
Last active December 23, 2015 05:39 — forked from arantius/create-test-container.script
How To Install Gentoo Onto Any OpenVZ VPS
#!/bin/sh
set -e
if [ `whoami` != "root" ]; then
echo "This script must run as root!"
exit 1
fi
if [ ! -f /root/stage3-*.tar.bz2 ]; then