Skip to content

Instantly share code, notes, and snippets.

View thisavoropaev's full-sized avatar

Andrei Varapayeu thisavoropaev

View GitHub Profile
#!/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
@mixin do-columns($width-list) {
& {
width: 100%;
font-size: 0;
}
>* {
@include ext_default-font-size;
display: inline-block;
vertical-align: top;
@thisavoropaev
thisavoropaev / bash.sh
Last active December 15, 2015 22:49
Delete local commits
###Git discard all local changes/commits and pull from upstream
git reset --hard origin/your_branch
git pull origin your_branch