Skip to content

Instantly share code, notes, and snippets.

View ingydotnet's full-sized avatar

Ingy döt Net ingydotnet

View GitHub Profile
name: Ingy döt Net
email: ingy@ingy.net
github: https://github.com/ingydotnet
matrix: https://matrix.to/#/@ingy:yaml.io
@ingydotnet
ingydotnet / foo.pod
Last active September 9, 2022 13:28
foo.pod

GitHub

Travis

ingy@thinkingy:~/crapp-pm$ ls -l
total 28
-rwxr-xr-x 1 ingy ingy 40 2011-06-11 22:58 crapp*
drwxr-xr-x 3 ingy ingy 4096 2011-06-11 23:26 lib/
-rw-r--r-- 1 ingy ingy 76 2011-06-11 23:41 README
ingy@thinkingy:~/crapp-pm$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
@ingydotnet
ingydotnet / load-yaml-dump-json.bash
Last active July 23, 2020 04:50
load-yaml-dump-json A script to test YAML load against many implementations
#!/bin/bash
# Usage:
#
# cat file.yml | load-yaml-dump-json
# ./load-yaml-dump-json # enter data and ctl-d when finished
yaml=`cat`
echo == Perl
@ingydotnet
ingydotnet / gist:901455
Created April 4, 2011 10:38
mapping branch to describe info
blead - v5.13.11-368-gc2c97af
GitLive-blead - GitLive-blead
GitLive-maint-5.004 - GitLive-maint-5.004
GitLive-maint-5.005 - GitLive-maint-5.005
GitLive-maint-5.10 - GitLive-maint-5.10
GitLive-maint-5.6 - GitLive-maint-5.6
GitLive-maint-5.8 - GitLive-maint-5.8
code-review/2009-07-22 - code-review/2009-07-22
perl-1.0 -
perl-1.0.15 - perl-1.0.15
echo O HAI
#!/bin/bash
die() { echo "$*"; exit 1; }
main() {
program=$0
[[ $# -ge 2 ]] ||
die "usage: $program <watch-file> <command> [<command-args>]"
file=${1:?first arg must be file path}; shift
From: https://groups.yahoo.com/neo/groups/sml-dev/conversations/messages/4729
On Sun, May 13, 2001 at 03:39:53PM -0000, jimfl@... wrote:
| This looks very similar to the format of the Perl module
Data::Denter
| (by Brian Ingerson) for which there is already a fine parser
available
| (in perl, of course).
Thank you so much for taking the time to
#!/usr/bin/env testml v0.2.0
*in-yaml.parse.to-event == *test-event
*in-yaml.load.dump == *out-yaml
*in-yaml.load.to-json == *in-json.load-json.to-json
Fri May 27 20:28:35 UTC 2016