Skip to content

Instantly share code, notes, and snippets.

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
@jayj
jayj / SketchSystems.spec
Last active June 22, 2018 21:35
Initial
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
### 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 March 13, 2022 16:47
Using Grunt to automate theme releases
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
// Bump version numbers
version: {
css: {
options: {
prefix: 'Version\\:\\s'
<?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 June 23, 2024 01:14
CSS3 Flexbox - LESS Mixins
// --------------------------------------------------
// 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
<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 October 14, 2012 12:31
Chat post format
<!--///////////// -->
<!-- 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 September 2, 2012 20:20
Japibas Theme Layouts
<?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 December 19, 2011 22:21
Jayj Quicktag 1.1.1
<?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
*/