Skip to content

Instantly share code, notes, and snippets.

View doubleswirve's full-sized avatar
🥎

Saxon Stiller doubleswirve

🥎
View GitHub Profile
@doubleswirve
doubleswirve / multiple_ssh_setting.md
Created June 9, 2018 20:48 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

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 "[email protected]"
@doubleswirve
doubleswirve / cdc_example_req.js
Last active August 28, 2017 17:28
CDC example request
const request = require('request')
request.post('https://wonder.cdc.gov/controller/datarequest/D76', {
form: {
request_xml: `
<request-parameters>
<parameter>
<name>accept_datause_restrictions</name>
<value>true</value>
</parameter>
@doubleswirve
doubleswirve / buildr.json
Created September 27, 2015 19:40
buildr
{
"name": "my-project",
"version": "0.0.1",
"description": "...",
"main": "index.js",
"scripts": {
"serve": "python -m SimpleHTTPServer",
"swatch": "npm run serve & npm run watch",
"test": "mocha",
"watch": "npm run watch-js & npm run watch-styl",
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>Schism</title>
</head>
<body>
<button id="ctrl">Play</button>
</body>
<script>
!function(){
set pic to POSIX file "/path/to/image.jpg"
repeat 3 times
tell application "Messages"
send pic to buddy "%YOUR BUDDY'S NAME%"
end tell
end repeat
@doubleswirve
doubleswirve / SassMeister-input.scss
Created November 16, 2013 03:30
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
@mixin class {
float: left;
> img {
height: 30px;
@doubleswirve
doubleswirve / SassMeister-input.scss
Created November 4, 2013 20:12
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
.half {
width: 200px;
@media (max-width: 768px) {
width: 50%;