Skip to content

Instantly share code, notes, and snippets.

Caesar Wirth cjwirth

Block or report user

Report or block cjwirth

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
View keybase.md

Keybase proof

I hereby claim:

  • I am cjwirth on github.
  • I am cjwirth (https://keybase.io/cjwirth) on keybase.
  • I have a public key ASB_LWQzGBxy_rb9G12eJQ7w73t2aBTDxxQubF5FKYZsZgo

To claim this, I am signing this object:

View gist:a7893a8548e6b95b4f3accc5e20b00b4
encrypt () {
gpg2 --symmetric --armor --force-mdc --batch -o $PWD/$2 $PWD/$1
}
decrypt () {
gpg2 --decrypt --batch -o $PWD/$2 $PWD/$1
}
@cjwirth
cjwirth / Access.md
Created Feb 4, 2016
Access Information to try! Swift
View Access.md

Access

try! Swift is being held in CyberAgent, Inc.'s Seminar Room on the 13th floor of Shibuya Mark City. Getting there can be a little unintuitive for first-timers, so it might be a good idea to come a little bit early.

Shibuya Mark City Area

Shibuya Mark City is located directly across from Shibuya Station. From the JR Lines or Subways, follow the signs towards the Keio Inokashira Line (京王井の頭線). If you arrive by the Keio Inokashira Line, you will already be in the right building.

Mark City Area Map

View credential.swift
import Foundation
public class CredentialHelper {
// MARK: Init
private var host: String
private var protectionSpace: NSURLProtectionSpace
public init(host: String) {
self.host = host
protectionSpace = NSURLProtectionSpace(host: host, port: 0, `protocol`: "http", realm: nil, authenticationMethod: nil)
View install-ghc.md

How to install latest GHC 7.8.3 + cabal 1.20.2 on ubuntu

ghc

ubuntu prerequisites

# Multiprecision arithmetic library developers tools
sudo apt-get install libgmp-dev -y
sudo -K
View gist:0cef811b5ac0849739bf
# build with
# docker build -t 'necrobious/haskell-ghc-7.8-64' .
FROM ubuntu:14.04
MAINTAINER necrobious@gmail.com
ENV DEBIAN_FRONTEND noninteractive
####### Install Dependencies ###################################################
RUN apt-get -y update
View gist:79e8696a1ce98bc1c75d
http://apple.stackexchange.com/questions/146849/how-do-i-recompile-bash-to-avoid-shellshock-the-remote-exploit-cve-2014-6271-an
http://www.openlogic.com/wazi/bid/351296/An-introduction-to-systemd-for-CentOS-7
http://www.freedesktop.org/software/systemd/man/systemd.unit.html
vagrant-login (1.0.1, system)
vagrant-share (1.1.1, system)
vagrant-vbguest (0.10.0) <-- needed this to get centos-7 box to work
box i am using:
You can’t perform that action at this time.