This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def method_missing(symbol, *args, &block) | |
p "Start method_missing from #{self} at #{symbol}" | |
return unless symbol.to_s.start_with?('permit_params_from_') | |
object = symbol.to_s.sub('permit_params_from_', '') | |
context = [] | |
def context.method_missing(symbol, &block_b) | |
p "Start context from #{self} at #{symbol}" | |
second_context = [] | |
def second_context.method_missing(symbol) | |
self << symbol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
OlderNewer