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
// ======================================== | |
// Easings | |
// ======================================== | |
$ease-inOut: ease-in-out; | |
$ease-outSine: cubic-bezier(0.39, 0.575, 0.565, 1); | |
$ease-inOutSine: cubic-bezier(0.445, 0.05, 0.55, 0.95); | |
$ease-inQuad: cubic-bezier(0.55, 0.085, 0.68, 0.53); | |
$ease-outQuad: cubic-bezier(0.25, 0.46, 0.45, 0.94); | |
$ease-inOutQuad: cubic-bezier(0.455, 0.03, 0.515, 0.955); |
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
# Delete empty lines | |
^\s*$ | |
# Match tag and text spanning across multiple lines | |
<div[\r\s\S]+?</div> |
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
# Commands | |
**Show hidden files**: | |
`defaults write com.apple.Finder AppleShowAllFiles YES` | |
**Disable photos from auto-opening** (worked in El Capitan, http://bit.ly/2c6rVrX): | |
`defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES` | |
**Open Hosts**: | |
`sudo open -t /etc/hosts/` |
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
EaseOutSine: bezier(0,39; 0,575; 0,565; 1) | |
EaseInOutSine: bezier(0,445; 0,05; 0,55; 0,95) | |
EaseInQuad: bezier(0,55; 0,085; 0,68; 0,53) | |
EaseOutQuad: bezier(0,25; 0,46; 0,45; 0,94) | |
EaseInOutQuad: bezier(0,455; 0,03; 0,515; 0,955) | |
EaseInCubic: bezier(0,55; 0,055; 0,675; 0,19) | |
EaseOutCubic: bezier(0,215; 0,61; 0,355; 1) | |
EaseInOutCubic: bezier(0,645; 0,045; 0,355; 1) | |
EaseInQuart: bezier(0,895; 0,03; 0,685; 0,22) | |
EaseOutQuart: bezier(0,165; 0,84; 0,44; 1) |
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
<v:asset.prefetch domains="use.typekit.net" /> | |
<v:asset.script path="myscript.js" external="true" standalone="true" movable="false" /> | |
<v:asset.script external="true" standalone="true" movable="false">try{Typekit.load({ async: true });}catch(e){}</v:asset.script> |
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
{f:uri.resource(path:'Assets/some/thing')} |
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
// Add to setup.txt | |
plugin.tx_powermail { | |
view { | |
templateRootPaths.1 = EXT:myextension/Resources/Powermail/Templates/ | |
partialRootPaths.1 = EXT:myextension/Resources/Powermail/Partials/ | |
layoutRootPaths.1 = EXT:myextension/Resources/Powermail/Layouts/ | |
} | |
} | |
page { |
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
# Random Docker commands I usually forget | |
**Docker "SSH"** (http://bit.ly/1PMN6MM): | |
`docker exec -it <containerIdOrName> bash` | |
**Remove all containers** | |
`docker rm $(docker ps -aq)` | |
**Stop all containers** | |
`docker stop $(docker ps -a -q)` |
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
<div class="Container"> | |
<div class="Wrap"> | |
<div class="Grid"> | |
<div class="Grid-cell m-Width--6of12"> | |
</div> | |
</div> | |
</div> | |
</div> |
NewerOlder