I hereby claim:
- I am webcoyote on github.
- I am netcoyote (https://keybase.io/netcoyote) on keybase.
- I have a public key ASBunOu0oWmW7hRupsMmS7VD-Y2L0T-ij3lRWlNlpHpGXwo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
set -euo pipefail | |
readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
declare -a LIBS | |
while IFS= read -rd $'\0' LIB; do | |
LIBS+=("$LIB") | |
done < <(find "$SCRIPT_DIR/bin" -type f -iname '*.dll' -print0) | |
echo "Count: ${#LIBS[@]}" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
"exec" "plk" "-Sdeps" "{:deps {org.clojure/tools.cli {:mvn/version \"0.4.1\"}}}" "-Ksf" "${BASH_SOURCE[0]}" "--script" "${BASH_SOURCE[0]}" "$@" | |
;; # This program was written to utilize the Planck ClojureScript tool and see how | |
;; # easy it would be to write command-line utilities. | |
;; # | |
;; # One problem I encountered: in bash, it's reasonably easy to discover where | |
;; # the script is located so as to perform script-relative file manipulation, | |
;; # like this: | |
;; # |
using UnityEngine; | |
using System; | |
using System.Threading; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
public class Main : MonoBehaviour { | |
private class TimeFunc { | |
public TimeFunc (string name, Func<float> time, bool applyDelta = true) { |
# test-kitchen YAML configuration file which discovers values from Chef environment | |
# | |
# Manual configuration got you down? | |
# Don't want to pollute your shell environment with a bunch of secrets? | |
# Why not load those values from Chef?!? | |
# | |
<% | |
require 'yaml' |
#!/bin/bash | |
echo testing "$@" |
#!/usr/bin/env ruby | |
# by Patrick Wyatt | |
require 'json' | |
require 'net/http' | |
require 'openssl' | |
require 'uri' | |
class Rollbar | |
def initialize (read_token, write_token) |
require 'celluloid/io' | |
class Connection | |
include Celluloid::IO | |
PACK_LENGTH = 'S>' # unsigned big-endian | |
def initialize (host, port) | |
@transactions = {} | |
@host = host |
#!/usr/bin/env ruby | |
class SearchConfigFile | |
def self.search (filename, directory) | |
# Use current directory if directory not specified | |
directory ||= Dir.getwd | |
# Use expand_path to get absolute path; 1.8.7 compatible | |
search_up filename, File.expand_path(directory) |
remapping the #$#$ Windows key so it can be used in Linux VM
Compile xmonad.hs to use modMask = mod3Mask ("mod3")
Use SharpKeys.exe on Windows host to remap "Left Windows" key to "F15", which is unused on modern keyboards. Reboot.
In Linux guest, type the "Left Windows" key. Then dmesg|tail -5 should produce output like this: