Skip to content

Instantly share code, notes, and snippets.

Seshadri Mahalingam seshness

Block or report user

Report or block seshness

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 open-hdinsight-key-decryption-cert.sh
sudo chmod 755 /usr/lib/hdinsight-common/certs/
sudo chmod 744 /usr/lib/hdinsight-common/certs/key_decryption_cert.prv
@seshness
seshness / .block
Last active Apr 5, 2016
Guess the Legend
View .block
license: bsd-3-clause
height: 700
@seshness
seshness / Forced unwrapping causes errors elsewhere.swift
Created Aug 19, 2014
Causes an error in the playground, which is expected. What's unexpected is the line on which the error occurs.
View Forced unwrapping causes errors elsewhere.swift
// Playground - noun: a place where people can play
import Cocoa
var str:String? = "Hello, playground"
str = nil
if let actualStr = str {
println(str)
@seshness
seshness / Turn ⇪ into ⌃ on a Mac
Last active Dec 13, 2015
Make your Caps Lock key a Control key
View Turn ⇪ into ⌃ on a Mac
on caps_lock_to_control()
tell application "System Preferences"
tell application "System Events" to tell process "System Preferences" to tell window "Keyboard"
click pop up button "Caps Lock (⇪) Key:" of sheet 1
click menu item "⌃ Control" of menu 1 of pop up button "Caps Lock (⇪) Key:" of sheet 1
end tell
end tell
end caps_lock_to_control
tell application "System Preferences"
@seshness
seshness / HowToSharedRepoModelOnGitHub.md
Created Oct 24, 2012
Shared Repository Model for Pull Requests and Code Review
View HowToSharedRepoModelOnGitHub.md

The Shared Repository Model

$ git clone git@github.com:berkeley-food-recommendations/data-gathering.git

You're cloning the main repository - be careful! We're going to enforce a "no committing to master directly" rule, so no committing directly to master, please.

Short Version

You can’t perform that action at this time.