Skip to content

Instantly share code, notes, and snippets.

View tharpa's full-sized avatar

Ra Kowalski tharpa

View GitHub Profile
@tharpa
tharpa / ob-objc.el
Created December 18, 2011 06:50 — forked from peccu/ob-objc.el
org-babel functions for Objective-C language
;;; ob-objc.el --- org-babel functions for Objective-C languages
;; Copyright (C) 2010 Free Software Foundation, Inc.
;; Author: Kentarou Shimatani
;; Keywords: literate programming, reproducible research
;; Homepage: http://orgmode.org
;; Version: 7.01h
@tharpa
tharpa / init.el
Created December 17, 2012 18:47
emacs RET newline-and-indent binding
(add-hook 'objc-mode-hook '(lambda ()
(local-set-key (kbd "RET") 'newline-and-indent)))
@tharpa
tharpa / git ignore ssl verify
Created March 4, 2014 14:47 — forked from byplayer/git ignore ssl verify
Ignore wrong SSL certificates
export GIT_SSL_NO_VERIFY=true
@tharpa
tharpa / flycheck-objc.el
Created April 15, 2014 09:30
Flycheck Objective-C configuration
;;; flycheck-objc.el --- Flycheck for objc-mode. -*- lexical-binding: t; -*-
;; Copyright (C) 2014 Rafal Kowalski
;; Author: Rafal Kowalski <rafal.kowalski@mac.com>
;; Keywords: c, tools
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_github
Host *
ForwardAgent yes
$ ssh -vv getafix
Sun_SSH_1.5, SSH protocols 1.5/2.0, OpenSSL 0x0090819f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to getafix [195.176.182.140] port 22.
debug1: Connection established.
debug1: identity file /home/rk/.ssh/identity type -1
debug1: identity file /home/rk/.ssh/id_rsa type -1
debug1: identity file /home/rk/.ssh/id_dsa type -1
$ ssh -v prefix
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/rk/.ssh/config
debug1: /Users/rk/.ssh/config line 1: Applying options for prefix
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug1: Connecting to prefix [195.176.182.141] port 22.
debug1: Connection established.
debug1: identity file /Users/rk/.ssh/id_dsa type 2
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.headfirst.iwall;
import java.io.Serializable;
import java.util.Set;
/**
{
"timestamp":1346176058594,
"topic":"iwall.application.smartcampus",
"publisherID":1,
"duration":1,
"publicationID":35,
"range":100,
"location":{
"timestamp":1346176000267,
"altitude":0,
@tharpa
tharpa / akka-docs.sh
Created November 15, 2015 22:00 — forked from tlockney/akka-docs.sh
Akka docs on your Kindle!
# This only works with the current master branch of Akka
# Setup the necessary deps
brew install python
# adjust this depending on the latest version of Python that brew installed
export PATH=`brew --prefix python`/bin:/usr/local/share/python:$PATH
pip install sphinx