Skip to content

Instantly share code, notes, and snippets.

View haseebeqx's full-sized avatar
🟢
Building software

Haseeb Annadamban haseebeqx

🟢
Building software
View GitHub Profile
@haseebeqx
haseebeqx / react-native.md
Last active August 27, 2019 15:54
React native question

React native question

Github search app.

Create an app for github search. You can use github's graphql or rest api.

Sidebar

  • Repository search
  • Users Search
@haseebeqx
haseebeqx / exceed_query_limit.rb
Created October 9, 2018 17:59
n+1 issue find using rspec
# from gitlab/spec/support/matchers/exceed_query_limit.rb
RSpec::Matchers.define :exceed_query_limit do |expected|
supports_block_expectations
match do |block|
@subject_block = block
actual_count > expected_count + threshold
end
failure_message_when_negated do |actual|