Skip to content

Instantly share code, notes, and snippets.

View bennettp123's full-sized avatar

Bennett Perkins bennettp123

View GitHub Profile
@bennettp123
bennettp123 / android-app-build.gradle
Last active September 19, 2023 07:40
@datadog/mobile-react-native bug report additional context
apply plugin: "com.android.application"
apply plugin: 'com.google.firebase.firebase-perf'
apply plugin: "com.facebook.react"
apply from: "../../node_modules/@datadog/mobile-react-native/datadog-sourcemaps.gradle"
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
import com.android.build.OutputFile

SCAVENGER ITEMS

  • Have people find someone who works for the city and get their autograph or take a selfie with them.
  • Find someone from out of town
  • Find the oldest restaurant
  • Find a street sign starting with "p"
  • Count how many traffic lights are on St Georges Terrace
  • Find a 24-hour business
  • Take a picture of a park bench that's empty
  • Train tracks
  • Find an outdoor carpark with an empty spot
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// The number of rows to be persisted in terminal buffer for scrolling
// Default: 1000
scrollback: 20000,
Previewing update (news-shared.branch-deploys):
pulumi:pulumi:Stack news-shared-news-shared.branch-deploys running
fatal error: concurrent map read and map write
swm:security-groups:SecurityGroups news-shared-branch-deploys-securitygroups
goroutine 316 [running]:
runtime.throw(0x1cf15da, 0x21)
/Users/runner/hostedtoolcache/go/1.15.6/x64/src/runtime/panic.go:1116 +0x72 fp=0xc001e75c70 sp=0xc001e75c40 pc=0x436912
runtime.mapaccess2_faststr(0x1a05860, 0xc001c8f410, 0xc0018222a0, 0x62, 0xc0018995c0, 0x0)
@bennettp123
bennettp123 / aws-mfa-login.sh
Last active June 10, 2020 07:31
aws-mfa-login.sh
#!/bin/bash
set -e -o pipefail
#
# Instructions
#
# To log into an AWS profile "mgmt":
#
# 1. create a profile mgmt-nomfa. Use aws_access_key_id and
@bennettp123
bennettp123 / .custom_prompt
Created June 9, 2020 06:28
A sample dynamic/custom prompt
# NOTICE: This file is kept in source control; see
# https://gitlab.com/bennettp123/bash_profile
CLICOLOR=1
export CLICOLOR
DIM='\[\e[2m\]'
NORMAL='\[\e[0m\]'
BOLD='\[\e[1m\]'
@bennettp123
bennettp123 / compress-cidrs.js
Last active June 17, 2019 08:04
Deduplicate and compress CIDRs
const cidrTools = require('cidr-tools');
const readline = require('readline');
const JSON = require('JSON');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
crlfDelay: Infinity
});
@bennettp123
bennettp123 / etc-hosts-on-win.md
Created June 1, 2019 02:15 — forked from zenorocha/etc-hosts-on-win.md
/etc/hosts on Windows

Modify your hosts file

notepad

For Windows 10 and 8
  1. Press the Windows key.
  2. Type Notepad in the search field.
  3. In the search results, right-click Notepad and select Run as administrator.
  4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts
This file has been truncated, but you can view the full file.
-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/download
Version: Keybase Go 2.6.2 (darwin)
wcBMA9X0O2Qy6nfzAQgAIzAItDRn0uIvlWN/Y/4Gi6FZ7DpLz/FkGA1iE/qxZy9i
v4rgNVzYazE7CgsuPlQzXuN5umaW4uqilC+2PU4wRut6tAeLRh3J54t9fhbYRbb9
AgTHTFNBhRzkSiGgpR/Fi2sY53SR8rFiNhHy94ErwaEeM9/rEg1d0QTaWY29rcUm
PzWjNtMPPbfH8ZMrh7qPoHWw4gX5Bmonvc21l4Xd4cHVeVjtz0uWjZPLdv2MmQtm
BqNpHLVhdEB+rFU+cEFNtBhMwAe/lOElFLgNTWAnq5UJCcgukcmPSVXEDQd+TBp7
lnSoMkRt+59qxUDkVQ57Kx63u2quPNMtqD2kbm81AsHATAMPLk7cSAOI+gEIAE2W
This file has been truncated, but you can view the full file.
-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/download
Version: Keybase Go 2.6.2 (darwin)
wcBMA9X0O2Qy6nfzAQgARQyKYPiHKwywbC1hest/B3+bhyHe8COQ+pqtIczZ6AxE
tZK3GwjIdfZa3PrAN0Yxgu2QZbZXgbxqBNPBF0+zkcduS2XcQ1A9Nnw/l2ds/B3B
g0mmUQnbv8AvpSAPSy/F0/dHyzgx3ZJcjzs8RUVJXEhbkJ72bva1RpW2ZlnVtcro
PlY6EEKFtGAPGREkAsccoQ5O10cz7RLuOfSe/n0QBef9LUaoAsro0jfMXH1PobXa
95OOnYMP1Sqo1kLt6OMtv+qHd2Re831Czs8UtfT9uCxy+W5L1/4wAvNGlRgNbA08
tDHgql+vy627vROUSxEztPv7dyUEjEax5psM2YcwYcHATAMPLk7cSAOI+gEIAAS+