Skip to content

Instantly share code, notes, and snippets.

View mulle-nat's full-sized avatar
🍀

Nat! mulle-nat

🍀
View GitHub Profile
@mulle-nat
mulle-nat / Cherry-Tastatur.keylayout
Created September 27, 2019 14:29
Cherry Stream 3.0 für Mac OS Keyboard Layout
<?xml version="1.1" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<keyboard group="0" id="4712" name="Cherry-Tastatur, Deutsch" maxout="1">
<layouts>
<layout first="0" last="17" mapSet="ANSI" modifiers="Modifiers"/>
<layout first="18" last="18" mapSet="JIS" modifiers="Modifiers"/>
<layout first="21" last="23" mapSet="JIS" modifiers="Modifiers"/>
<layout first="30" last="30" mapSet="JIS" modifiers="Modifiers"/>
<layout first="33" last="33" mapSet="JIS" modifiers="Modifiers"/>
<layout first="36" last="36" mapSet="JIS" modifiers="Modifiers"/>
@mulle-nat
mulle-nat / commit-and-push-task.sh
Created November 15, 2018 10:33
Example task that synchronizes a directory using git
#! /usr/bin/env bash
r_evaluator()
{
local cmd="$1"
local statefile="$2"
redirect_exekutor "${statefile}" echo "${cmd}" || exit 1
case "${cmd}" in
@mulle-nat
mulle-nat / MulleScion+VariableIO.m
Created February 23, 2018 17:39
MulleScion bidirectional
//
// Allow bidirectional communication with the template. After the template has run, you can pick out
// the global variables from `variables`. Might do this as a "standard" in the next version
//
@implementation MulleScionTemplate( VariableIO)
- (NSString *) descriptionWithTemplateFile:(NSObject <MulleScionStringOrURL> *) filename
dataSource:(id) dataSource
readWriteVariables:(NSMutableDictionary *) variables
{
@mulle-nat
mulle-nat / mulle-ls-dot
Created February 2, 2018 11:01
Recursive Graphviz view of your current directory
#! /usr/bin/env bash
#
# Copyright (c) 2018 Nat! - Mulle kybernetiK
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.