I hereby claim:
- I am jbr on github.
- I am jbr (https://keybase.io/jbr) on keybase.
- I have a public key ASBMUsjB3R8xKqlQ9-uqmVLnQPg9si550quYQU4GRXY4ago
To claim this, I am signing this object:
| declare module "react-dom" { | |
| interface ReactRoot { | |
| render(children: React.ReactNode, callback?: () => void): void; | |
| unmount(callback?: () => void): void; | |
| } | |
| interface RootOptions { | |
| hydrate?: boolean; | |
| hydrationOptions?: { | |
| onHydrated?: (suspenseNode: unknown) => void; |
| -- Crash Report log information -------------------------------------------- | |
| See Crash Report log file under the one of following: | |
| * ~/Library/Logs/CrashReporter | |
| * /Library/Logs/CrashReporter | |
| * ~/Library/Logs/DiagnosticReports | |
| * /Library/Logs/DiagnosticReports | |
| for more details. | |
| -- Control frame information ----------------------------------------------- | |
| c:0035 p:---- s:0133 e:000132 CFUNC :inspect |
| require 'mocha/api' | |
| t = Tempfile.new %w[ temp .file ] | |
| ## show that another method on a tempfile can successfully be stubbed | |
| t.stubs(:closed?).returns :something_it_would_not_normally_return | |
| t.closed? #=> :something_it_would_not_normally_return | |
| ## show that an imaginary method on a tempfile can successfully be stubbed | |
| t.stubs(:wiggly?).returns :yes_of_course | |
| t.wiggly? #=> :yes_of_course |
| function isType (type) { | |
| return function (arg) { | |
| return typeof(arg) === type; | |
| }; | |
| } | |
| function instanceOf (clazz) { | |
| return function (arg) { | |
| return arg instanceof clazz; | |
| }; |
| class A | |
| def method_from_a() :from_a end | |
| end | |
| class B < A | |
| def method_from_b() :from_b end | |
| end | |
| module M | |
| def method_from_m() :from_m end |
| function project { | |
| PROJECT_BASE=~/code | |
| PROJECT_FILE=.jbr | |
| if [ "$1" ]; then | |
| PROJECT=$PROJECT_BASE/$1 | |
| if [ -d $PROJECT ]; then | |
| touch $PROJECT_BASE/$1 | |
| elif [ $1 = "-" ]; then | |
| project `ls -t1 $PROJECT_BASE|head -n2|tail -n1` | |
| elif [ $1 = "list" ]; then |
I hereby claim:
To claim this, I am signing this object:
| Jacob Rothstein has invited you to open a free Gmail account. The invitation | |
| will expire in three weeks and can only be used to set up one account. | |
| To accept this invitation and register for your account, visit | |
| http://gmail.google.com/gmail/a-c811c932a5-60d08b256e-a0346e3ae6 | |
| Once you create your account, Jacob Rothstein will be notified with | |
| your new @gmail.com address so you can stay in touch with Gmail! | |
| If you haven't already heard about Gmail, it's a new search-based webmail |
| ; A monad comprehension is a syntactic construct that translates | |
| ; synchronous-looking code into a callback-based implementation. Monads | |
| ; are a very general abstraction - which means that monad comprehensions | |
| ; have more expressive power than other sync-to-async code | |
| ; transformations. | |
| ; Here is an example that uses jQuery's $.get method to fetch resources: | |
| (def post-with-author (id) | |
| (for |
| # I've been forgetting this long enough it's time to declare a memory | |
| # failure and make the code adapt to my stupidity. I mean, why can't | |
| # they all be plural *OR* singular? | |
| namespace :test do | |
| task :integrations => :integration | |
| task :functional => :functionals | |
| task :unit => :units | |
| end |