Skip to content

Instantly share code, notes, and snippets.

View fwilhe's full-sized avatar
🐧
Working on Project "Garden Linux"

Florian Wilhelm fwilhe

🐧
Working on Project "Garden Linux"
  • @SAP SE
  • Potsdam
  • 21:01 (UTC +02:00)
View GitHub Profile
@fwilhe
fwilhe / cliBuilderExample.groovy
Created November 18, 2015 11:55 — forked from jpertino/cliBuilderExample.groovy
groovy CliBuilder usage
def cli = new CliBuilder().with {
usage = 'program [options] <arguments>'
header = 'Options:'
footer = '-' * width
s 'simplest boolean option'
b longOpt: 'both', 'boolean option with both longop and shortop'
_ longOpt: 'no-shortop-1', 'boolean option without short version 1'
= GitLab
GitLab ist eine webbasierte Software, die kollaboratives Arbeiten in Entwicklungsprojekten vereinfacht.
== Warum GitLab
* Es steht (in der Community Edition) unter einer freien Lizenz und kann daher selbst gehostet werden.
* Es orientiert sich stark an GitHub und ist daher einfach anzuwenden, wenn man GitHub kennt.
* Aktive weiterentwicklung, neue Versionen fast im Wochentakt
@fwilhe
fwilhe / set_gnome_shortcuts.sh
Last active May 10, 2016 17:55
GNOME Shortcuts Script
#!/bin/bash
set -o nounset
set -o errexit
set -o xtrace
# Tested using a default Fedora Workstation 23 with Gnome Shell
# Set Compose-Key to CapsLock, see:
# https://help.gnome.org/users/gnome-help/stable/tips-specialchars.html.en
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']"
@fwilhe
fwilhe / Changelog.md
Created January 7, 2016 23:08
Changelog Example

Changelog

Unreleased

Features

  • Lorem

    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

@fwilhe
fwilhe / gist:a4c076686c733b1cc1af
Last active January 8, 2016 11:02
Changelog Casestudy
@fwilhe
fwilhe / LinuxCheatSheet.adoc
Last active May 10, 2016 12:44
Linux Cheat Sheet

Linux Shell Cheatsheat

Development

git

Utils

@fwilhe
fwilhe / gist:29f9772508b77a2c1a3b3d8a046d5b1c
Created March 30, 2016 07:18
VirtualBox Kernel Fedora
sudo /usr/lib/virtualbox/vboxdrv.sh setup
@fwilhe
fwilhe / gist:c652d88cf51eb1fe9922c095e31cf7f9
Created April 4, 2016 17:44
asciidoc-googledocs-addon execution transcript
[16-04-04 19:43:14:413 CEST] Starting execution
[16-04-04 19:43:14:687 CEST] DocumentApp.getActiveDocument() [0.138 seconds]
[16-04-04 19:43:14:688 CEST] Document.getSelection() [0 seconds]
[16-04-04 19:43:14:688 CEST] DocumentApp.getActiveDocument() [0 seconds]
[16-04-04 19:43:14:689 CEST] Document.getBody() [0 seconds]
[16-04-04 19:43:14:689 CEST] Body.getNumChildren() [0 seconds]
[16-04-04 19:43:14:690 CEST] Body.getChild([0]) [0 seconds]
[16-04-04 19:43:14:690 CEST] Body.getNumChildren() [0 seconds]
[16-04-04 19:43:14:690 CEST] Body.getChild([1]) [0 seconds]
[16-04-04 19:43:14:691 CEST] Body.getNumChildren() [0 seconds]
@fwilhe
fwilhe / unextract.py
Created May 6, 2016 20:38
unextract.py
#!/usr/bin/env python
from __future__ import print_function
from jinja2 import Template
import zipfile
htmlTemplate = '''
<html>
<body>
<table border="1">
@fwilhe
fwilhe / xforwarding.adoc
Created May 9, 2016 08:25
Enable X Forwarding for Vagrant Boxes

Create or change the file ~/.ssh/config and add the following lines:

Host 127.0.0.1
    ForwardX11 yes