Skip to content

Instantly share code, notes, and snippets.

View phrawzty's full-sized avatar
🕺
probably karaoke

Daniel Maher phrawzty

🕺
probably karaoke
View GitHub Profile
@phrawzty
phrawzty / tldr.md
Created June 27, 2024 15:04
Multi-arch containers using Docker on Lima on Apple ARM (M3)
  1. Install Rosetta
    1. softwareupdate --install-rosetta
  2. Create a Lima instance using the Docker template, but edit the YAML
    1. limactl create --name=docker template://default
    2. Add the YAML snippet from from Fast Mode 2 (Rosetta)
  3. Create and use that context with Docker
    1. docker context create docker --docker "…docker.sock"
    2. docker context use docker
  4. docker run …
@phrawzty
phrawzty / README.md
Last active January 30, 2022 08:59
Make word lists for Wordlem

Popular words

Did an Internet search for list of common english words. Here we go.

eslforums top 700

Link: https://eslforums.com/list-of-words/

List of 700+ Most Common English Words Everyone Should Learn!

@phrawzty
phrawzty / smaller_pdf.sh
Created February 10, 2021 18:10
Make a big pdf smaller from the commandline using ghostscript
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Usage: $0 <filename.pdf> [filename2.pdf …]"
exit `false`
fi
gs=`which gs`
if [ $? -ne 0 ]; then
echo "gs not found."
@phrawzty
phrawzty / answer.md
Last active January 22, 2019 09:37
Hi Patrick!

From the Agent docs (Ubuntu for example):

# Set the following parameters in /etc/datadog-agent/datadog.yaml:
logs_config:
  logs_dd_url: "agent-intake.logs.datadoghq.eu:443"

For reference, https://app.datadoghq.eu/account/settings#agent should help guide you through some configuration questions.

@phrawzty
phrawzty / notes.md
Last active April 15, 2020 03:22
Developer Relations meetup at Algolia

Opener

  • General hello and elevator pitch for Algolia.
  • Introducing the speakers.
  • Highlight "job of the day" - in this case, an Education Engineer (SF/Paris)

Valériane Venance, Deputy CTO at Le 24/24, Junior DevRel

  • Every company that has a product that is used by a developer can benefit from DevRel.
  • DevRel communicates directly to developers, raising awareness both before and during the product lifecycle.
@phrawzty
phrawzty / notes.md
Last active October 4, 2018 14:02
Jahia days, day 1

Tech Barge

Live coding React-GraphQL app - Serge Huber, CTO of Jahia

  • Jahia is an enormous CMS, like Wordpress but massive.
  • Content, like a blog post, is accessible via an API.
  • If using GraphQL, for example, one can build out JSON files that describe the content object.
    • "Propoerties of the node."
  • Authorisation controls via cfg files.
  • Config files appear to be ini-style, key/value pairs, one per line.
@phrawzty
phrawzty / notes.md
Last active September 26, 2018 17:33
Skillsmatter CloudNative 2018 (day 1)

Intro

  • Fire exits
  • CoC - read it, learn it, embrace it

"Private Cloud and the Sunk Cost Fallacy" - Sam Newman

  • Started with AWS in 2009
  • S3 is 12 years old (wow)
  • Amazon: "We sell electricity"; people were electrocuting themselves then blaming the provider.
@phrawzty
phrawzty / notes.md
Last active September 13, 2018 09:59
Devopsdays Berlin 2018

Day 2

Main track

Dirk Lehmann - Trust as Foundation of DevOps

  • TW: @doergn
  • Works at SAP
  • Background in ops.
  • Co-org Devopsdays Zurich 2019 (May)
@phrawzty
phrawzty / blah.md
Last active August 14, 2018 10:24
How to enclose a string in backticks, in fixed-width

`something`