Slack bot that just publically flames people if they do bad code / infra changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package permconv | |
import ( | |
"os" | |
"fmt" | |
) | |
func parsePerms(s string) (os.FileMode, error) { | |
if len(s) != len("drwxr-xr-x") { | |
return 0, fmt.Errorf("invalid len of given string") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package vals | |
import ( | |
"strings" | |
"strconv" | |
"fmt" | |
) | |
// SprintValues is a set of float64 values that implements Buckets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let bad = require('crypto'); | |
const fizz = sha256("3"); | |
const buzz = sha256("5"); | |
const fizzbuzz = sha256("15"); | |
function sha256(string) { | |
return bad.createHash('sha256').update(string).digest('hex'); | |
} | |
function in_array(arr, n) { |
I hereby claim:
- I am johnaoss on github.
- I am johna (https://keybase.io/johna) on keybase.
- I have a public key ASD1pSKx1JlxxP5AOmNZfWGpUQFzwI0oGpJHEuu8cRa87wo
To claim this, I am signing this object: