Skip to content
View __class__.md
View 0001-include-jquery-and-materializecss-for-test.patch
From b34d733deefac7fb7f96bf5408ae705c49e764fa Mon Sep 17 00:00:00 2001
From: Isaiah Peng <issaria@gmail.com>
Date: Fri, 4 Mar 2016 11:17:40 +0100
Subject: [PATCH 1/1] include jquery and materializecss for test
---
karma.conf.js | 2 ++
package.json | 2 ++
src/Select.js | 67 ++++++++++++++++++++++++++++++-----------------------------
3 files changed, 38 insertions(+), 33 deletions(-)
View convert.rb
require 'fileutils'
require 'taglib'
NAME = "©nam"
Dir.glob("./**/*.m4a").each do |f|
TagLib::MP4::File.open(f) do |mp4|
name = mp4.tag.item_list_map[NAME]
name = name.to_string_list.first
dir = File.dirname(f)
name = "#{dir}/#{name}.m4a"
View keymap.cson
'atom-text-editor[data-grammar~="haskell"]':
'': 'haskell-ghc-mod:check-file'
'': 'haskell-ghc-mod:lint-file'
'ctrl-alt-t': 'haskell-ghc-mod:show-type'
'ctrl-alt-i': 'haskell-ghc-mod:show-info'
'ctrl-alt-T': 'haskell-ghc-mod:insert-type'
'': 'haskell-ghc-mod:show-info-fallback-to-type'
'ctrl-alt-I': 'haskell-ghc-mod:insert-import'
'body':
View gist:05e1f44346bfb11df89c
# Insert your prefered key mappings here.
unmap h
unmap l
map h previousTab
map l nextTab
map u restoreTab
map d removeTab
map b Vomnibar.activateTabSelection
map t Vomnibar.activateInNewTab
View keyword_param.rb
class Base
def xtest(foo:, bar:, **extra)
puts "base: #{foo}, #{bar}"
end
end
class Artzt < Base
def xtest(foo:, bar:, blah:)
super
puts "child: #{foo}, #{bar} #{blah}"
View vimperator
unmap h
unmap l
map h previousTab
map l nextTab
map u restoreTab
map d removeTab
map b Vomnibar.activateTabSelection
map t Vomnibar.activateInNewTab
map <c-o> goBack
View lazy.rb
class Enumerator
class Lazy
def initialize(coll)
@lazy = Yid.new do |yielder|
if block_given?
coll.each do |x|
yield yielder, x
end
else
View fib.rb
class Fib
def self.fib
a, b = [0, 1]
s = 1..Float::INFINITY
Enumerator::Lazy.new(s.lazy) do |yielder, val|
a, b = b, a + b
yielder << a
end
end
end
View Gemfile
source 'https://rubygems.org'
gem 'react-rails', '~> 1.0.0.pre', github: 'reactjs/react-rails'
gem 'haml-rails'
gem 'bootstrap-sass'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0.beta1'
# Use postgresql as the database for Active Record
Something went wrong with that request. Please try again.