Based on https://gist.github.com/kevin-smets/8568070
-
Install iTerm2
-
Import patched Solarized Dark under Settings → Profiles → Colors → Color Presets…
More info on patched vs vanilla Solarized Dark:
#!/bin/bash | |
# Function to convert millidegree Celsius to Fahrenheit | |
convert_to_fahrenheit() { | |
local temp_milli_c=$1 | |
# Convert millidegree Celsius to Celsius | |
local temp_c=$(echo "scale=4; $temp_milli_c / 1000" | bc) | |
# Convert Celsius to Fahrenheit | |
echo "scale=2; ($temp_c * 9 / 5) + 32" | bc | |
} |
#!/bin/bash | |
cd / | |
sudo apt update | |
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - |
library(geojsonsf) | |
library(sf) | |
library(rayrender) | |
#Data source: https://github.com/telegeography/www.submarinecablemap.com | |
cables = geojson_sf("cable-geo.json") | |
cablescene = list() | |
counter = 1 | |
for(i in 1:length(cables$geometry)) { |
#!/usr/bin/env bash | |
# Exit script when command fails | |
set -o errexit | |
# Exit when script tries to use undeclared variable | |
set -o nounset | |
# Exit if piped command fails | |
set -o pipefail | |
# aka: | |
# set -euo pipefail |
#!/usr/bin/env bash | |
# https://github.com/siberex/cancelot | |
# | |
# To download the latest version (if you trust running random bash scripts from the internets!): | |
# curl -L https://gist.github.com/siberex/bb0540b208019382d08732cc6dd59007/raw -o cancelot.sh && chmod +x cancelot.sh | |
# | |
# Provides automation for cancelling Cloud Builds | |
# Use as a first step to cancel previous builds currently in progress or queued for the same branch name and trigger id. | |
# Similar to: https://github.com/GoogleCloudPlatform/cloud-builders-community/tree/master/cancelot |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
Based on https://gist.github.com/kevin-smets/8568070
Install iTerm2
Import patched Solarized Dark under Settings → Profiles → Colors → Color Presets…
More info on patched vs vanilla Solarized Dark:
⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,
FROM ubuntu | |
COPY entry.sh cmd.sh / | |
ENTRYPOINT ["/entry.sh"] | |
CMD ["/cmd.sh", "ololo"] |