Skip to content

Instantly share code, notes, and snippets.

View gesellix's full-sized avatar
🐱
🐋

Tobias Gesellchen gesellix

🐱
🐋
View GitHub Profile
@gesellix
gesellix / Dockerfile
Created January 14, 2024 21:56 — forked from adtac/Dockerfile
#!/usr/bin/env docker run
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
# syntax = docker/dockerfile:1.4.0
FROM node:20
WORKDIR /root
RUN npm install sqlite3
@gesellix
gesellix / gradle.log
Created October 22, 2020 16:20
Logs for Gradle Issue 14951
2020-10-22T07:58:46.0435710Z ##[section]Starting: Request a runner to run this job
2020-10-22T07:58:46.1401470Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-10-22T07:58:46.2300563Z Can't find any online and idle self-hosted runner in current repository's organization/enterprise account that matches the required labels: 'ubuntu-latest'
2020-10-22T07:58:46.3245228Z Found online and idle hosted runner in current repository's enterprise account that matches the required labels: 'ubuntu-latest'
2020-10-22T07:58:46.4452474Z ##[section]Finishing: Request a runner to run this job
2020-10-22T07:59:03.0135963Z Current runner version: '2.273.5'
2020-10-22T07:59:03.0167430Z ##[group]Operating System
2020-10-22T07:59:03.0168304Z Ubuntu
2020-10-22T07:59:03.0168729Z 18.04.5
2020-10-22T07:59:03.0169082Z LTS

Keybase proof

I hereby claim:

  • I am gesellix on github.
  • I am gesellix (https://keybase.io/gesellix) on keybase.
  • I have a public key ASBnYf8yVziZUKdA5CObS2oolAKMm8mD1T_hbeH-wJM6UQo

To claim this, I am signing this object:

echo “foo” > example.txt
### add to .git/objects
git hash-object -w example.txt
git cat-file -p <blob-hash>
find .git/objects -type f
### add file to .git/index (“stage”)
git update-index ---add --cacheinfo 100644 <blob-hash> example.txt
@gesellix
gesellix / README.md
Created May 6, 2019 15:31 — forked from thaJeztah/README.md
Docker Changelog CLI plugin

Docker Changelog CLI plugin

Based on a tweet by @Tomwillfixit

Just a quick fun conversion to make it work as a Docker CLI plugin

To use it (assuming you're running a beta of Docker 19.03):

@gesellix
gesellix / PrintUserHome.java
Created January 29, 2019 20:58
Java and custom UID mapping in (Docker) containers
public class PrintUserHome {
public static void main(String[] args) {
System.out.println("User home: '" + System.getProperty("user.home") + "'");
}
}

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@gesellix
gesellix / config.json
Last active March 18, 2020 21:44
Oboo setup/config
{
"cards": {
"0": {
"name": "weather",
"id": 0,
"tempUnit": "celsius",
"card": "Weather",
"location": "Europe/Berlin CET-1CEST,M3.5.0,M10.5.0/3",
"distanceUnit": "metric"
}
@gesellix
gesellix / Caddyfile
Created August 2, 2018 06:42 — forked from Ocramius/Caddyfile
Example docker + docker-compose + caddy + traefik setup that routes to multiple apps from one exposed HTTP port
:80 {
root /serve
}
@gesellix
gesellix / Trello_Burndown.html
Created July 28, 2018 21:25 — forked from rtraschke/Trello_Burndown.html
Quick and dirty-ish page and script to pull annotated cards from Trello lists for creating basic burndown charts. Uses the Trello client.js and Google JSAPI APIs. General idea is that you mark lists in your board with a trailing asterisk, and annotate your cards with actions "estimate 1.5 days" or "estimate 5 hours", and then as you work, add ac…
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Trello Estimation Timelines</title>
<style type="text/css">
body {
font-family: arial;