Skip to content

Instantly share code, notes, and snippets.


Dreftymac dreftymac

View GitHub Profile

Master Elbarap was an elder, great and venerated teacher our village.

Before he departed from us, he sat with two of his students who were struggling with a difficult maths equation.

He gave them lessons and keys and analogies to use, and their understanding grew until they could understand the formulas themselves, enough to even teach it to others.

The two understood, and in their delight they thanked the elder with great glee, for now the dark clouds of confusion were gone.

The elder gave both of them a hug, smiling at them, and then swiftly fled out from the room.



  • this is a github gist created with markdown
  • to get markdown formatting you have to add .md extension to the name


  • this is some YAML
dreftymac /
Created May 25, 2017 — forked from ctesta01/
How does a Qualtrics Survey File work?

Quickstart Guide to undertsanding the Qualtrics Survey File

This information is likely to quickly become outdated when Qualtrics next changes the formatting of the QSF file. This guide was started February 2017. I hope that it is a useful introduction to understanding the contents of the QSF file that one can download from Qualtrics.

This document includes:

dreftymac / .bash_profile
Created Mar 23, 2017 — forked from ethyde/.bash_profile
Bash profile load ssh-agent and add all key in ~/.ssh/id_rsa*
View .bash_profile
# SSH Agent
# Note: ~/.ssh/environment should not be used, as it
# already has a different purpose in SSH.
# source :
# Note: Don't bother checking SSH_AGENT_PID. It's not used
# by SSH itself, and it might even be incorrect
# (for example, when using agent-forwarding over SSH).
dreftymac /
Last active Mar 15, 2017
vim regular expressions for perl regex fans


Vim regular expressions are powerful, but they pre-date Perl.

This can be frustrating since the Perl-flavored-regex syntax has expanded beyond into other programming languages and contexts, becoming a de-facto standard.

This guide is a quick cheatsheet and tipsheet for using regular expressions in Vim for those who may be more familiar with Perl.

Quick examples for vimmers who like Perl regex

dreftymac / gist:42d191388c042dbbddce472c17b273e6
Last active May 5, 2016
split a single large file into multiple smaller files // dreftymacid: ding_fresher_mesh
View gist:42d191388c042dbbddce472c17b273e6
### <beg-file_info>
### main:
### - date: created="Thu May 05 12:16:56 2016"
### last: lastmod="Thu May 05 12:16:56 2016"
### tags: tags
### dreftymacid: "ding_fresher_mesh"
### filetype: "perl"
### seealso: |
### *
dreftymac / output.txt
Created Feb 7, 2016 — forked from ddlsmurf/output.txt
YAML succinct tutorial
View output.txt
# Example with basic types
  string: some text
  number: 12345
  array_of_bool: [on, off, true, false, yes, no]
  ruby symbol: :symbol
    - item one
    - item two
dreftymac / VisualCodeGenWorkflows_ascii.txt
Created Jan 12, 2016 — forked from jdonson/VisualCodeGenWorkflows_ascii.txt
ASCII Diagram Test: Visual CodeGen Workflows
View VisualCodeGenWorkflows_ascii.txt
['SVG DIAGRAMS'] <---- (Derived From) <-- STATE
| |
(via CASE Tools Generate) --> ['Code', 'Configs', 'Tests']
1. What types of state?
2. How does YAML fit in?
3. Can site audits generate diagrams to present to biz?
4. What languages ought we consider including and why?
5. What kind of CASE Tools?
dreftymac / helloworld.php
Last active Nov 24, 2015
View helloworld.php
header("Content-Type:text/html; charset=utf-8");
print "hello world";