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 / OpenShift-Container-Matrix.html
Last active February 6, 2016 12:34
OpenShift Container Matrix - LinuxCon EU
<section>
<section id='OpenShift-Container-Matrix' data-markdown>
# OpenShift
## Container Matrix
http://bit.ly/container-matrix
</section>
<section data-markdown id='timestamp'>
#### OpenShift: Container Matrix
@ryanj
ryanj / Docker-Develop-and-Deploy.html
Last active February 6, 2016 12:34
Docker: Develop and Deploy - LinuxCon NA 2015 / ContainerCon - @ryanj
<section>
<section id='Docker-Develop-and-Deploy' data-markdown>
##Docker:
# Develop
and
# Deploy
http://bit.ly/dev-deploy-linuxcon2015
</section>
<section data-markdown id='timestamp'>
{
"apiVersion": "v1beta1",
"items": [
{
"apiVersion": "v1beta1",
"containerPort": 8080,
"id": "frontend",
"kind": "Service",
"port": 5432,
"selector": {
@JeffPaine
JeffPaine / i3-cheat-sheet.md
Last active August 10, 2025 22:19
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3
@ryanj
ryanj / Release-Pipelines-for-the-Open-Web.html
Last active August 29, 2015 14:16
Building Release Pipelines on the Open Web - Fluent 2015 - @ryanj
<section>
<section id='Open-Web-Release-Pipelines' data-markdown>
##Building
# Release
# Pipelines
for the
## Open Web
@creationix
creationix / instructions.md
Last active February 4, 2025 22:08
Installing Ubuntu Gnome 14.10 on Late 2013 Retina Macbook Pro 13"

Installing Ubuntu on a Mac

Desktop linux has been late to the show with high dpi support, but gnome seems to be leading the pack. I decided to try again. It's worked fairly well out of the box. Here are my steps if anyone wishes to repeat.

Booting into Ubuntu Live Image

@ryanj
ryanj / README.md
Last active August 29, 2015 14:15
How to get Fedora21 minimal runing on the RaspberryPi 2.0

Fedora21 minimal on RPi-2

This guide assumes that your SD slot is available at /dev/sdb. Make sure to substitute the correct value for your own SD device (or you might wipe out one of your hard disks)!! USE AT YOUR OWN RISK

  1. Download the experimental Fedora spin:
curl -O http://www.digitaldreamtime.co.uk/Fedora/Pi2B-Minimal-armhfp-21-5-20150211-1.img.xz
<!-- Opening -->
<section>
<section>
<h1 style="font-size: 3.4em; margin-top: -25px;">Connecting Containers</h1>
<img src="https://raw.githubusercontent.com/codemiller/connecting-containers/gh-pages/images/boxillusion.png" style="width: 210px; background-color: inherit; border: none; box-shadow: none;"/>
<h3>Building a PaaS with Docker and&nbsp;Kubernetes</h3>
<p>
Presented by<br/>
<a href="http://www.codemiller.com">Katie Miller</a> / <a
href="http://twitter.com/codemiller">@codemiller</a><br/>

Disclaimer: This is an unofficial post by a random person from the community. I am not an official representative of io.js. Want to ask a question? open an issue on the node-forward discussions repo

io.js - what you need to know

io-logo-substack

  • io is a fork of node v0.12 (the next stable version of node.js, currently unreleased)
  • io.js will be totally compatible with node.js
  • the people who created io.js are node core contributors who have different ideas on how to run the project
  • it is not a zero-sum game. many core contributors will help maintain both node.js and io.js
@ryanj
ryanj / base64encode.php
Created November 21, 2014 22:17
encode assets to be loaded inline as dataURIs
<?php
function base64DataUri($sFile)
{
// Switch to right MIME-type
$sExt = strtolower(substr(strrchr($sFile, '.'), 1));
switch($sExt)
{
case 'gif':