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
$(window).bind("orientationchange", -> | |
$scope.orientation = window.orientation | |
$(document.body).css({ | |
width: $(window).width() | |
height: $(window).height() | |
}) | |
if window.orientation % 180 is 0 | |
rotation = "rotate(-90deg)" | |
if window.orientation > 0 |
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 | |
for f in *.sass; do sass-convert $f ${f%sass}scss ; done | |
rm *.scss |
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 tag -a v1.0.0 -m 'tagging v1.0.0' | |
git push --tags |
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
{ | |
"box-model" : true, | |
"display-property-grouping" : true, | |
"duplicate-properties" : true, | |
"empty-rules" : true, | |
"known-properties" : true, | |
"non-link-hover" : false, | |
"adjoining-classes" : false, | |
"box-sizing" : false, | |
"compatible-vendor-prefixes" : true, |
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
find . -type f -name "*.sass" -exec bash -c 'sass-convert ${0} -i --to scss; git mv ${0} ${0%.sass}.scss' {} \; |
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
find . -type f -name "*.scss" -exec bash -c 'grep -rin calc ${0};' {} \; |
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 | |
# Disclaimer: never got this to work properly and have not attempted it since. | |
# This will require about 30GB of space, still in experimental phase right now | |
sudo gem install iesd | |
cd /Applications # Or wherever you hve the "Install 10.12 Developer Preview.app" available | |
iesd -i Install\ 10.12\ Developer\ Preview.app -o macos.dmg -t BaseSystem | |
hdiutil convert macos.dmg -format UDSP -o macos.sparseimage |
Static file server with livereload, preprocessors, synchronised testing over multiple browser instances and batteries included. This setup uses Harp and Browsersync, hence the name.
You will need node, install it if you haven't already.
curl -Lo concourse https://github.com/concourse/concourse/releases/download/v2.5.0/concourse_darwin_amd64 && chmod +x concourse && mv concourse /usr/local/bin
OlderNewer