Skip to content

Instantly share code, notes, and snippets.

@slizzered
slizzered / compile instruction.md
Last active August 1, 2020 20:31
Compile older compiler (gcc 4.9) on Arch Linux

In Arch Linux, you can use the AUR to compile your custom version of GCC (example with gcc 4.9)

[Alternative 1]: using the AUR manually

mkdir -p $HOME/build/
cd $HOME/build/
git clone https://aur.archlinux.org/gcc49.git
cd gcc49
makepkg --syncdeps
sudo pacman --upgrade gcc-4.9.3-1-x86_64.pkg.tar.xz

Keybase proof

I hereby claim:

  • I am slizzered on github.
  • I am slizzered (https://keybase.io/slizzered) on keybase.
  • I have a public key ASDHwP62cHV3V8qqV7HB9hMY1lD7Zb7UA09whtfbkEUXoAo

To claim this, I am signing this object:

@slizzered
slizzered / Diplomnote.py
Last active August 29, 2015 14:22
calculate your grade for the degree "Diplom-Informatik (Studienordnung 2004)" at "Technische Universität Dresden"
#!/usr/bin/python3
# The MIT License (MIT)
#
# Copyright (c) 2015 Carlchristian Eckert Carli-Eckert@gmx.de
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell