Skip to content

Instantly share code, notes, and snippets.

View joedevivo's full-sized avatar
💻
commands

Joe DeVivo joedevivo

💻
commands
View GitHub Profile
Download EasySIMBL: https://github.com/norio-nomura/EasySIMBL
Download Maximizer: http://chpwn.com/apps/maximizer.html
EasySIMBL is SIMBL with some added compatibility for OS X Lion / Mount'n Lion.
Drag the app to your applications folder, open it up and check the box that says "Use SIMBL".
Then click the button that says "Show Plugin Folder" and drag the Maximizer into that folder.
Close EasySIMBL and Emacs.
When you reopen emacs, you'll be able to go into fullscreen emacs by clicking the arrows on the top right corner.
The end.
*Window A*
➜ ~ erl -name node@127.0.0.1 -setcookie joe
*Window B*
# 1, try starting erl with -remsh via open_port
➜ ~ erl
Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:4:4] [async-threads:0] [kernel-poll:false]
Eshell V5.9.3.1 (abort with ^G)
1> P = open_port({spawn, "erl -name local@127.0.0.1 -hidden -remsh node@127.0.0.1 -setcookie joe"},
@joedevivo
joedevivo / gist:7305410
Created November 4, 2013 16:42
Mapping of riak configuration values from app.config to riak.conf current as of November 4, 2013
app.config field riak.conf variable
-------------------------------------------------------------------------------------------
yokozuna.enabled yokozuna
yokozuna.solr_port yokozuna.solr_port
yokozuna.solr_jmx_port yokozuna.solr_jmx_port
yokozuna.solr_jvm_args yokozuna.solr_jvm_args
yokozuna.yz_dir yokozuna.data_dir
riak_repl.data_root mdc.data_root
riak_core.cluster_mgr mdc.cluster_manager
riak_repl.max_fssource_cluster mdc.max_fssource_cluster
@joedevivo
joedevivo / generated.app.config
Created November 5, 2013 15:30
Here's the app.config generated by the same run I used to create this: https://gist.github.com/joedevivo/7305410
[{riak_sysmon,
[{process_limit,30},
{port_limit,2},
{gc_ms_limit,0},
{heap_word_limit,40111000},
{busy_port,true},
{busy_dist_port,true}]},
{yokozuna,
[{solr_port,8093},
{solr_jmx_port,8985},
@joedevivo
joedevivo / gist:7436363
Created November 12, 2013 18:39
Fat finger a config line? Now we're making suggestions!
➜ riak git:(develop) ✗ ./rel/riak/bin/riak config generate
11:19:50.527 [warning] You've tried to set anti_entrophy, but there is no setting with that name.
11:19:50.527 [warning] it could be a typo. Did you mean one of these?
11:19:50.545 [warning] anti_entropy
11:19:50.545 [warning] anti_entropy.tick
11:19:50.545 [warning] anti_entropy.expire
@joedevivo
joedevivo / Makefile
Last active April 27, 2016 14:43
rebar3.mk
REBAR3_URL=https://s3.amazonaws.com/rebar3/rebar3
# If there is a rebar in the current directory, use it
ifeq ($(wildcard rebar3),rebar3)
REBAR3 = $(CURDIR)/rebar3
endif
# Fallback to rebar on PATH
REBAR3 ?= $(shell test -e `which rebar3` 2>/dev/null && which rebar3 || echo "./rebar3")
@joedevivo
joedevivo / Left.scad
Created June 23, 2017 02:18
EasyDactyl v0.2 scad
module Left(){
board_thickness = 1.600000;
eta = 0.1;
board_size = [17.450000,48.250000,board_thickness];
fn = 18;
board_origin = [1.270000,1.270000];
union(){
color("red")difference(){
translate(board_origin)cube(board_size); //Board
translate([16.510,27.940,-eta])cylinder(r=0.508000, h=board_thickness+eta*2,$fn=fn); //1X06 1
@joedevivo
joedevivo / keybase.md
Created January 26, 2021 14:38
keybase.md

Keybase proof

I hereby claim:

  • I am joedevivo on github.
  • I am joedevivo (https://keybase.io/joedevivo) on keybase.
  • I have a public key ASDr3-USolGpksHhpEK_n1ur1Bw7P_3NDDbp81WC8JDvawo

To claim this, I am signing this object: