Skip to content

Instantly share code, notes, and snippets.

View johnjohndoe's full-sized avatar

Tobias Preuss johnjohndoe

View GitHub Profile
@johnjohndoe
johnjohndoe / bmvi.json
Created April 28, 2017 10:27
Datensummit 2017 - Streaming via media.ccc.de
[
{
"conference": "Datensummit 2017",
"slug": "datensummit17",
"author": "",
"description": "Datensummit 2017",
"keywords": "Datensummit, 2017, Berlin, OKFN, OKF DE",
"startsAt": "2017-04-28T07:30:00+0000",
"endsAt": "2017-04-28T17:00:00+0000",
"groups": [
@johnjohndoe
johnjohndoe / Lasagne.md
Last active January 15, 2017 13:14
Lasagne Rezept

Vorspeise: Lasagne

Zubereitungszeit: etwa 1 Stunde

Zutaten

Für die Fleischsauce

  • 500 Gr. gemischtes Hackfleisch
  • 3 italienische grobe Bratwürste (Salsiccia)
  • 2 kleine Dosen geschälte Tomaten
@johnjohndoe
johnjohndoe / del.icio.us-api-endpoints.md
Created January 13, 2017 17:21
del.icio.us API endpoints

Recent bookmarks

http://del.icio.us/v1/posts/recent

Bookmarks corresponding to the provided URL

http://del.icio.us/v1/posts/get?sharing=1&url=http%3A%2F%2Fgithub.com&meta=1
[
{
"author": "CCC",
"conference": "33C3",
"description": "Live-Streaming vom 33C3",
"endsAt": "2016-12-30T20:00:00+0000",
"groups": [
{
"group": "Live",
"rooms": [
@johnjohndoe
johnjohndoe / screenrecord.sh
Created December 15, 2016 11:55 — forked from tasomaniac/screenrecord.sh
Screen Record for Android
#!/bin/sh
set -e
if [ -z "$1" ]; then
shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4
else
shot_path="$*"
fi
[
{
"conference": "#FIfFKon16 – in.visible systems",
"group": "Lecture Rooms",
"rooms": [
{
"slug": "Hoersaal",
"schedulename": "Hoersaal",
"thumb": "https://streaming.media.ccc.de/fiffkon16/../thumbs/s2.png",
"link": "https://streaming.media.ccc.de/fiffkon16/Hoersaal/",
@johnjohndoe
johnjohndoe / build.gradle
Created November 6, 2016 22:46
Gradle: Unit test configuration for Eclipse folder structure
import de.undercouch.gradle.tasks.download.Download
import de.undercouch.gradle.tasks.download.Verify
apply plugin: 'com.android.application'
apply plugin: 'witness'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'de.undercouch.download'
dependencies {
def supportVersion = '23.2.1'
@johnjohndoe
johnjohndoe / apt-packages
Last active October 18, 2020 13:30
Ubuntu APT packages
alacarte
brasero
brave-browser
caffeine
charles-proxy
chromium-browser
clamav
clamtk
compiz-plugins-extra
compizconfig-settings-manager
@johnjohndoe
johnjohndoe / config
Created August 1, 2016 22:05 — forked from donnfelker/config
Watch or Unwatch a file in git
# Goes in your .git/config file
[alias]
# Temporarily stop tracking a file in git.
# usage: git unwatch path/to/file
unwatch = update-index --assume-unchanged
# Resume tracking a file in git.
# usage: git watch path/to/file
watch = update-index --no-assume-unchanged

Overview

Here, you might lay out the reasons behind writing this code. You can link to specs, issues, or bugs in order to give someone a better idea of how a decision was made. This is your chance to give context to your reviewer. Ego depletion - the idea that willpower is used up over time - can be easily applied to your reviewer. We are human, after all. You'll likely get one shot at a quality review, so help your reviewer help you. Flush out this section.

Testing

How did you test this code? Did you write a unit test, or test it manually? Can you provide an animated gif or a screenshot to demonstrate your code does what it purports to do? What about test output or a useful snippet from a logfile? Help show that your code works.

🚨🚨🚨 (Risks)

Is there some part of the code that you know probably doesn't work as it should? Call out potential weak spots, and get help addressing them.