I hereby claim:
- I am jjuliano on github.
- I am joelbryan (https://keybase.io/joelbryan) on keybase.
- I have a public key whose fingerprint is 84BA 318B DD8B E94F 94E5 3A6E E6D7 F776 CE6D E3A7
To claim this, I am signing this object:
| {"schemaVersion":1,"label":"tests","message":"3 passed","color":"brightgreen"} |
| # dump | |
| # version | |
| # Betaflight / STM32F411 (S411) 4.3.0 May 13 2022 / 12:29:08 (b2deec171) MSP API: 1.44 | |
| # config: manufacturer_id: GEPR, board_name: GEPRCF411, version: 7b156dec, date: 2021-07-26T13:19:23Z | |
| # start the command batch | |
| batch start | |
| board_name GEPRCF411 |
I hereby claim:
To claim this, I am signing this object:
| a := [...]int{1,2,3,4,5,0} | |
| for _, i := range a { | |
| if a[i] < 3 { | |
| drop := a[2:] | |
| fmt.Println(drop) | |
| break | |
| } | |
| } |
| a = [1, 2, 3, 4, 5, 0] | |
| a.drop_while {|i| i < 3 } #=> [3, 4, 5, 0] |
| a := [...]int{1,2,3,4,5,0} | |
| drop := a[3:] | |
| fmt.Println(drop) | |
| // [4 5 0] |
| a = [1, 2, 3, 4, 5, 0] | |
| a.drop(3) #=> [4, 5, 0] |
| for i := 1; i < 100; i++ { | |
| if ((i%5 == 0) && (i%7 == 0)) { | |
| fmt.Println(i) | |
| break | |
| } | |
| } | |
| // 35 |
| (1..10).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> nil | |
| (1..100).detect {|i| i % 5 == 0 and i % 7 == 0 } #=> 35 |
| count := 2 | |
| a := [3]string{"a", "b", "c"} | |
| for x := 0; x < count; x++ { | |
| for i := 0; i < len(a); i++ { | |
| fmt.Println(a[i]) | |
| } | |
| } | |
| /* |