Template for Styleguide Template
A Pen by Matt Harris on CodePen.
A simple single-page styleguide template to get started with theming and/or documenting your styles.
--- | |
parser: espree | |
env: | |
amd: false | |
browser: false | |
es6: false | |
jasmine: false | |
jquery: false | |
meteor: false | |
mocha: false |
Template for Styleguide Template
A Pen by Matt Harris on CodePen.
A simple single-page styleguide template to get started with theming and/or documenting your styles.
<?php | |
/** | |
* php-ansi-color | |
* | |
* Original | |
* https://github.com/loopj/commonjs-ansi-color | |
* | |
* @code | |
* <?php | |
* require_once "ansi-color.php"; |
<?php | |
/** | |
* Custom WordPress configurations on "wp-config.php" file. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more. | |
* For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page. | |
* Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com. | |
* | |
* @package WordPress | |
* @generator GenerateWP.com |
Full tutorial: http://hofmannsven.com/2013/laboratory/wordpress-admin-ui/
<i>1</i> | |
<i>2</i> | |
<i>3</i> | |
<i>4</i> | |
<i>5</i> | |
<i>6</i> |
// A SCRIPT TO SUMMARIZE DATA ABOUT CSS BEING GENERATED BY NPM SPECIFICITY GRAPH | |
// https://www.npmjs.com/package/specificity-graph | |
// arry stats helpers. | |
//https://gist.github.com/Daniel-Hug/7273430 | |
var arr = { | |
max: function(array) { | |
return Math.max.apply(null, array); | |
}, |
Backtick is a customizable command command pallete for chrome letting you run your own javascript snippets easily in a live browsing session.
To createa a command:
Create a new Gist with a command.js
and command.json
file, or simply fork this one.
Write your JavaScript in command.js
. This will be injected into and executed on the page the user is currently on when they run it.
# COUNT FILES IN SUB DIRECTORIES | |
find . -maxdepth 1 -mindepth 1 -type d | while read dir; do | |
printf "%-25.25s : " "$dir" | |
find "$dir" -type f | wc -l | |
done | |