Skip to content

Instantly share code, notes, and snippets.

@ograycode
ograycode / matching_configs.rb
Created May 4, 2017 20:51
Find matching configs between heroku apps
=begin
Usage: ruby matching_configs <app1> <app2>
=end
require 'json'
first_app_name = ARGV[0]
second_app_name = ARGV[1]
puts "Finding matches for #{first_app_name} -> #{second_app_name}"
@dhrrgn
dhrrgn / gist:10125477
Last active February 26, 2021 18:42
Upgrade Ubuntu OpenSSL to patch Heartbleed
sudo apt-get update
sudo apt-get install -y libssl1.0.0 openssl
# Confirm Build Date is at least Aril 7th 2014
openssl version -a
# Restart all services listed by this command:
sudo lsof -n | grep ssl | grep DEL
@phaedryx
phaedryx / summary
Last active September 5, 2025 16:52
Loyalty and Layoffs by David Brady
Original text here: https://whydavewhy.com/2013/08/16/loyalty-and-layoffs/
@jankuca
jankuca / index.js
Created March 17, 2011 09:48
Simple Facebook Graph API Node.js Client
var HTTPS = require('https');
var QueryString = require('querystring');
/**
* Facebook API Wrapper
* @constructor
* @param {Object} info Info about the Facebook application
*/
var Client = function (info) {
if (!info.id) {