Skip to content

Instantly share code, notes, and snippets.

View dennisreimann's full-sized avatar
still hungry. still foolish.

d11n dennisreimann

still hungry. still foolish.
View GitHub Profile
@dennisreimann
dennisreimann / Main.elm
Last active April 2, 2024 20:17
A reaction to the article "A small dive into, and rejection of, 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 / status.sh
Created December 6, 2019 15:38
BTC/LND Status Shell
#!/bin/sh
# by dennisreimann
# most of this is taken from Stadicus:
# https://stadicus.github.io/RaspiBolt/raspibolt_61_system-overview.html
# set colors
color_red='\033[0;31m'
color_green='\033[0;32m'
color_yellow='\033[0;33m'
color_blue='\033[0;34m'
@dennisreimann
dennisreimann / .travis.yml
Last active September 23, 2022 16:11
Travis-CI config for Yarn 2
language: node_js
cache:
# Yarn 2 does not store dependencies in node_modules anymore, at least not by default.
# If you are using the node-modules plugin, remove the `npm: false` line.
npm: false
# Yarn 2 caches to the local .yarn directory, not the Travis default `$HOME/.yarn`
directories:
- ./.yarn/cache
@dennisreimann
dennisreimann / changelog
Created November 20, 2013 21:10
CHANGELOG generator
#!/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 / mail.rb
Created October 6, 2010 12:50
CIJoe mail notification script.
#!/usr/bin/env ruby
# CIJoe mail notification script.
# Some things in here are shamelessly ripped from
# http://gist.github.com/374030
#
# Call this from your hooks (build-worked, build-failed) with something like:
# ~/ci/scripts/mail.rb ~/ci/PROJECT/ CIJOE_URL BRANCH
#
# Requirements
@dennisreimann
dennisreimann / rails-app-template.rb
Created February 28, 2011 22:37
My template for generating new rails apps
# Helpers
def git_update(message)
git :add => ".", :commit => "-m '#{message}'"
end
def git_remove(file)
git :rm => file
end
@dennisreimann
dennisreimann / status.sh
Created December 19, 2019 12:30
BTCPayServer Status Shell
#!/bin/sh
# by dennisreimann, but most of this is adapted from Stadicus:
# https://stadicus.github.io/RaspiBolt/raspibolt_61_system-overview.html
#
# Dependencies: jq
#
# source the environment so that we can use the variables
. $BTCPAY_BASE_DIRECTORY/.env
# set colors
@dennisreimann
dennisreimann / openalias-cli.js
Created October 25, 2019 11:22
Minimal OpenAlias implementation in Node.js
#!/usr/bin/env node
const resolveOpenalias = require('./openalias');
const address = process.argv[2]
if (!address) {
console.error('Please provide an address to resolve.\n\nUsage: ./openalias-cli.js my.domain.com')
process.exit(1)
}

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:

# rubygems DNS is temporarily down, put this into your /etc/hosts to install gems,
# but don't forget to remove the entries once their DNS is back up again
72.4.120.124 rubygems.org
207.171.181.231 production.s3.rubygems.org
216.137.45.24 production.cf.rubygems.org