This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use this file to deploy an app to the staging server on nodejitsu. | |
*/ | |
var fs = require('fs'); | |
var package = ''; | |
var bash = require('child_process'); | |
var jitsu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use this to do a blue-green (zero downtime) deployment on Bluemix for Node.js apps. | |
*/ | |
var bash = require('child_process'); | |
var util = require('util'); | |
var routesBash; | |
var events = require('events'); | |
var emitter = new events.EventEmitter(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var style = { | |
base: { | |
fontFamily: 'Helvetica Neue, Helvetica, Arial, sans-serif', | |
fontSize: '16px', | |
lineHeight: '24px' | |
} | |
} | |
var card = elements.create('card', {style: style}) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
</a> | |
<meta charset="utf-8"> | |
<title>World Map</title> | |
<meta name="viewport" content="width=device-width"> | |
<style id="style_css_sheet" type="text/css"> | |
/* | |
* Below are Cascading Style Sheet (CSS) definitions in use in this file, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// on hashchange | |
window.addEventListener('hashchange', function (event) { | |
// grab the hash | |
var hash = location.hash.split('#')[1] | |
// grab the links with selectable class | |
var links = document.querySelectorAll('a.selectable') | |
// loop through the links | |
for (var i = 0; i < links.length; i++) { | |
// if the hash matches the href of the link | |
var href = links[i].href.split('#')[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu https://explorer.blockstack.org/address/1Lg9oxTJ9C3hFwSv26gKQ75ED3vzW6PcQu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt install neovim | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Suggested packages: | |
ctags vim-scripts | |
The following NEW packages will be installed: | |
neovim | |
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded. | |
Need to get 1,056 kB of archives. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = | |
name = | |
[core] | |
editor = nvim | |
[merge] | |
tool = vimdiff | |
[color] | |
ui = auto | |
[alias] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!(function () { | |
"use strict" | |
window.addEventListener('load', function (event) { | |
// What is it we're modeling? | |
// The end goal is to model economic phenomena. And to 'combine' those models to model higher | |
// level economic phenomena. | |
// Modeling a single economic actor and how they make decisions. | |
// Are people rational or is there something else going on? (Inductive reasoning). | |
// Perfect information? What happens when you don't have it? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<!-- | |
Theory by TEMPLATED | |
templated.co @templatedco | |
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license) | |
--> | |
<html> | |
<head> | |
<title>CoPe - Coastlines and People</title> | |
<meta charset="utf-8" /> |
OlderNewer