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/bash | |
hostname=$(hostname -s) | |
cd ~/Library/Application\ Support/com.bohemiancoding.sketch3/ | |
rm .license && touch .license && echo '{"meta":{"generated_at":"'$(date)'","sign":"==","device_name":"'$hostname "("$(id -un)')"},"payload":{"status":"ok","application":"sketch3","type":"license","udid":"c2d8c1dd037f919d57124de1037eeb22efad6bd1","expiration":"9999999999"}}' >> .license | |
echo '127.0.0.1 backend.bohemiancoding.com' | sudo tee -a /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
@mixin do-columns($width-list) { | |
& { | |
width: 100%; | |
font-size: 0; | |
} | |
>* { | |
@include ext_default-font-size; | |
display: inline-block; | |
vertical-align: top; |
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
###Git discard all local changes/commits and pull from upstream | |
git reset --hard origin/your_branch | |
git pull origin your_branch |