I hereby claim:
- I am donigian on github.
- I am babalu (https://keybase.io/babalu) on keybase.
- I have a public key whose fingerprint is 9CDD FD8F 219C BE06 080D F8B1 5240 F568 A92B 7A04
To claim this, I am signing this object:
| For example, if your commit history is A-B-C-D-E-F with F as HEAD, and you want to change the author of C and D, then you would... | |
| Specify git rebase -i B | |
| change the lines for both C and D to edit | |
| Once the rebase started, it would first pause at C | |
| You would git commit --amend --author="Author Name <[email protected]>" | |
| Then git rebase --continue | |
| It would pause again at D | |
| Then you would git commit --amend --author="Author Name <[email protected]>" again | |
| git rebase --continue |
| To set up a new Chef workstation: | |
| + download vagrant | |
| + download virtualbox | |
| + vagrant box add precise64 | |
| + vagrant plugin install vagrant-berkshelf | |
| + vagrant plugin install vagrant-omnibus | |
| + git clone [email protected]:gpn-dev/chef-repo.git | |
| + vagrant up | |
| vagrant up |
| <configuration> | |
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
| <encoder> | |
| <pattern>%d{yyyy MM dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | |
| </encoder> | |
| </appender> | |
| <root level="warn"> | |
| <appender-ref ref="STDOUT" /> | |
| </root> |
| <link rel="import" href="../paper-tabs/paper-tabs.html"> | |
| <link rel="import" href="../paper-tabs/paper-tab.html"> | |
| <link rel="import" href="../core-animated-pages/core-animated-pages.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/hero-transition.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/cross-fade.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-down.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/slide-up.html"> | |
| <link rel="import" href="../core-animated-pages/transitions/tile-cascade.html"> | |
| <link rel="import" href="../topeka-elements/category-icons.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> |
I hereby claim:
To claim this, I am signing this object:
| > run | |
| [info] Updating {file:/Users/armendonigian/funcode/scala-days-android/}scala-days-android... | |
| [info] Resolving com.crashlytics.android#crashlytics;1.+ ... | |
| [error] Unable to find credentials for [Artifactory Realm @ repo.typesafe.com]. | |
| [error] Unable to find credentials for [Artifactory Realm @ repo.typesafe.com]. | |
| [info] Resolving jline#jline;2.12 ... | |
| [info] Done updating. | |
| [info] Unpacking aar: macroid_2.11-2.0.0-M3.aar to org.macroid-macroid_2.11-2.0.0-M3 | |
| [info] Unpacking aar: appcompat-v7-21.0.3.aar to com.android.support-appcompat-v7-21.0.3 | |
| [info] Unpacking aar: support-v4-21.0.3.aar to com.android.support-support-v4-21.0.3 |
| Vagrant Cheat Sheet | |
| Essential Commands | |
| vagrant up - Starts your virtual machine. | |
| vagrant status - Tells you if your virtual machine is running. | |
| vagrant suspend - Saves the state of your virtual machine. (Similar to putting it to sleep.) | |
| vagrant resume - Restores a suspended virtual machine. (Similar to waking it up from sleep.) | |
| After your first vagrant up, a suspend/resume operation only takes a few seconds. | |
| Destroying your virtual machine means that you'll need to wait through the ~20 minute boostrap process the next time that you vagrant up. |
| # babalu.gemspec | |
| spec = Gem::Specification.new do |spec| | |
| spec.name = 'babalu' | |
| spec.summary = 'A library for doing things for babalu' | |
| spec.description = %{This library calculates a bunch of cool things.} | |
| spec.author = 'A D' | |
| spec.email = 'doni at gmail.com' | |
| spec.homepage = 'http://www.cnn.com/' | |
| spec.files = Dir['lib/*.rb'] | |
| spec.version = '1.0.0' |
| require "benchmark" | |
| def calculation_with_explicit_block_passing(a, b, operation) | |
| operation.call(a, b) | |
| end | |
| def calculation_with_implicit_block_passing(a, b) | |
| yield(a, b) | |
| end |
| class User | |
| attr_accessor :name, :email | |
| def initialize(attributes = {}) | |
| @name = attributes[:name] | |
| @email = attributes[:email] | |
| end | |
| def formatted_email | |
| "#{@name} <#{@email}>" | |
| end |