Skip to content

Instantly share code, notes, and snippets.

@mediaash
mediaash / jquery.template.js
Created December 16, 2013 07:28
jQuery template
/*
* required jQuery
*/
;(function($){
/* jQuery plugin template */
var plugname = "your_plugin_name";
$.fn[plugname] = function(method) {
if ( methods[method] ) {
return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 ));
} else if ( typeof method === 'object' || ! method ) {
@slywalker
slywalker / bingo.html
Created June 3, 2013 04:54
PHPカンファレンス関西2013懇親会抽選用 https://dl.dropboxusercontent.com/u/147844/phpkansai/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bingo!</title>
<link rel="stylesheet" href="./css/bootstrap.css">
<style>
body {
padding-top: 100px;
}