Skip to content

Instantly share code, notes, and snippets.

View SketchSystems.spec
Initial
No provider ID -> Provider list
Provider ID -> Provider login
Login token -> Login form
Provider list
Has popular -> Popular providers
No popular -> Full list
Country picker -> Country picker
Search -> Full list
View SketchSystems.spec
Initial
No provider ID -> Provider list
Provider ID -> Provider login
Login token -> Login form
Provider list
Has popular -> Popular providers
No popular -> Full list
Country picker -> Country picker
Search -> Full list
View gist:6d880be3d3c4797cd35e273467f2f763
### Keybase proof
I hereby claim:
* I am jayj on github.
* I am gundlund (https://keybase.io/gundlund) on keybase.
* I have a public key ASC9N-rtg1JgJgU0K_WlyqxzAXTqyBcpLvrSDNc2Vx-vLQo
To claim this, I am signing this object:
@jayj
jayj / Gruntfile.js
Last active May 18, 2019
Using Grunt to automate theme releases
View Gruntfile.js
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
// Bump version numbers
version: {
css: {
options: {
prefix: 'Version\\:\\s'
View gist:82e3880ff027a54b06e2
<?php
/**
* Jayj_I_Make_Themes
*
* Gets the theme readme from WordPress.org.
*
* Modified version of Mark Jaquith's I Make Plugins class
* @link http://wordpress.org/plugins/i-make-plugins/
*/
@jayj
jayj / flexbox.less
Last active Oct 19, 2021
CSS3 Flexbox - LESS Mixins
View flexbox.less
// --------------------------------------------------
// Flexbox LESS mixins
// The spec: http://www.w3.org/TR/css3-flexbox
// --------------------------------------------------
// Flexbox display
// flex or inline-flex
.flex-display(@display: flex) {
display: ~"-webkit-@{display}";
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox
View index.html
<div class="container">
<div class="col">1</div>
<div class="col">2</div>
<div class="col">3</div>
<div class="col">4</div>
@jayj
jayj / gist:3888408
Created Oct 14, 2012
Chat post format
View gist:3888408
<!--///////////// -->
<!-- OLD MARKUP -->
<!--///////////// -->
<div class="chat-row chat-speaker-3">
<div class="chat-author chat-author-begbie vcard"><cite class="fn">BEGBIE</cite>:</div>
<div class="chat-text"><p>You daft cunt. If you&#8217;re going to waste it like that, you might as well leave it all to me. Now get the drinks in.</p></div>
</div><!-- .chat-row -->
<div class="chat-row chat-speaker-3">
@jayj
jayj / functions.php
Created Sep 2, 2012
Japibas Theme Layouts
View functions.php
<?php
/**
* Add the Theme Layous extension
*
*** Completely untested ***
*/
function my_japibas_child_layout_options() {
include( get_stylesheet_directory() . '/theme-layouts.php' );
add_theme_support( 'theme-layouts', array( '1c', '2c-l', '2c-r' ) );
@jayj
jayj / gist:1499184
Created Dec 19, 2011
Jayj Quicktag 1.1.1
View gist:1499184
<?php
/**
* Plugin Name: Jayj Quicktag
* Plugin URI: http://jayj.dk/plugins/jayj-quicktag/
* Description: Allows you to easily add custom quicktags to the editor. Requires at least WordPress 3.3 to work
* Author: Jesper J
* Author URI: http://jayj.dk
* Version: 1.1.1
* License: GPLv2 or later
*/