This is now an actual repo:
This file contains hidden or 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 | |
# Author: | |
# jnaO | |
red=$(tput setaf 1) | |
yellow=$(tput setaf 3) | |
blue=$(tput setaf 4) | |
green=$(tput setaf 7) | |
normal=$(tput sgr0) |
This file contains hidden or 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
module.exports = (grunt) -> | |
grunt.file.readJSON 'config.json' | |
# Or in a js-version, probably this: | |
# | |
# module.exports = function ( grunt ) { | |
# return grunt.file.readJSON('config.json'); | |
# }; |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[@include media(\$${1:max_mobile${2:__small}}) { | |
${3:// style} | |
}]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>mqm</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.scss</scope> --> | |
</snippet> |
This file contains hidden or 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
=media_min_xs | |
@media only screen and (min-width: 380px) | |
@content | |
// Usage | |
// .item | |
// width: 50% | |
// +media_min_xs | |
// width: 100% |
This file contains hidden or 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
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json | |
AddOutputFilterByType DEFLATE application/javascript | |
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component | |
AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml | |
AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype | |
</IfModule> |
This file contains hidden or 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
[~/Sites/client/project/root] {work} $ chost ../../../client_no_2/other_project/root | |
~---=== New webroot: /Users/uname/Sites/client_no_2/other_project/root ===---~ |
This file contains hidden or 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
[~/Sites/client/project/root] {work} $ chost | |
~---=== New webroot: /Users/uname/Sites/client/project/root ===---~ |
This file contains hidden or 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
.clearfix | |
*zoom: 1 | |
&:before | |
content: " " | |
display: table | |
&:after | |
content: " " | |
display: table | |
clear: both |
This file contains hidden or 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
=linearGradient($deg, $args) | |
$un: $deg - 90 | |
background-image: -webkit-linear-gradient(#{$deg}deg, $args) | |
background-image: -moz-linear-gradient(#{$deg}deg, $args) | |
background-image: -o-linear-gradient(#{$deg}deg, $args) | |
background-image: linear-gradient(#{$un}deg, $args) |
NewerOlder