The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
[ | |
// Sublime Text 2 Keymap - Bold & Italic for Markdown Syntax | |
{ "keys": ["super+shift+i"], "command": "insert_snippet", "args": {"contents": "*${SELECTION}*" },"context":[{"key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }]}, | |
{ "keys": ["super+shift+b"], "command": "insert_snippet", "args": {"contents": "**${SELECTION}**" },"context":[{"key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }]} | |
] |
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
window.onorientationchange = function(){ | |
var orientation = window.orientation; | |
// Look at the value of window.orientation: | |
if (orientation === 0){ | |
// iPad is in Portrait mode. | |
} | |
else if (orientation === 90){ | |
// iPad is in Landscape mode. The screen is turned to the left. | |
} | |
else if (orientation === -90){ |
<snippet> | |
<content><![CDATA[ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=${1:50})"; ${3:/* IE 8 */} | |
filter: alpha(opacity=${1:50}); ${3:/* IE 5-7 */} | |
-moz-opacity: ${2:0.5}; ${3:/* Netscape */} | |
-khtml-opacity: ${2:0.5}; ${3:/* Safari 1.x */} | |
opacity: ${2:0.5}; ${3:/* Good browsers */} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>opacity</tabTrigger> |
<!-- copy this to YOUR_THEME.tmTheme--> | |
<dict> | |
<key>name</key> | |
<string>diff: deleted</string> | |
<key>scope</key> | |
<string>markup.deleted</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#EAE3CA</string> |
/* Reset */ | |
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, | |
dt, dd, blockquote, address{ | |
margin: 0; | |
padding: 0; | |
} |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
[ | |
//{ "keys": ["super+shift+w"], "command": "insert_snippet", "args": {"name": "Packages/User/w-md.sublime-snippet" }} | |
{ "keys": ["super+shift+w"], "command": "insert_snippet", "args": {"contents": "${1:p}$SELECTION${1:p}" }}, | |
// Bold & Italic for Markdown Sintax | |
{ "keys": ["super+shift+i"], "command": "insert_snippet", "args": {"contents": "*${SELECTION}*" },"context":[{"key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }]}, | |
{ "keys": ["super+shift+b"], "command": "insert_snippet", "args": {"contents": "**${SELECTION}**" },"context":[{"key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }]}, | |
// Bold & Italic for HTML Sintax | |
{ "keys": ["super+shift+i"], "command": "insert_snippet", "args": {"contents": "<em>${SELECTION}</em>" },"context":[{"key": "selector", "operator": "equal", "operand": "text.html", "match_all": true }]}, |
/** | |
* Helvetica Neue Normal (No Stretch) | |
*/ | |
/* Helvetica Neue Black Font Stack */ | |
.{font-family: "HelveticaNeueBlack", "HelveticaNeue-Black", "Helvetica Neue Black", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosBold', "Arial Black", sans-serif; font-weight:800; font-stretch:normal;} | |
/* Helvetica Neue Heavy Font Stack */ | |
.{font-family: "HelveticaNeueHeavy", "HelveticaNeue-Heavy", "Helvetica Neue Heavy", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosBold', "Arial Black", sans-serif; font-weight:700; font-stretch:normal;} |
#!/bin/bash | |
# NOTE: requires ImageMagick | |
# NOTE: will tint to the Solarized Dark default background scheme, as the iTerm background blend option didn't lower the contrast enough for me | |
# NOTE: Optimised for a 1280x800 point screen (my 13" Retina MBP) | |
set -e | |
index=$[ 1 + $[ RANDOM % 10 ]] | |
img=`curl https://unsplash.com/rss/ | xmllint --xpath '/rss/channel/item['$index']/image/url/text()' -` | |
curl "$img" > ~/unsplash-latest.jpg && |