Skip to content

Instantly share code, notes, and snippets.

View smithatlanta's full-sized avatar

Michael Smith smithatlanta

View GitHub Profile

Dependencies:
brew install stoken

  1. Click on the RSA link in your email and copy the 'ctfData' string value from the address bar and use it with the command below:
    stoken import --token='com.rsa.securid://ctf?ctfData=YOUR-CTF-DATA-HERE'

  2. Enter your PIN as your password

  3. Get your Device ID or 'Binding ID' from your RSA ID app on your mobile device under the info tab, long pressing over the id also will allow you to share it to yourself.

@jannegpriv
jannegpriv / installation_steps_influxdb_grafana_k3s.md
Last active October 14, 2023 19:37
InfluxDb and Grafana in K3s
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active May 8, 2024 21:42
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@giautm
giautm / hashcode.go
Created October 26, 2018 13:50
Golang implement of `java.lang.String` hashCode() https://en.wikipedia.org/wiki/Java_hashCode()
package hashcode
import "hash"
const Size = 4
func NewHash() hash.Hash32 {
var s sum32 = 0
return &s
}

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable