Skip to content

Instantly share code, notes, and snippets.

View datn's full-sized avatar
🥽
doing a few thingues

Dan Shick datn

🥽
doing a few thingues
View GitHub Profile
@datn
datn / vench.md
Last active March 5, 2024 20:35
vegan enchilada recipe

enchiladas

gear

  • several saucepans
  • a food processor to blend about 200ml of adobo
  • something to mash guacamole (fork probably won't cut it, i used a potato masher)

ingredients

@datn
datn / keybase.md
Created November 21, 2022 04:56
my keybase proof!

Keybase proof

I hereby claim:

  • I am datn on github.
  • I am sninkychan (https://keybase.io/sninkychan) on keybase.
  • I have a public key ASAfCJaLMV9N-APGYJ3vVTUoEpeAaDxEhBMWa4Q9eWSsGQo

To claim this, I am signing this object:

@datn
datn / gist:b72906faaa8abf2d8de55e1fdb2e83a9
Created October 9, 2021 20:54
images not loading from static domain
problem: images weren't loading from static.x
solution: in my nginx add header lines i was erroneously including a colon:
add_header X-Frame-Options: SAMEORIGIN;
add_header X-Content-Type-Options: nosniff;
firefox forgave me, chrome did not
this is correct:
@datn
datn / addshore-docker-backup.md
Last active June 18, 2021 09:20
Backing up data from Docker volumes

Backing up data

All data for Wikibase and the Query Service is stored in Docker volumes. You can create compressed copies of these volumes to use as backups or to hand off to other users.

Volume backups will only work if you use the same image when restoring / using the backup data. If you are backing up your mysql data you may also want to just take an SQL dump.

You can see all Docker volumes created by using the following command:

@datn
datn / keybase.md
Last active August 29, 2015 13:58
My keybase.io proof of life

Keybase proof

I hereby claim:

  • I am datn on github.
  • I am datn (https://keybase.io/datn) on keybase.
  • I have a public key whose fingerprint is FC7C CCC6 B409 2060 4E0E 5E22 30C6 BF63 0B79 813F

To claim this, I am signing this object: