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
// bower install --S inuit-starter-kit | |
/** | |
* #SETTINGS | |
*/ | |
@import "bower_components/inuit-defaults/settings.defaults"; | |
// @import "settings.project"; | |
// @import "bower_components/inuit-responsive-settings/settings.responsive"; // bower install -S inuit-responsive-settings | |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> | |
<title>PHP Normform</title> | |
</head> | |
<body> | |
<?php |
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
<?php | |
/******************************************************** | |
* Usage: | |
* - include this file in any document | |
* - use the following PHP tags to show / hide content: | |
* | |
* <?php if( LIKED ): ?> | |
* Welcome my friend | |
* <?php else: ?> |
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
/** | |
* Contao Open Source CMS | |
* | |
* Copyright (C) 2005-2013 Leo Feyer | |
* | |
* Sass port by Christoph Engelmayer | |
* | |
* @package Core | |
* @link https://contao.org | |
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL |
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
# Apache configuration file | |
# http://httpd.apache.org/docs/2.2/mod/quickreference.html | |
# Note: ".htaccess" files are an overhead for each request. This logic should | |
# be placed in your Apache config whenever possible. | |
# http://httpd.apache.org/docs/2.2/howto/htaccess.html | |
# Turning on the rewrite engine is necessary for the following rules and | |
# features. "+FollowSymLinks" must be enabled for this to work symbolically. |
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
// Define a class like this | |
function Person(name, gender){ | |
// Add object properties like this | |
this.name = name; | |
this.gender = gender; | |
} | |
// Add methods like this. All Person objects will be able to invoke this | |
Person.prototype.speak = 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
export default class SvgSpriteEmbed { | |
constructor(url) { | |
var ajax = new XMLHttpRequest(); | |
ajax.open("GET", url, true); | |
ajax.responseType = "document"; | |
ajax.onload = function(e) { | |
var element = ajax.responseXML.documentElement; | |
element.setAttribute("class", "u-hidden-visually"); | |
document.body.insertBefore(element, document.body.childNodes[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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "scotch/box" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.hostname = "scotchbox" | |
config.vm.synced_folder ".", "/var/www/public", :mount_options => ["dmode=777", "fmode=666"] | |
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
var gulp = require('gulp'), | |
autoprefixer = require('gulp-autoprefixer'), | |
browserSync = require('browser-sync').create(), | |
concat = require("gulp-concat"), | |
imagemin = require('gulp-imagemin'), | |
sass = require('gulp-sass'), | |
sourcemaps = require('gulp-sourcemaps'), | |
browserify = require('browserify'), | |
babelify = require('babelify'), | |
source = require('vinyl-source-stream'), |
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
rsync: | |
rsync -avzuhO --delete \ | |
--exclude '.git*' \ | |
--exclude '.DS_Store' \ | |
--exclude 'Makefile' \ | |
--exclude '/src' \ | |
--exclude '/node_modules' \ | |
--exclude '/site/config.php' \ | |
--exclude '/site/assets/sessions' \ | |
--exclude '/site/assets/files' \ |
OlderNewer