Skip to content

Instantly share code, notes, and snippets.

View JC1738's full-sized avatar

Jim Castillo JC1738

  • San Francisco, CA
View GitHub Profile
@jrm
jrm / summary.erb
Last active November 18, 2019 21:02
Dynamic Dashing Index
<script type='text/javascript'>
$(function() {
$('li').live('click', function(e){
window.location = $(this).find('.widget').data('url');
});
});
</script>
<% content_for :title do %>Summary<% end %>
<div class='gridster'>
#!/bin/bash
#
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance.
#
# Must be run with root privileges
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5)
#
export BUILD_DIR="$PWD"
#!/bin/bash
#
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance.
#
# Must be run with root privileges
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5)
#
export BUILD_DIR="$PWD"
@binamov
binamov / user_data.ps1
Last active December 22, 2015 16:28 — forked from scarolan/user_data.ps1
pass this as User Data to ec2 stock Windows AMIs to be able to knife bootstrap (--user-data file://user_data.ps1 w the new cli)
<powershell>
#####
#DON'T FORGET TO SET/CHANGE THE USERNAME/PASSWORD BELOW!
#####
$user="chef"
$password="chef"
# Disable password complexity requirements