I hereby claim:
- I am koenpunt on github.
- I am koenpunt (https://keybase.io/koenpunt) on keybase.
- I have a public key whose fingerprint is 26D3 50B3 B5D9 FBC2 CCDD 705F 37DB 22F4 1F0F C235
To claim this, I am signing this object:
| # Model | |
| expect(@user).to have(1).error_on(:username) # checks whether there is an error in username | |
| expect(@user.errors[:username]).to include("can't be blank") # check for the error message | |
| # Rendering | |
| expect(response).to render_template(:index) | |
| # Redirecting |
I hereby claim:
To claim this, I am signing this object:
| {"tree"=> | |
| {"name"=>"Australia", | |
| "value"=>39904, | |
| "id"=>6, | |
| "description"=>"", | |
| "string_array"=>["one", "two"], | |
| "array_with_hashes"=>[{"a"=>"1"}, {"a"=>"2"}], | |
| "type"=>{"name"=>"Other", "icon"=>"<i class=\"fa fa-pagelines\"></i>"}, | |
| "children"=> | |
| [{"name"=>"Boxes", |
| Homebrew build logs for homebrew/php/phpsh on macOS 10.12.2 | |
| Build date: 2016-12-22 19:04:31 |
Follow up on https://gist.github.com/koenpunt/cf8130bdfc432d31136b, but since method swizzling apparently doesn't work so well with Swift 3 anymore, I've now created it as Obj-C protocol.
When using in a Swift project, add it to the bridging header:
#import "UIRefreshControl+Testing.h"| const MyText = ({ style, ...props }) => ( | |
| <Text style={[styles.myText, style]} {...props} /> | |
| ); | |
| const LargerText = ({ style, ...props }) => ( | |
| <MyText style={[styles.largerText, style]} {...props} /> | |
| ); | |
| const styles = StyleSheet.create({ | |
| myText: { |
| From 42fdc91e497cc1fc7380b1bfd14216802ed4c63c Mon Sep 17 00:00:00 2001 | |
| From: Koen Punt <[email protected]> | |
| Date: Tue, 16 Mar 2021 11:10:48 +0100 | |
| Subject: [PATCH] patch | |
| --- | |
| common.gypi | 2 +- | |
| deps/v8/BUILD.gn | 1 + | |
| deps/v8/include/v8-platform.h | 8 ++- | |
| deps/v8/src/base/page-allocator.cc | 14 ++++ |