- Install Composer - https://getcomposer.org/Composer-Setup.exe
- ℹ️ You may need to enable OpenSSL in your PHP installation by going directly to
./wamp/bin/php/php-5.x.x/php.ini
and enabling the OpenSSL extension- These instructions assume you have WAMP installed already in order to provide your technology stack
- To install globally the necessary Composer packages paste this command into a terminal and hit Enter ↵
- ℹ️ The openssl extension must be enabled within
php.ini
of the PHP build you are using with the command line - (Start → Run → Type:
cmd
to open a command prompt)
- ℹ️ The openssl extension must be enabled within
- Add
C:\Users\%USERNAME%\AppData\Roaming\Composer\vendor\bin
to thePATH
System Variable
- ℹ️ You may need to enable OpenSSL in your PHP installation by going directly to
- Start → Run →
control sysdm.cpl,,3
→ Environment Variables
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Recreating the Animated Circle Effect as Seen on Google Design</title> | |
<style> | |
.col { | |
position: relative; | |
display: block; | |
float: left; |
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
<!doctype html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="Description" content=""> | |
<meta name="Keywords" content=""> | |
<meta name="Author" content="Jonathan Goode"> | |
<meta name="copyright" content="© Jonathan Goode, 2015"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<title>Notifications</title> |
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
/* Pre-Define HTML5 Elements in IE */ | |
(function(){ var els = "source|address|article|aside|audio|canvas|command|datalist|details|dialog|figure|figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|picture|progress|ruby|section|time|video".split('|'); for(var i = 0; i < els.length; i++) { document.createElement(els[i]); } } )(); |
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
:: http://www.confusedbycode.com/curl/ > curl-7.39.0-win64.zip | |
:: https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
@echo off | |
SETLOCAL | |
echo This script creates issue labels for a GitHub repository | |
echo. | |
echo Please specify the GitHub Profile containing the Repository, e.g.: | |
echo https://github.com/:org|:owner/:repo | |
echo ~~~ ~~~~~ | |
set /P username= " Enter GitHub Username: " |
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
<?php | |
/* | |
Allowed characters: | |
ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ | |
\x{00C0}-\x{00CF}\x{00D0}-\x{00D6}\x{00D8}-\x{00DF}\x{00E0}-\x{00EF}\x{00F0}-\x{00F6}\x{00F8}-\x{00FF} | |
[space] \n - , . / ! % & ' ( ) : ; ? @ _ £ | |
\ \n\-\x{002C}\x{002E}\x{002F}\x{0021}\x{0025}-\x{0029}\x{003A}\x{003B}\x{003F}\x{0040}\x{005F}\x{00A3} | |
*/ |
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
/** | |
* Delays when a function runs. | |
* | |
* @return callback | |
*/ | |
var delay = (function(){ | |
var timer = 0; | |
return function(callback, ms){ | |
clearTimeout(timer); | |
timer = setTimeout(callback, ms); |
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
/** | |
* @param Mixed | |
* @return Boolean | |
*/ | |
function is_blank($value){ | |
return empty($value) && !is_numeric($value); | |
} | |
//is_blank(0); //false | |
//is_blank(''); //true |
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
'use strict'; | |
var gulp = require('gulp'); | |
var soften = require('gulp-soften'), | |
argv = require('yargs').argv, | |
eol = require('gulp-eol'), | |
trimlines = require('gulp-trimlines'), | |
pathExists = require('path-exists'), | |
gulpIgnore = require('gulp-ignore') |
OlderNewer