Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am irissilvermoon on github.
  • I am irisdnb (https://keybase.io/irisdnb) on keybase.
  • I have a public key whose fingerprint is 4490 2E0D CFBA B2BA 1D73 8BB0 BC5F A3D1 467E 97CD

To claim this, I am signing this object:

$(document).ready(function() {
$('h1').on('click', function(event) {
var $h1 = $(event.currentTarget)
$('.content').not('h1').hide('slow')
$h1.next().slideToggle("slow")
});
});
$(document).ready(function() {
var form = $('.time-slot-form');
var minTime = form.data('start-time');
var maxTime = form.data('end-time');
$("#time_slot_start_time, #time_slot_end_time").timepicker({
step: 15,
minTime: minTime,
maxTime: maxTime,
2013-09-09T23:53:35.868046+00:00 app[web.1]: [2013-09-09 23:53:35] FATAL SignalException: SIGTERM
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:13:in `run'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-3.2.13/lib/rails/commands/server.rb:70:in `start'
2013-09-09T23:53:35.868046+00:00 app[web.1]: /app
module UniqueCharacter
#put all the characters in the string into two sets
#first set is Unique Characters, second set is #Non-Unique characters
#check to see if the character is in the unique characters set
#if not, place it there, if it is, put it in non_unique characters
#return the first character in unique characters set.
require 'set'
module.exports = function Bob() {
this.hey = function(str){
var map = { "[A-Z][^a-z]":"Woah, chill out!",
"[\?$]":'Sure',
'^$':'Fine, be that way.'
};
for (var k in map) {
var regex = new RegExp(k);
if (str.match(regex)) {
var Bob = require('./bob');
describe("Bob", function() {
var bob = new Bob();
it("stating something", function() {
var result = bob.hey('Tom-ay-to, tom-aaaah-to.');
expect(result).toEqual('Whatever');
});
class Bob
def hey(str)
str ||= ''
case str
when /[A-Z][^a-z]/
'Woah, chill out!'
when /\?$/
'Sure.'
when ""
'Fine. Be that way.'
require 'minitest/autorun'
begin
require_relative 'bob'
class TeenagerTest < MiniTest::Unit::TestCase
attr_reader :teenager
def setup
@teenager = Bob.new

What's the name of your app?

Wishlist app

What does it do?

The app that allows users to track items they are hoping to receive for various occasions such as birthdays, anniversaries or holidays. Users can invite others to view their wish lists and mark items they have purchased for themselves or others.

What's the GitHub url?