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
http_path = "/" | |
css_dir = ".." | |
sass_dir = ".." | |
images_dir = "images" | |
javascripts_dir = "js" | |
# output setup | |
# sass_options = { :sourcemap => true } | |
# sass_options = { :debug_info => true } | |
# output_style = :nested |
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
{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**" | |
], | |
"always-semicolon": true, | |
"block-indent": " ", | |
"colon-space": ["", " "], | |
"color-case": "lower", | |
"color-shorthand": 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
#!/bin/bash | |
# Functions | |
ok() { echo -e '\e[32m'$1'\e[m'; } # Green | |
EXPECTED_ARGS=3 | |
E_BADARGS=65 | |
MYSQL=`which mysql` | |
Q1="CREATE DATABASE IF NOT EXISTS $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
# Global configuration file. | |
# ESSENTIAL : Configure Nginx Listening Port | |
#listen 127.0.0.1:8080; | |
listen 80; | |
# ESSENTIAL : Default file to serve. If the first file isn't found | |
index index.php index.html index.htm; | |
# ESSENTIAL : no favicon logs | |
location = /favicon.ico { |
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
#!/usr/bin/env bash | |
# | |
# Nginx - new server block | |
# Functions | |
ok() { echo -e '\e[32m'$1'\e[m'; } # Green | |
die() { echo -e '\e[1;31m'$1'\e[m'; exit 1; } | |
# Variables | |
NGINX_AVAILABLE_VHOSTS='/etc/nginx/sites-available' |
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
<h2>nth()</h2> | |
<code>$hrs: pony, horse, mini-horse, maxi-pony;</code> | |
<div class="horses-nth-1"></div> | |
<div class="horses-nth-2"></div> | |
<div class="clear"></div> | |
<h2>Loop</h2> |
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
<h1>Horses with backgorunds!</h1> | |
<div class="horses--horse"></div> | |
<div class="horses--pony"></div> | |
<div class="horses--maxi-pony"></div> | |
<div class="horses--mini-horse"></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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
//--------------------------------------// | |
// Media queries | |
//--------------------------------------// | |
$breakpoints: ( | |
"s": (min-width, 48em), |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$primary-colors: ( | |
"red": "#ff0000", | |
"green": "#00ff00", | |
"blue": "#0000ff" | |
); |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$primary-colors: ( | |
"red": (rbga(255, 0, 0, .5), rbg(255, 0, 0)), | |
"green": (rbga(255, 0, 0, .5), rbg(0, 255, 0)), | |
"blue": (rbga(255, 0, 0, .5), rbg(0, 0, 255)) | |
); |
OlderNewer