- Open Automator
- Create a new Service
- Set “Service receives selected” to
files or foldersinany application - Add a
Run Shell Scriptaction - Set the script action to
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@" - Set “Pass input” to
as arguments - Save as
Open in Sublime Text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GOPATH=$(shell pwd)/vendor:$(shell pwd) | |
| GOBIN=$(shell pwd)/bin | |
| GOFILES=$(wildcard *.go) | |
| GONAME=$(shell basename "$(PWD)") | |
| PID=/tmp/go-$(GONAME).pid | |
| build: | |
| @echo "Building $(GOFILES) to ./bin" | |
| @GOPATH=$(GOPATH) GOBIN=$(GOBIN) go build -o bin/$(GONAME) $(GOFILES) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| // simple express server | |
| var express = require('express'); | |
| var app = express(); | |
| var router = express.Router(); | |
| app.use(express.static('public')); | |
| app.get('/', function(req, res) { | |
| res.sendfile('./public/index.html'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="author" content="Galenic"> | |
| <script src="js/jquery-1.9.1.js"></script> | |
| <script src="js/knockout-2.1.0.js"></script> | |
| <script src="js/Chart.js"></script> | |
| <link rel="stylesheet" href="pure-min.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| atom-workspace-axis.vertical atom-pane { | |
| flex-direction: row; | |
| .tab-bar { | |
| box-shadow: inset -1px 0 0 #181a1f; | |
| resize: horizontal; | |
| height: auto; | |
| display: block; | |
| padding-right: 1px; | |
| padding-bottom: 3em; | |
| min-width: 14em; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 1. write it out for older browsers */ | |
| /* 2. use the vendor prefix for webkit */ | |
| /* 3. use the vendor prefix for moz */ | |
| /* 4. include the un-prefixed version last */ | |
| #foo { | |
| width: 200px; | |
| width: -webkit-calc(50% - 100px); | |
| width: -moz-calc(50% - 100px); | |
| width: calc(50% - 100px); |
NewerOlder