I hereby claim:
- I am homburg on github.
- I am homburg (https://keybase.io/homburg) on keybase.
- I have a public key whose fingerprint is 99EF C7E0 5AFB 2375 33E9 7F45 5235 277B C827 0040
To claim this, I am signing this object:
#!/usr/bin/env bash | |
echo "*** Remeber to call this with source ***" | |
echo "Activating \"virtual environment\" (modifying PATH). | |
Use \"deactivate\" to escape" | |
function deactivate () { | |
PS1=$_OLD_PS1 | |
PATH=$_OLD_PATH |
function MogensHyperlinkOffset() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var ranges = ["M:M", "Q:Q"]; | |
var totalCells = 0; | |
for (var r in ranges) { | |
ss.toast("Running range: "+ranges[r]) | |
var dRange = sheet.getRange(ranges[r]) |
server { | |
listen 80; | |
server_name some-service.example.org; | |
location / { | |
rewrite ^(.*)$ https://some-service.example.org$1 permanent; | |
} | |
} | |
server { |
# /etc/init/my-go-service.conf | |
# My go service | |
description "My go service" | |
env DAEMON=/usr/local/bin/my-go-service | |
env NAME=my-go-service | |
start on filesystem or runlevel [2345] | |
stop on runlevel [!2345] |
--- | |
- hosts: all | |
vars: | |
docker: 0 | |
tasks: | |
- name: ensure bool variables work | |
debug: msg="docker {{ docker }}.." | |
# When: takes a jinja2 expression | |
# 0 evaluates to false | |
# >= 1 evaluates to true |
#!/usr/bin/env python | |
import os, sys, errno | |
if len(sys.argv) <= 1: | |
os.execlp("git", "git") | |
repo = str(sys.argv[-1]) | |
if repo.endswith(".git"): | |
repo = repo[:-4] |
package main | |
// From | |
// http://stackoverflow.com/questions/21738674/how-do-i-print-a-buffer-to-stdout-piped-through-a-pager | |
// http://rosettacode.org/wiki/Terminal_control/Dimensions | |
import ( | |
"bufio" | |
"io" | |
"os" | |
"os/exec" |
I hereby claim:
To claim this, I am signing this object:
module Counter where | |
import Html exposing (..) | |
import Html.Attributes exposing (style) | |
import Html.Events exposing (onClick) | |
-- MODEL | |
type alias Model = Int |
# Custom layout | |
# Add to /usr/share/X11/xkb/symbols/dk | |
partial alphanumeric_keys | |
xkb_symbols "custom" { | |
include "dk(basic)" | |
name[Group1]="Danish (custom)"; | |
key <TLDE> { [ dollar, asciitilde, threequartes, paragraph ] }; |