Skip to content

Instantly share code, notes, and snippets.

⚡️
still hungry. still foolish.

Dennis Reimann dennisreimann

⚡️
still hungry. still foolish.
Block or report user

Report or block dennisreimann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dennisreimann on github.
  • I am dennisreimann (https://keybase.io/dennisreimann) on keybase.
  • I have a public key ASDBBSKvX05Qufq72EMx5skXDINPJoT0oZA4PTNthAuUXwo

To claim this, I am signing this object:

@dennisreimann
dennisreimann / identicon.ex
Last active Dec 10, 2016
Code for the chapter on creating an Identicon in "The Complete Elixir and Phoenix Bootcamp" on Udemy.
View identicon.ex
# Code for the chapter on creating an Identicon in
# "The Complete Elixir and Phoenix Bootcamp" on Udemy.
# see https://www.udemy.com/the-complete-elixir-and-phoenix-bootcamp-and-tutorial/
defmodule Identicon do
defmodule Identicon.Image do
defstruct hex: nil, color: nil, grid: nil, pixel_map: nil
end
alias Identicon.{Image}
@dennisreimann
dennisreimann / Main.elm
Last active Feb 6, 2018
A reaction to the article "A small dive into, and rejection of, Elm"
View Main.elm
{-
This file is a reaction to the article "A small dive into, and rejection of, Elm":
https://hackernoon.com/a-small-dive-into-and-rejection-of-elm-8217fd5da235#.9w3ml4r6b
I think constructive criticism is very welcome in the Elm community. Pointing out
possibilities for documentation improvements, mentioning missing features or ways
in which the language could evolve etc. are imho a vital part of a good community.
However, the article above is neither well informed nor constructive. IMHO ranting
@dennisreimann
dennisreimann / gulpfile.js
Created Dec 1, 2015
building elm projects with gulp: basic setup
View gulpfile.js
var gulp = require('gulp');
var elm = require('gulp-elm');
var plumber = require('gulp-plumber');
var del = require('del');
// builds elm files and static resources (i.e. html and css) from src to dist folder
var paths = {
dest: 'dist',
elm: 'src/*.elm',
staticAssets: 'src/*.{html,css}'
@dennisreimann
dennisreimann / galen-foreach-example.gspec
Created Sep 3, 2015
Galen forEach example with nested objects
View galen-foreach-example.gspec
@objects
form-row-* .form__row
label .form__row__label
input .form__row__input
= Form =
@on small
@forEach [form-row-*] as row
${row}.label:
@dennisreimann
dennisreimann / coffeelint.json
Created Oct 16, 2014
gulp setup for building node-webkit apps
View coffeelint.json
{
"coffeescript_error": {
"level": "error"
},
"arrow_spacing": {
"name": "arrow_spacing",
"level": "ignore"
},
"no_tabs": {
"name": "no_tabs",
@dennisreimann
dennisreimann / changelog
Created Nov 20, 2013
CHANGELOG generator
View changelog
#!/usr/bin/env ruby
#
# CHANGELOG generator
#
# Usage:
#
# $ changelog [SINCE UNTIL]
#
# This script collects git commits from a given range (SINCE and UNTIL
# are optional refs, SINCE defaults to the last tag, UNTIL to HEAD).
@dennisreimann
dennisreimann / gist:5556707
Created May 10, 2013
Nothing to see, move along....
@dennisreimann
dennisreimann / delete_contact_notes.scpt
Last active Oct 11, 2015
AppleScript snippet to delete contact notes in Address Book
View delete_contact_notes.scpt
tell application "Address Book"
activate
set thePeople to selection
repeat with thePerson in thePeople
set note of thePerson to ""
end repeat
save
end tell
@dennisreimann
dennisreimann / .htaccess
Created Sep 6, 2012
Uberspace htaccess for Rails apps
View .htaccess
RewriteEngine On
RewriteBase /
# ensure the browser supports gzip encoding
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b
RewriteCond %{REQUEST_FILENAME}.gz -s
RewriteRule ^(.+) $1.gz [L]
# ensure correct Content-Type and add encoding header
<FilesMatch \.css\.gz$>
You can’t perform that action at this time.