Skip to content

Instantly share code, notes, and snippets.

View djpate's full-sized avatar

Christophe Verbinnen djpate

View GitHub Profile
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
disabled_days = ["8-30-2013","9-11-2013","9-10-2013"];
@djpate
djpate / gist:4694609
Created February 1, 2013 22:29
POC for form integration
def input(*args)
options = args.first
if options[:name] && @entity.send(options[:name])
options[:value] = @entity.send(options[:name])
end
super
end
[3.767e-06] Starting Complete batch of 1500 users
[6.2842e-05] Starting Sub batch of 1000 users
[0.987882055] Prefetching 7 places
[1.346491107] Starting to send emails for subbatch
..................................................[50]..................................................[100]..................................................[150]..................................................[200]..................................................[250]..................................................[300]..................................................[350]..................................................[400]..................................................[450]..................................................[500]..................................................[550]..................................................[600]..................................................[650]..................................................[700]..................................................[750].............
@djpate
djpate / dabblet.css
Created April 19, 2012 16:24
Untitled
.left , .right{
width: 80px;
float: left;
}
.left img, .right img{
float: left;
margin: 0 0 10px 0;
#!env ruby
require 'broach'
require 'yaml'
require_relative 'src/client.rb'
require_relative 'src/github.rb'
begin
client = Client.new
#!env ruby
#!env ruby
hello this is my new file
hello this is my new file
hello this is my new file