Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am chronus7 on github.
  • I am chronus (https://keybase.io/chronus) on keybase.
  • I have a public key whose fingerprint is 5C66 3E5D 61AD 232E D960 49F1 0F3C 52A7 1377 EE7B

To claim this, I am signing this object:

@chronus7
chronus7 / archlinux_install_T450s.md
Last active January 20, 2016 23:22
My installation/setup for my Lenovo T450s. This is mainly, so I am able to recreate this setup without having to lookup everything again.

ArchLinux installation on Lenovo T450s

This installation provides the following settings:

  • disk-setup
    • unsecure boot-partion
    • LVM on LUKS (ArchWiki)
      • encrypted root-partition
      • encrypted home-partition
  • initial system setup
@chronus7
chronus7 / turing_machine.py
Last active August 29, 2015 14:18
/r/dailyprogrammer #208 hard
# -*- coding: utf-8 -*-
# /r/dailyprogrammer #208 hard
# https://www.reddit.com/r/dailyprogrammer/comments/31aja8/
# Title: [2015-04-03] Challenge #208 [Hard] The Universal Machine
""" The Universal Machine (Generator approach)
-- (2015) Dave J (https://github.com/DaveAtGit)
"""
class TuringMachine:
@chronus7
chronus7 / space_probe.py
Last active August 29, 2015 14:10
/r/dailyprogrammer #191 intermediate
# -*- coding: utf-8 -*-
# /r/dailyprogrammer #191 intermediate
# http://www.reddit.com/r/dailyprogrammer/comments/2o5tb7/
# Title: [2014-12-3] Challenge #191 [Intermediate] Space Probe. Alright Alright Alright.
""" Space Probe
-- (2014) Dave J (https://github.com/DaveAtGit)
"""
# Imports
@chronus7
chronus7 / hangman.py
Last active August 29, 2015 14:09
/r/dailyprogrammer #189 easy
# -*- coding: utf-8 -*-
# /r/dailyprogrammer #189 easy
# http://www.reddit.com/r/dailyprogrammer/comments/2mlfp/
# Title: [2014-11-17] Challenge #189 [Easy] Hangman!
""" Hangman
A small hangman-game.
_____
|/ | HANGMAN
| (.)
@chronus7
chronus7 / arrows_and_arrows.py
Created November 14, 2014 12:34
/r/dailyprogrammer #188 hard
# -*- coding: utf-8 -*-
# /r/dailyprogrammer #188 hard
# http://www.reddit.com/r/dailyprogrammer/comments/2m82yz/
# Title: [2014-11-14] Challenge #188 [Hard] Arrows and Arrows, part 1
""" Arrows and arrows
-- (2014) Dave J (https://github.com/DaveAtGit)
"""
# Imports
@chronus7
chronus7 / boxplot.py
Last active August 29, 2015 14:09
/r/dailyprogrammer #188 intermediate
# -*- coding: utf-8 -*-
# /r/dailyprogrammer #188 intermediate
# http://www.reddit.com/r/dailyprogrammer/comments/2m48nn/
# Title: [2014-11-12] Challenge #188 [Intermediate] Box Plot Generator
""" BoxPlot
A small script to output a boxplot of input data onto the
console. It assumes, the console/terminal displays at least
120 columns and 9 lines (cross-platform reasons).
-- (2014) Dave J (https://github.com/DaveAtGit)