Skip to content

Instantly share code, notes, and snippets.

💭
__

Dreftymac dreftymac

💭
__
Block or report user

Report or block dreftymac

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dreftymac
dreftymac / qsf_explanation.md
Created May 25, 2017 — forked from ctesta01/qsf_explanation.md
How does a Qualtrics Survey File work?
View qsf_explanation.md

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
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 : https://www.schoonology.com/technology/ssh-agent-windows/
env=~/.ssh/agent.env
# 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
dreftymac / output.txt
Created Feb 7, 2016 — forked from ddlsmurf/output.txt
YAML succinct tutorial
View output.txt
# Example with basic types
---
hash:
  string: some text
  number: 12345
  array_of_bool: [on, off, true, false, yes, no]
  ruby symbol: :symbol
  array:
    - item one
    - item two
@dreftymac
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? https://en.wikipedia.org/wiki/Computer-aided_software_engineering
@dreftymac
dreftymac / multiple_ssh_setting.md
Created Nov 9, 2015 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@dreftymac
dreftymac / .gitattributes
Created Oct 31, 2015
Sample Git Attributes File
View .gitattributes
# Encrypt the repository
# Remove/modify this line if the repository is meant to be open-source
*.* filter=git-crypt diff=git-crypt
.gitattributes !filter !diff
# These files are text and should be normalized (Convert crlf => lf)
*.php text
*.css text
*.js text
*.htm text
View example_non_styled.yml
# default boring output of Psych.dump
---
:response:
:body: ! "{\n \"page\": 1,\n \"results\": [\n \"item\", \"another\"\n ],\n
\ \"total_pages\": 0\n}\n"
:status: 200
:person:
name: Steve
age: 24
:array:
View index.html
<!doctype html>
<html ng-app="project">
<head>
<title>Angular: Service example</title>
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<script>
var projectModule = angular.module('project',[]);
projectModule.factory('theService', function() {
return {
@dreftymac
dreftymac / 0_reuse_code.js
Created May 8, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.