Skip to content

Instantly share code, notes, and snippets.

:octocat:

Tarik Guney tarikguney

:octocat:
Block or report user

Report or block tarikguney

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
@olivierlacan
olivierlacan / launch_sublime_from_terminal.markdown
Created Sep 5, 2011
Launch Sublime Text 2 from the Mac OS X Terminal
View launch_sublime_from_terminal.markdown

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@ijt
ijt / http_get.go
Last active Oct 28, 2019
Example of using http.Get in go (golang)
View http_get.go
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
)
You can’t perform that action at this time.