Skip to content

Instantly share code, notes, and snippets.

View jmewes's full-sized avatar

Jan Mewes jmewes

View GitHub Profile
<html>
<h1>Clean Code Checklist</h1>
<form action=#">
<fieldset>
<br/><label><input type="checkbox">Reasonable unit test coverage</label>
<br/><label><input type="checkbox">Code is easily understandable</label>
<br/><label><input type="checkbox">Logical module structure</label>
<br/><label><input type="checkbox">Regresssion tests passed</label>
<br/><label><input type="checkbox">Code style tests passed</label>
@jmewes
jmewes / Twitter.org <no format>
Last active January 20, 2016 20:19
Read twitter in your favourite text editor
#+STARTUP: showall
* Interesting
** jezhumble Must-read on contempt culture in tech. Also, for the
record, PHP is my go-to language to get things done.
https://t.co/qjAW0ospit
** pagerduty Quick Tips: How to Post Mortem Every Incident, by
@pagerduty Product Manager @eurica #devops
https://t.co/Llb7up02Xo https://t.co/7JvtEmR8Qy
** seradio ser 244: @ewolff talks to @gernotstarke about the
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2014 Alexey Kutepov a.k.a. rexim
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sublicense, and/or sell copies of the Software,
@jmewes
jmewes / LICENSE.txt
Last active December 4, 2016 15:09
Transform bookmarks from a Firefox backup into an ORG document.
MIT License Copyright (c) 2016 Jan Mewes
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
@jmewes
jmewes / bash.sh
Created January 21, 2017 16:43
Get script directory in a Bash script
SCRIPT_DIR=$(dirname "$0")
@jmewes
jmewes / README.md
Last active May 12, 2017 06:51
Notes from "Continuous Learning" article
@jmewes
jmewes / README.md
Last active May 14, 2017 08:57
Notes: Neal Ford on evolutionary architecture
@jmewes
jmewes / README.md
Created May 18, 2017 06:43
Notes about the GROWS method
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class StringTest {
@Test
public void should_format_string() {
String formattedString = String.format("%s, %s, %s.", "a", "b", "c");