当日のタイムテーブル
Speakers's dinner 🔈
when | where | who | what |
---|---|---|---|
19:30 | Shibuya? | Staff + Speaker + Sponsers | Dinner |
// These settings can be found under Sublime Text 2 >> Preferences >> Settings - User | |
// You can just copy-paste this file right over whatever was there if you want | |
// | |
// Check out the file at Sublime Text 2 >> Preferences >> Settings - Default | |
// to see what options are available for you | |
{ | |
"color_scheme": "Packages/Color Scheme - Default/LAZY.tmTheme", | |
"font_size": 14.0, | |
"ignored_packages": |
module Searchable | |
def self.included(base) | |
base.extend(ClassMethods) | |
end | |
module ClassMethods | |
@@searchable_fields = [] | |
@@searchable_scope = nil | |
def search(q, method=nil) |
const frames = [ | |
{ | |
width: 89, | |
height: 64, | |
bpp: 1, | |
transparent: 0, | |
buffer: E.toArrayBuffer( | |
atob( | |
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAwAAAAAAAAAAAAgAEAAAAAAAAAAAMAABAAAAAAAAAABAAABAAAAAAAAAAMB/+AgAAAAAAAAAgf//ggAAAAAAAACD///wgAAAAAAAAIf///wgAAAAAAAAh4///xAAAAAAAACHg/w/BAAAAAAAAIfB+AcCAAAAAAAAB+B4AYCAAAAAAABH8HwAQEAAAAAAAAP4HDwwAAAAAAAAI/weLRyIAAAAAAAR/w4fh+IAAAAAABH//w/j8QAAAAAACP//j/H8AAAAAAAEf//H+P4gAAAAAAB//+P8PwAAAAAAAD//8f4fwAAAAAABH//4/w/iAAAAAACP//w/j/EAAAAAAI///h/H+AAAAAAAR///j+P8AAAAAAAH///H8f4AAAAAACP//+Hw/wAAAAAAAf//8Lj/gAAAAAAR///8KH/EAAAAAAD///4cf+IAAAAACH///4Q/8AAAAAAAP///4D/xAAAAAAQP///wH/iAAAAABAf///wf/AAAAAAAI////w/8AAAAAAIw////j/4gAAAAAjx////n/wAAAAACHh//////EAAAAAIfh/////+IAAAAAh/h/////8AAAAACH/h/////xAAAAAMf/h/////iAAAAAR//g/////AAAAABH//gP///8QAAAAEP//wB///4gAAAAQ///4D///xAAAABD///+H///iAAAAEP////////EAAAAQ////////+IAAABD////////+QAAAEP////////8AAAAQ/////////4gAAAj/////////xAAACP/////////iAAAEf/////////gAA |
CrUX is the Chrome UX Report from Google. This crash course will take you through everything you need to get the most out of the data.
https://developers.google.com/web/tools/chrome-user-experience-report/
class ActiveRecord::Base | |
mattr_accessor :shared_connection | |
@@shared_connection = nil | |
def self.connection | |
@@shared_connection || ConnectionPool::Wrapper.new(:size => 1) { retrieve_connection } | |
end | |
end | |
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection |
// How to ensure that our animation loop ends on component unount | |
componentDidMount() { | |
this.startLoop(); | |
} | |
componentWillUnmount() { | |
this.stopLoop(); | |
} |
# http://ruby-doc.org/stdlib-2.0.0/libdoc/open-uri/rdoc/OpenURI.html | |
require 'open-uri' | |
# https://github.com/flori/json | |
require 'json' | |
# http://stackoverflow.com/questions/9008847/what-is-difference-between-p-and-pp | |
require 'pp' | |
# Construct the URL we'll be calling | |
request_uri = 'http://localhost:3000/users.json' | |
request_query = '' |
class SecretController < ApplicationController | |
before_filter :authenticate_user! | |
def show | |
end | |
end |
# Cleanup old node_modules | |
echo "Cleaning node_modules in projects older than 30 days" | |
find . -name "node_modules" -type d -mtime +30 | xargs rm -rf | |
echo "Done cleaning node_modules" | |
# Clean up homebrew | |
echo "Clean homebrew" | |
brew update && brew upgrade && brew cleanup | |
echo "Done cleaning homebrew" |