Skip to content

Instantly share code, notes, and snippets.

View seanc's full-sized avatar

Sean Wilson seanc

View GitHub Profile
@seanc
seanc / gist:a47aa11d9ca783138462
Last active August 31, 2015 01:31
Q4 API Expected API Responses
API Respones:
- User
- Registered
- Logged In
- Logged Out
- Passwords do not match
- [User.register] No post data received
- Email in use
- Username in use
- Invalid Authentication
@seanc
seanc / gist:4750112bb5c4cc10c5f3
Created October 22, 2015 04:10
Most useful command ever like.. ever.
#Thanks http://stackoverflow.com/a/31249949
find . -type d -empty -not -path "./.git/*" -exec touch {}/.gitkeep \;
@seanc
seanc / paypalButton.js
Created November 19, 2015 04:18
Simple module to programmatically create paypal buynow buttons. ! Warning ! Very ghetto version.
var paypalButton = (function() {
/** Module by Sean Wilson (http://imsean.me) */
var methods = {};
methods.create = function(element, config, btnHtml) {
var
button = config.button,
type = config.type,
name = config.name,
price = config.price,
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import java.util.HashSet;
import java.util.Set;
class CommandTest implements CommandExecutor {
private final Set<Subcommand> subcommands = new HashSet<>();
--*additive-symbolsalign-content property, in css-align-3 property, in css-flexbox-1align-items property, in css-align-3 property, in css-flexbox-1alignmentalignment-baseline property, in css-inline-3 property, in svg property, in svg2align-self property, in css-align-3 property, in css-flexbox-1all property, in css-cascade-3 property, in css-cascade-4altanimationanimation-compositionanimation-delayanimation-directionanimation-durationanimation-fill-modeanimation-iteration-countanimation-nameanimation-play-stateanimation-timing-functionany-hoverany-pointerappearanceaspect-ratioazimuthbackdrop-filterbackface-visibility property, in css-2d-transforms-1 property, in css-transforms-1background property, in css-backgrounds-3 property, in css21background-attachment property, in css-backgrounds-3 property, in css21background-blend-mode property, in compositing-1 property, in compositing-2background-clipbackground-color property, in css-backgrounds-3 property, in css21background-image property, in css-backgrounds-3 p
--*
additive-symbols
align-content property, in css-align-3 property, in css-flexbox-1
align-items property, in css-align-3 property, in css-flexbox-1
alignment
alignment-baseline property, in css-inline-3 property, in svg property, in svg2
align-self property, in css-align-3 property, in css-flexbox-1
all property, in css-cascade-3 property, in css-cascade-4
alt
animation
@seanc
seanc / README.md
Created January 17, 2016 10:15
A template README

Your Project

A short, sweet, and simple description of your project.

![Example Badge][example-badge] ![Foobar Badge][foobar-badge]

A more lengthly description of the project. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse mollis, libero ac ultrices tempus, urna dolor mattis arcu, consectetur pretium diam nulla quis tellus. Suspendisse egestas tortor in felis ornare rhoncus. Sed orci leo, auctor consectetur egestas.

Installation

@seanc
seanc / funky.js
Created April 1, 2016 19:45
funky.js
'use strict';
import exec from 'ssh-exec';
import express from 'express';
import zt from 'zt';
import routine from 'promise-routine';
import { createConnection } from 'mysql2';
import { CronJob } from 'cron';
const app = express();
[{"format":0,"cid":261007710,"title":"Missed Calls","author":"akihabara","length":185538},{"format":0,"cid":259701883,"title":"Madeaux & DZZ - All I See","author":"recordrecordparis","length":162470},{"format":0,"cid":252099262,"title":"FATAL","author":"supagucci","length":130571},{"format":0,"cid":262577496,"title":"J.K. The Reaper - Exodia (jamvvis edit)","author":"jamvvis","length":159570},{"format":0,"cid":249876895,"title":"Bernie Sanders (prod. Ugly God)","author":"imrealugly","length":120096},{"format":0,"cid":261825627,"title":"PONTIUS PILATE","author":"haardtek","length":112832},{"format":0,"cid":262418115,"title":"Ohh","author":"slightbeats","length":176578},{"format":0,"cid":262291194,"title":"Fake Bape (Prod. SLIGHT)","author":"max_wellsmusic","length":137703},{"format":0,"cid":262342340,"title":"HYPE (ŌKAMI REMIX)","author":"okami-official","length":259576},{"format":0,"cid":261374844,"title":"Sweet Life w/ Olukara","author":"l0tso","length":154006},{"format":0,"cid":262329697,"title":"Tibe - Mis