- Open Automator
- Choose Quick Action as the document type
- Change Workflow receives current to files or folders in Finder.app
- For Action, choose Open Finder items from the left hand sidebar
- Change Open with to Visual Studio Code.app (find it in Other... )
- For the Icon, change Image to "Choose..." and select the Visual Stuido Code app. It'll automatically pick the icon
- Save it (Cmd+S) as something like "Open in VS Code"
This file contains 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
{ | |
"0": { | |
"day": { | |
"description": "Sunny", | |
"image": "http://openweathermap.org/img/wn/[email protected]" | |
}, | |
"night": { | |
"description": "Clear", | |
"image": "http://openweathermap.org/img/wn/[email protected]" | |
} |
This file contains 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
#!/bin/sh | |
# | |
# Setup a work space called `work` with two windows | |
# first window has 3 panes. | |
# The first pane set at 65%, split horizontally, set to api root and running vim | |
# pane 2 is split at 25% and running redis-server | |
# pane 3 is set to api root and bash prompt. | |
# note: `api` aliased to `cd ~/path/to/work` | |
# | |
session="work" |
This file contains 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
{% comment %} | |
Loops though every collection you defined in _config.yml and grabs the pages they contain; outputting titles. | |
{% endcomment %} | |
{% for collection in site.collections %} | |
{% assign name = collection.label %} | |
<h1>{{ name }}</h1> |
This file contains 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
table { display: table } | |
tr { display: table-row } | |
thead { display: table-header-group } | |
tbody { display: table-row-group } | |
tfoot { display: table-footer-group } | |
col { display: table-column } | |
colgroup { display: table-column-group } | |
td, th { display: table-cell } | |
caption { display: table-caption } |
This file contains 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
<table> | |
<caption>Awesome caption</caption> | |
<thead> | |
<tr> | |
<th></th> | |
<th>million km</th> | |
<th>m</th> | |
</tr> | |
</thead> | |
<tbody> |
This file contains 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
# install Homebrew if you don't already have it: http://mxcl.github.io/homebrew/ | |
# On Mac, Homebrew with homebrew-dupes will allow you to easily upgrade nano to a newer version than the one that came with Mac OSX. | |
# [homebrew-dupes](https://github.com/Homebrew/homebrew-dupes): | |
# These formulae duplicate software provided by OS X, though may provide more recent or bugfix versions. | |
# Add the dupes formulae, then install a new version of nano. | |
brew tap homebrew/dupes | |
brew install nano |