Skip to content

Instantly share code, notes, and snippets.

View joeljacobson's full-sized avatar

Joel Jacobson joeljacobson

View GitHub Profile
@artero
artero / launch_sublime_from_terminal.markdown
Last active May 15, 2024 03:38 — forked from olivierlacan/launch_sublime_from_terminal.markdown
Launch Sublime Text 2 from the Mac OS X Terminal

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@seancribbs
seancribbs / 00-README.md
Last active August 29, 2015 13:56
An RSVP-list demo on top of Riak 2.0 Datatypes

An RSVP-list demo on top of Riak 2.0 Datatypes

This is a purely in-browser demo of Riak 2.0's sets datatype. The application code uses React.js and jquery.

To get started, make a 5-node devrel cluster of the 2.0 preview using these instructions. After your cluster is built, make a bucket-type for sets:

cd dev/dev1
bin/riak-admin bucket-type create sets '{"props":{"datatype":"set","allow_mult":true}}'
bin/riak-admin bucket-type activate sets

Git Cheat Sheet

Commands

Getting Started

git init

or

@gmflau
gmflau / README.md
Last active March 16, 2018 06:18
Configuring LDAP for DataStax Enterprise OpsCenter with OpenLDAP
  1. Sample opscenterd.conf with [authentication] and [ldap] sections
[authentication]
# Set this option to True to enable OpsCenter authentication.  A default admin
# account will be created with the username "admin" and password "admin".
# Accounts and roles can then be created and modified from within the web UI.
enabled = True
authentication_method = LDAP