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
sudo vim /etc/init/httpd-start.conf | |
description "start httpd service after shared folder is mounted" | |
start on vagrant-mounted | |
#restart if die | |
respawn | |
#creates child processes | |
expect fork |
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
.q-as > li { | |
opacity: 0; | |
$delay: 0ms; | |
@for $i from 1 through 4 { | |
$delay: $delay + 40; | |
&:nth-child(#{$i}) { @include transition-delay($delay); } | |
} | |
.visible & { opacity: 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
(function() { | |
var Person = { | |
init: function() { | |
this.form = $('#form'); | |
this.bindEvents(); | |
}, | |
bindEvents: function() { |
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
if('classList' in document.createElement('p')) { | |
console.log('classlist supported'); | |
} else { | |
console.log('classlist not supported'); | |
} |
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
@import "suitcss-base"; | |
@import "suitcss-utils-align"; | |
@import "suitcss-utils-display"; | |
@import "suitcss-utils-layout"; | |
@import "suitcss-utils-link"; | |
@import "suitcss-utils-offset"; | |
@import "suitcss-utils-position"; | |
@import "suitcss-utils-size"; | |
@import "suitcss-utils-text"; |
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/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
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
CACHE MANIFEST | |
# | |
# Version Control | |
# v0.0.0 00-00-0000 | |
# | |
# Handy Dandy Developer Tools | |
# CHROME chrome://appcache-internals | |
# FIREFOX about:cache | |
# Charles - Web Debugging Proxy App | |
# http://charlesproxy.com |
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
1 Peach | |
1/2 Apple | |
1 Slice of fresh pineapple | |
6 Red grapes | |
2 TBSP Plain Yogurt unsweetened | |
1 1/2 cup of organic soy milk | |
1 tsp chia seeds | |
4 capsules Bee Pollen NSP | |
1 scoop Love and Peas protein powder (optional) or Syner Protein powder for Mexico clients. | |
1 TBSP RawPumpkin Seeds (soaked overnight) |
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
// Ala Thomas Fuchs : retinafy | |
function retinaDevice() { | |
return (('devicePixelRatio' in window && devicePixelRatio > 1) || | |
('matchMedia' in window && !matchMedia("(-moz-device-pixel-ratio:1.0)").matches)) | |
} |
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://ziadrahhal.com/2012/05/recommended-wp_title-filter-in-wordpress | |
// http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_title | |
// http://codex.wordpress.org/Function_Reference/wp_title | |
// Title tag filter | |
// required for themes | |
// a custom callback function that displays a meaningful title | |
// depending on the page being rendered | |
function wp_flex_title_filter( $title, $sep, $sep_location ) { |
OlderNewer