- ArchiveBox Project
- Edited configuration and deployment scripts
Makefile
.dockerignore
- Managed virtual machines
- Attempted to run a machine with
fly machine run
(failed with status 1) - Viewed and listed machine leases
- Stopped and destroyed machines using
make
commands andfly
commands
- Attempted to run a machine with
- Edited configuration and deployment scripts
- Copied environment variables
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 bash | |
# | |
# Import a summary of my daily shell history to Obsidian. | |
# | |
export PROMPT="summarize what I worked on today at a very high level in markdown using nested bullet points. For each directory group / project include which files were edited. Ignore commands that don't materially change anything (e.g. navigation, git)." | |
export AFTER=$(date +"%Y-%m-%dT00:00:00%z") | |
# Check if at least one argument is provided |
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
openapi: 3.0.1 | |
info: | |
title: test API | |
version: 2.0.0 | |
license: | |
name: Apache 2.0 | |
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' | |
servers: | |
- url: '/api/v1/' | |
paths: |
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
openapi: 3.0.1 | |
info: | |
title: test API | |
version: 2.0.0 | |
license: | |
name: Apache 2.0 | |
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' | |
servers: | |
- url: '/api/v1/' | |
paths: |
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
{ | |
"openapi": "3.0.2", | |
"info": { | |
"title": "My Test API", | |
"description": "An API for testing openapi-python-client", | |
"version": "0.1.0" | |
}, | |
"paths": { | |
"/tests/": { | |
"get": { |
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
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "Benchling API", | |
"version": "2.0.0", | |
"license": { | |
"name": "Apache 2.0", | |
"url": "http://www.apache.org/licenses/LICENSE-2.0.html" | |
} | |
}, |
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/bash | |
set -euxo pipefail | |
umask 022 | |
PYTHON_VERSION="2.7.10" | |
PYTHON_SRC_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz" | |
PYTHON_SRC_SHA256="eda8ce6eec03e74991abb5384170e7c65fcd7522e409b8e83d7e6372add0f12a" | |
OPENSSL_VERSION="1.0.2h" |
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
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix |
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/bash | |
# create memory limited cgroup | |
sudo cgcreate -g memory:firefox | |
echo "5G" | sudo tee -a /sys/fs/cgroup/memory/firefox/memory.limit_in_bytes | |
echo "1" | sudo tee -a /sys/fs/cgroup/memory/firefox/memory.swappiness | |
# move shell to cgroup | |
echo $$ | sudo tee /sys/fs/cgroup/memory/firefox/tasks | |
# start firefox |
NewerOlder