Skip to content

Instantly share code, notes, and snippets.

View rr1000's full-sized avatar
🦾
Keep moving forward.

Ryan Rich rr1000

🦾
Keep moving forward.
View GitHub Profile
ryanrich@rrich-2 ~ % /bin/bash -c "$(curl -fsSL https://rails.new/✨)"
█▄▄ █░█ █░░ █░░ █▀▀ ▀█▀   ▀█▀ █▀█ ▄▀█ █ █▄░█
█▄█ █▄█ █▄▄ █▄▄ ██▄ ░█░   ░█░ █▀▄ █▀█ █ █░▀█
█▀█ █▀█ █▀▀ █▀ █▀▀ █▄░█ ▀█▀ █▀
█▀▀ █▀▄ ██▄ ▄█ ██▄ █░▀█ ░█░ ▄█
/* Fonts are freely available on Google fonts */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Inconsolata';
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'GT America', sans-serif;
}
div,
@rr1000
rr1000 / BaaS Data Export Script
Created July 10, 2017 21:27
Migrate your data off of the Datica Backend as a Service product.
#!/usr/bin/env python
import base64
import getpass
import json
import os
import os.path
import readline
import sys
import time
import urllib2

Keybase proof

I hereby claim:

  • I am rr1000 on github.
  • I am ryansrich (https://keybase.io/ryansrich) on keybase.
  • I have a public key ASCzwfPblqo3WIIPKuYV1Ac_EW9wLO4PE58oC2NvEhWaIwo

To claim this, I am signing this object:

@rr1000
rr1000 / GIF-Screencast-OSX.md
Created January 25, 2016 04:17 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

.btn{
display: inline-block;
padding: 0 15px;
text-align: center;
text-decoration: none;
@include border-radius(5px);
cursor: pointer;
}
@mixin main-cta($g1, $g2){
@extend .btn;
<html></html>
@rr1000
rr1000 / gist:513c7871ae0665e7f1ad
Created June 23, 2014 17:58
Testing This Ruby
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>#</title>
<meta name="description" content="#">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="#">
</head>
@rr1000
rr1000 / gist:45530762b21a06a3493f
Created June 23, 2014 17:56
Testing This Ruby
version = ARGV.pop
if version.nil?
puts "Usage: ruby install.rb version"
exit(64)
end
%w( activesupport activemodel activerecord actionpack actionview actionmailer railties ).each do |framework|
puts "Installing #{framework}..."
`cd #{framework} && gem build #{framework}.gemspec && gem install #{framework}-#{version}.gem --no-ri --no-rdoc && rm #{framework}-#{version}.gem`