I hereby claim:
- I am davidstosik on github.
- I am dstosik (https://keybase.io/dstosik) on keybase.
- I have a public key whose fingerprint is 55A6 5E36 E683 F4B8 00C1 EE4B BC2D A710 B438 70E4
To claim this, I am signing this object:
| #!/bin/sh | |
| # git-deploy | |
| # | |
| # - Make sure your deployment environments on Heroku are set as Git remotes: | |
| # git remote add production [email protected]:example-production.git | |
| # git remote add staging [email protected]:example-staging.git | |
| # | |
| # - Have branch names matching those environments: | |
| # git checkout -b production |
I hereby claim:
To claim this, I am signing this object:
| #include <pebble.h> | |
| #include <time.h> | |
| Window *my_window; | |
| TextLayer *min_layer; | |
| static GFont s_time_font; | |
| static BitmapLayer *s_background_layer; | |
| static GBitmap *s_background_bitmap; | |
| static void update_time() { |
| class NewNewPrimesRetrievalService | |
| def self.process(max) | |
| new(max).process | |
| end | |
| def initialize(max) | |
| @max = max | |
| end | |
| def process |
| class ColonMethodDefinition < Cop | |
| MSG = 'Do not use `::` for defining class methods.' | |
| def on_defs(node) | |
| return unless node.loc.operator.source == '::' | |
| add_offense(node, location: :operator) | |
| end | |
| def autocorrect(node) |
| diff --git i/.rubocop.yml w/.rubocop.yml | |
| index 1369eedefc..9335038ac7 100644 | |
| --- i/.rubocop.yml | |
| +++ w/.rubocop.yml | |
| @@ -1,5 +1,6 @@ | |
| require: | |
| - rubocop-rails | |
| + - "./lib/rubocop-cookpad.rb" | |
| AllCops: |
GitHub recently changed the repository's default branch name from master to main, challenging millions of developers' muscle memory:
git checkout master
error: pathspec 'master' did not match any file(s) known to git
git checkout main
| //************************************************************************************************************************** | |
| //************************************************************************************************************************** | |
| // CLEANER-STABLER-DATA-COLLECTION | |
| //************************************************************************************************************************** | |
| //************************************************************************************************************************** | |
| // Wifi libraries | |
| #include <SPI.h> | |
| #include <WiFiNINA.h> |