Skip to content

Instantly share code, notes, and snippets.

@Bengt
Bengt / .gitconfig
Created January 22, 2012 16:54
~/.gitconfig
[user]
name = Bengt Lüers
email = "[email protected]#"
[alias]
# Abbreviations
# mainly from http://superuser.com/questions/169695/what-are-your-favorite-git-aliases
br = branch
ci = commit

FedoraSetup

This installation guide documents my standard procedure of a system setup with Fedora. Naturally, everyone will not agree at some point on my way of doing this. Please take this with a grain of salt and use it as a guide to avoid forgetting things, as I do myself.

Rationale

I use my computer all day everyday. After a while I used every application I will ever use and configured upon first usage. The configuration disrupts but the workflow leading to using the application first. To avoid configuration induced disruptions, the configuration could be done upfront. This is a collection of configurations and other steps involved in setting up a new system with Fedora.

Problem Statement

@Bengt
Bengt / zzllrrImagerScrollbar.css
Created August 15, 2012 23:45
.config/google-chrome/Default/Extensions/hnnpahlmflcceeadbeollhmmkfhfelnn/1.1_0/zzllrrImagerScrollbar.css
// See http://goo.gl/uEXpx
::-webkit-scrollbar{background-color:#000;width:1px;height:1px}
::-webkit-scrollbar-corner{background:#fff;width:1px;height:1px}
::-webkit-scrollbar-track{background-color:#fff}
::-webkit-scrollbar-thumb{background-color:#000}

Aktiv - Fleischteheke

  • Hähnchenschenkel mit rückenteil 2
  • Hähnchentkeulen ohne Rücken 4

Aktiv Kühlregal

  • Butter 250 g
  • ca. 0,5 oder 1 kg Pflaumen
README
==========
License:
--------
Copyright (c) 2011 Finnbarr P. Murphy. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of VERSION 2 of the GNU General Public
sudo apt-get update
sudo apt-get upgrade

Tidy up the attic.

sudo apt-get install htop

Uninstallations

To free up diskspace, uninstall everything, you do not need. To get a list of installed packages, sorted by size:

Raspberry Pi Web Server Challenge

Build a fast static web server for the Pi, where

  • build: Use a programming language of your choice and its standard library, only.
  • fast: Benchmark scenario:
    • serve a file
      • named index.htm
      • located at relative path /hello/world/
  • with contents Hello, World!.
@Bengt
Bengt / .gitignore
Last active December 31, 2015 23:19
*.pyc

works:

$ pylint acccess_childs_protected_attribute.py
[...]
W: 19,12: Access to a protected member _gender of a client class (protected-access)
W: 19,32: Access to a protected member _gender of a client class (protected-access)
[...]

fails:

class Mother(object):
def __init__(self):
super(Mother, self).__init__()
print("Mother:", self)
class Father(object):
def __init__(self):
super(Father, self).__init__()
print("Father:", self)