Skip to content

Instantly share code, notes, and snippets.

View cmg-dev's full-sized avatar

Christoph Gnip cmg-dev

View GitHub Profile
@cmg-dev
cmg-dev / compress.py
Created March 17, 2016 10:23
This little script will help us to get the images straight for our website.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import os, sys
from PIL import Image
size = (768,512)
def compress(files,

Keybase proof

I hereby claim:

  • I am cmg-dev on github.
  • I am chrisgnip (https://keybase.io/chrisgnip) on keybase.
  • I have a public key ASBZkTl04Ol3UlZYUpuWL-Xs-aFyYy_gMV0uPFBSfDaarQo

To claim this, I am signing this object:

@cmg-dev
cmg-dev / .5minds.gitmessage.template.de_DE
Last active January 16, 2017 18:31
This is a Commit Template I like to use.
# Hilfestellung für die Commit Nachrichten:
#
# Bitte vor einen Commit eine der folgenden Glyphen setzen.
# Die unten stehende Tabelle stellt eine Auswahl der verfügbaren Glyphen dar.
#
# Eine Ausführlichere Liste finde sich unter: https://github.com/5minds/knowledge/issues/26
#
# | Kurzbeschreibung | Glyphe | Emoji | Wann wird es verwendet? |
# |------------------------+------------------+-------+---------------------------------------------------|
@cmg-dev
cmg-dev / Text_Glyphs.md
Last active September 4, 2017 14:31
Glyphen for Commit Messages used by 5Minds

Text Glyphen für Commit Nachrichten

Beispiel Commit Messages

  1. Initial Commit

    Zum Beispiel sollte ein erster (Initial Commit) so aussehen:

    :tada: Initial Commit
    
@cmg-dev
cmg-dev / 5Minds_Jenkins-Theme.css
Created February 17, 2017 19:42
This is the Material Style CSS for Jenkins.
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:400,700,500,300);@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$="blue.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$="red.png"]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRjQ0MzM2IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptMSAxNWgtMnYtMmgydjJ6bTAtNGgtMlY3aDJ2NnoiLz48L3N2Zz4=)}[src$="yellow.png
@cmg-dev
cmg-dev / .gitignore
Last active February 21, 2017 10:42
Master .gitignore; used as base gitignore to ignore annoying stuff
*.DS_Store
*Thumbs.db
@cmg-dev
cmg-dev / .tmux.conf
Created July 2, 2017 15:22
.tmux.conf
set -g default-command "reattach-to-user-namespace -l zsh"
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
@cmg-dev
cmg-dev / english_comma_rules.md
Created September 12, 2018 17:09
Komma im Englischen
  1. Introductory elements– Signale am Satzanfang brauchen im Wissenschaftsenglisch ein Komma.

    In addition, cells were incubated with increasing doses of …

  2. Hängen zwei unabhängige Sätze zusammen, brauchen sie ein Komma.

    Breath-holding during CT scan acquisition lowers the mean heart rate, but heart rate variability is the same when compared with normal breathing.

  3. Ein Nebensatz, den man auch weglassen könnte, braucht ein Komma.

“We haven't got the money, so we'll have to think”

  • Ernest Rutherford
@cmg-dev
cmg-dev / superfluous_words_DE_de.md
Last active September 13, 2018 08:19
Liste überflüssiger Wörter, die einfach weggelassen werden werden können.
  1. eigentlich
  2. ebenfalls
  3. nun
  4. zunächst
  5. wirklich
  6. sehr
  7. denken
  8. glauben
  9. meinen
  10. besser