Skip to content

Instantly share code, notes, and snippets.

View wayneashleyberry's full-sized avatar

Wayne Ashley Berry wayneashleyberry

View GitHub Profile
@wayneashleyberry
wayneashleyberry / SqliteCleanCommand.php
Last active August 29, 2015 14:03
sqlite helper commands
<?php
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class SqliteCleanCommand extends Command {
/**
* The console command name.
@wayneashleyberry
wayneashleyberry / readme.md
Created June 25, 2014 09:30
Connect Joe Public Logo for readme's

Connect Joe Public

@wayneashleyberry
wayneashleyberry / Vagrantfile
Last active July 7, 2016 23:21
Simple LAMP Vagrant Provisioner (with memcached)
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
{ "alphabet" : [ { "title" : "A",
"url" : "?filter=a"
},
{ "title" : "B",
"url" : "?filter=b"
},
{ "title" : "C",
"url" : "?filter=c"
},
{ "title" : "D",
{{> frontend.partials.header}}
<section role="main" class="section bg-white-smoke">
{{> frontend.partials.header_category}}
{{> frontend.partials.articles_category_latest}}
{{#article_group_1}}
{{> frontend.partials.articles}}
{{/article_group_1}}
{{> frontend.partials.entities_people}}
{{#article_group_2}}
{{> frontend.partials.articles}}
@wayneashleyberry
wayneashleyberry / theme.css
Last active December 17, 2015 21:49
JSONView Theme
body {
white-space: pre;
font-family: MesloLGMDZ, monospace;
font-size: 14px;
}
.property {
font-weight: bold;
}
@wayneashleyberry
wayneashleyberry / config.php
Last active December 17, 2015 13:49
Basset
<?php
'collections' => array(
'app' => function($collection)
{
$directory = $collection->directory('css', function($collection)
{
$collection->add('normalize.css');
$collection->add('base.css');
@wayneashleyberry
wayneashleyberry / upload.js
Last active December 16, 2015 19:19
FTP Uploader
var fs = require('fs');
var path = require('path');
var Ftp = require("jsftp");
var ftp = new Ftp({
host : "**********",
user : "**********",
pass : "*********"
});
@wayneashleyberry
wayneashleyberry / html.php
Created December 19, 2012 22:52
minify html
<?php
class HTML {
/**
* Remove comments and whitespace
*/
public static function minify($content)
{
$content = static::strip_comments($content);
@wayneashleyberry
wayneashleyberry / solarized-light.css
Created November 28, 2012 09:06
Solarized Light Theme for JSONView Chrome Extension
body {
white-space: pre;
font-family: Meslo LG L DZ;
font-size: 13px;
background: #fdf6e2;
color: #647b83;
}
.property {
font-weight: normal;