screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
screen -AmdS docker ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty
screen -r docker
# enter, then disconnect with Ctrl-a d
screen -S docker -p 0 -X stuff $(printf root\\r\\n)
screen -r docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mkdir -p certs | |
openssl req -x509 -days 365 -newkey rsa:4096 -nodes -sha256 -out certs/domain.crt -keyout certs/domain.key -subj "/C=DE/ST=Berlin/L=Berlin/O=IT/CN=docker.local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80 { | |
root /serve | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
# FRONT | |
chronograf: | |
# Full tag list: https://hub.docker.com/r/library/chronograf/tags/ | |
image: chronograf | |
deploy: | |
replicas: 1 | |
placement: | |
constraints: |
Edit: I few months ago I got a new laptop and did the same thing on Mavericks.
I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).
I kinda regret for not using Boxen to automate the
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cards": { | |
"0": { | |
"name": "weather", | |
"id": 0, | |
"tempUnit": "celsius", | |
"card": "Weather", | |
"location": "Europe/Berlin CET-1CEST,M3.5.0,M10.5.0/3", | |
"distanceUnit": "metric" | |
} |
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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder