Skip to content

Instantly share code, notes, and snippets.

View ryanj's full-sized avatar
💭
LGTM

ryan jarvinen ryanj

💭
LGTM
View GitHub Profile
@ryanj
ryanj / OpenSans-Regular-webfont.eot
Last active December 29, 2024 01:27
OpenShift Reveal.js slideshow theme
@addyosmani
addyosmani / package.json
Last active December 28, 2024 12:07
npm run-scripts boilerplate
{
"name": "my-app",
"version": "1.0.0",
"description": "My test app",
"main": "src/js/index.js",
"scripts": {
"jshint:dist": "jshint src/js/*.js",
"jshint": "npm run jshint:dist",
"jscs": "jscs src/*.js",
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js",
@ryanj
ryanj / gist-reveal.it-slides.html
Last active July 15, 2025 09:04
Gist-powered Revealjs slideshow presentations http://gist-reveal.it
<section id='hello' data-background-transition='zoom' data-transition='concave' data-background='https://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h1><a style='color:deepskyblue;' href='https://gist-reveal.it'>gist-reveal.it</a></h1>
<br/>
<h2 style='color:white;'>Gist-Powered</h2>
<h1 style='white-space:nowrap;color:white;'>reveal.js slides</h1>
<p><small style="background-color: rgb(0,0,0,0.35); font-style: italic; color: white;"> press F1 for usage notes </small></p>
</section>
<section id='revealjs' data-transition='concave'>
<h3><a href="https://revealjs.com/">Reveal.js</a> is a framework</h3><p><span>for crafting presentations</span><br/> <span class='fragment'>in <a href="https://revealjs.com/markup/">HTML</a></span> <br/> <span class='fragment fade-up'>and <a href="https://revealjs.com/markdown/">Markdown</a></span>
<aside class="notes">Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open
# in your .bash_profile / .bashrc
alias pushit='git push && open http://www.youtube.com/watch?v=vCadcBR95oU'
# to get the file into your .bash_profile
echo "alias pushit='git push && open http://www.youtube.com/watch?v=vCadcBR95oU'" >> .bash_profile
@mikeal
mikeal / gist:8150724
Created December 27, 2013 18:25
CouchDB attachments manta thread
https://twitter.com/izs/status/416635696367951873
let's talk here, we have commments with mor ethan 140 characters!
@mikeal
mikeal / gist:7835772
Last active December 30, 2015 13:29
Libertarianism, Meritocracy and Equality

TLDR;

Libertarianism when applied to the social and political structure of technology and open source (Meritocracy) perpetuates inequality by failing to acknowledge the role of power and current state of inequality.

Long Version

American libertarianism is uniquely American, unfortunately Silicon Valley happens to be in America. It is a political and social philosophy that believes individual ownership and power should supplant collective ownership of any kind. Most immediately the ownership and interventionist powers of government should be dismantled and the free market should be left with the responsibility of creating equality and individuals expected to protect their own interests.

Filtered through the lens of technology this becomes a more unified theory of Meritocracy. Being that we don't trade goods for currency we don't have a traditional market and libertarians must invent one. A strange mix of experience, social capital, and skill are a sort of currency in technology communities. Merit

@mikeal
mikeal / gist:6685843
Last active December 23, 2015 19:58
Response to comments by Issac Roth of StrongLoop

This is rather out of date and we've all moved past it. Me and Issac are cool now.

pic

@matb33
matb33 / aws-sdk.js
Created April 12, 2013 19:09
AWS SDK Smart Package -- Exposes the SDK as AWS.SDK and provides a helper function to sign URLs
AWS = (function () {
var SDK = Npm.require("aws-sdk");
var crypto = Npm.require("crypto");
var url = Npm.require("url");
function getAuthenticatedURL(fullUrl, accessKeyID, secretAccessKey, expires) {
/*
Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
@andrewxhill
andrewxhill / index.html
Last active December 10, 2015 15:38
Simple CartoDB + D3 earthquake example
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Easy earthquakes</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://libs.cartocdn.com/cartodb.js/v2/cartodb.js"></script>
<style type="text/css">
body{
@aedoran
aedoran / test.js
Created September 24, 2012 22:43
zombie concurrency test script
var Browser = require("zombie"),
program = require("commander");
program
.version('0.0.1')
.option('-l, --location <string>', 'location:port')
.option('-u, --username <string>', 'username')
.option('-p, --password <string>', 'password')
.option('-c, --concurrencies <integer>', 'number of browsers you want')