Skip to content

Instantly share code, notes, and snippets.

@Jeraimee
Jeraimee / gist:8bc80f264565cb2a1da01ca39b9f8df6
Created June 19, 2017 23:47
google-drive-ocamlfuse config
apps_script_format=json
apps_script_icon=
async_upload=true
cache_directory=
client_id=**********************************************
client_secret=******************************
connect_timeout_ms=5000
curl_debug_off=false
data_directory=
delete_forever_in_trash_folder=false
### Keybase proof
I hereby claim:
* I am jeraimee on github.
* I am jeraimee (https://keybase.io/jeraimee) on keybase.
* I have a public key whose fingerprint is F3DE 3BF8 1489 3D90 374C F9CF ABD0 5631 AE5C BE6C
To claim this, I am signing this object:
@Jeraimee
Jeraimee / gist:bbafcc3c0cd8e6740ae0
Created June 17, 2014 12:17
homebrew diag info for issue 21617
/* --config */
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 808097a933dcebe97258c41a220619712ee2d7cc
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 5.1.1
brew doctor output:
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install php54
@Jeraimee
Jeraimee / sysctl.conf
Created June 27, 2012 02:35
sysctl.conf
This sysctl.conf is used on a CentOS 6.2 system doing heavy tcp comms using ActiveMQ.
fs.file-max = 999999
net.core.netdev_max_backlog = 10240
net.core.somaxconn = 10240
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
@Jeraimee
Jeraimee / gist:975322
Created May 16, 2011 20:38
Proper Test Patch
Index: ext/mcrypt/tests/bug46010.phpt
===================================================================
--- ext/mcrypt/tests/bug46010.phpt (revision 310977)
+++ ext/mcrypt/tests/bug46010.phpt (working copy)
@@ -1,5 +1,7 @@
--TEST--
Bug #46010 (warnings incorrectly generated for iv in ecb mode)
+--SKIPIF--
+<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
# Partial for 'new comment' derived from http://railscasts.com/episodes/154-polymorphic-association
#
<% form_for [@commentable, Comment.new] do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :content %><br />
<%= f.text_area :content %>
</p>
<p><%= f.submit "Submit" %></p>
<% end %>