Skip to content

Instantly share code, notes, and snippets.

Guillaume Marceau gmarceau

Block or report user

Report or block gmarceau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
brew cask install osxfuse
brew install homebrew/fuse/sshfs
mkdir -p ~/remote_mnt/my_server
sshfs -o allow_other,defer_permissions user@my_server:/ ./remote_mnt/my_server/
gmarceau / to_airtable
Last active Feb 15, 2017
Send the output of a command to an Airtable table, along with timestamp and summary of the current git state
View to_airtable
#!/usr/bin/env python
import sys
from airtable import airtable
import datetime
from plumbum.cmd import git
_, api_key, base_id, table_name = sys.argv[0:4]
all_stdin =
View .emacs
;; Guillaume Marceau's .emacs
(cd (getenv "HOME"))
(setq inhibit-startup-message t)
(set-background-color "black")
(set-foreground-color "white")
;; make all "yes or no" prompts show "y or n" instead
(fset 'yes-or-no-p 'y-or-n-p)
gmarceau / expression_integrity_metric.rkt
Created May 15, 2015
Do Values Grow on Trees?: The Expression Integrity Metric
View expression_integrity_metric.rkt
;; The code implementing the expression integrity metric presented in
;; Do Values Grow on Trees?: Expression Integrity in Functional Programming
;; Guillaume Marceau, Kathi Fisler, Shriram Krishnamurthi
;; SIGCSE International Computing Education Research Workshop, 2011
gmarceau / parsing_test.js
Created Mar 30, 2015
elementatry testing in node
View parsing_test.js
var should = require('should.js');
var p = require('./parsing.js')
var test Tweet =
"source" : "web",
"entities" : {
"user_mentions" : [ {
"name" : "Joanne Michele",
"screen_name" : "sabzbrach",
gmarceau / structure of the code follows structure of the data
Created Mar 30, 2015
structure of the code follows structure of the data
View structure of the code follows structure of the data
// loadtweets.js: exports init function, which loads tweets from ./tweets folder into tweet_collection global variable.
var fs = require('fs');
var _und = require('./underscore-min')._;
tweet_collection = [];
function Tweet(diskTweet, donor) {
// if encapsulated RT, act on retweeted_status value instead of entire tweet

Keybase proof

I hereby claim:

  • I am gmarceau on github.
  • I am gmarceau ( on keybase.
  • I have a public key whose fingerprint is 411D B806 EB46 CB92 A22E 58C0 DF67 3496 4D57 8332

To claim this, I am signing this object:

View akkademo-gatekeeper
import scala.concurrent.duration._
class WaitFor(var messages: List[Any => Boolean], andThen: ActorRef) extends Actor with Stash {
var received = List[Any]()
val justForward: Receive = { case msg => andThen forward msg}
You can’t perform that action at this time.