Skip to content

Instantly share code, notes, and snippets.

@grk
grk / semaphore_t.hpp
Created June 6, 2011 07:15
OS X semaphore
#ifndef __semaphore_t_h__
#define __semaphore_t_h__
#ifdef __APPLE__
#include <mach/mach_init.h>
#include <mach/task.h>
#include <mach/semaphore.h>
class semaph_t
@import "bootstrap/reset";
@import "bootstrap/variables";
// overwrite variables here
@import "bootstrap/mixins";
@import "bootstrap/scaffolding";
source "https://rubygems.org"
gem 'faraday'
gem 'faraday_middleware'
gem 'active_support'
➜ ~ heroku help | grep account
account # manage heroku account options
members # manage membership in organization accounts
orgs # manage organization accounts
➜ ~ heroku account
! `account` is not a heroku command.
! See `heroku help` for a list of available commands.
➜ ~ heroku help account
! account is not a heroku command. See `heroku help`.
➜ ~
# config/deploy/shelly/before_restart
set -e
# link nested directory public/system to persistent disk/system
mkdir -p disk/public/images
ln -s ../disk/public/images public/images

Keybase proof

I hereby claim:

  • I am grk on github.
  • I am grk (https://keybase.io/grk) on keybase.
  • I have a public key whose fingerprint is B77C 9105 1DFD 0CF4 7401 FD15 14C6 DB7E EFF5 4934

To claim this, I am signing this object: