Here are the contributions, over time, to Steven Black's Amalgamated Host Files.
Updated: July 30, 2022
#!/bin/sh | |
cd ~ | |
rm -rf Music | |
rm -rf Pictures | |
rm -rf Documents | |
rm -rf Videos | |
rm -rf Templates | |
rm -rf Public | |
mkdir projects |
Here are the contributions, over time, to Steven Black's Amalgamated Host Files.
Updated: July 30, 2022
// source: https://www.swyx.io/css-100-bytes | |
html { | |
max-width: 70ch; | |
padding: 3em 1em; | |
margin: auto; | |
line-height: 1.75; | |
font-size: 1.25em; | |
} | |
h1,h2,h3,h4,h5,h6 { |
See the conversation here: StevenBlack/hosts#1956
$ ghosts --tld -m /Users/steve/Downloads/top-1m.txt
----------------------------------------
Base hosts file summary:
----------------------------------------
Location: /Users/steve/Downloads/top-1m.txt
Domains: 999,295
# Run "git pull" in each subdirectory of the current directory. | |
# Useful when you store all of your git repos in one folder. | |
clear | |
for dir in ./*; # For every item in the folder: | |
do ( | |
if [ -d "$dir" ]; # If it is a directory: | |
then ( | |
echo "$dir" && # Print the path, |
sudo spctl --master-disable |
shutdown -r -m \\MachineName -t -0 |
use std::time::Instant; | |
let start = Instant::now(); | |
let mut lines: Vec<String> = self.raw_list.clone(); | |
println!("clone {}", start.elapsed().as_millis()); |
-- collected from various sources on the web. | |
select * from ( | |
('Absolute zero','#0048BA'), | |
('Acid green','#B0BF1A'), | |
('Aero','#7CB9E8'), | |
('Aero blue','#C9FFE5'), | |
('African violet','#B284BE'), | |
('Air Force blue (RAF)','#5D8AA8'), | |
('Air Force blue (USAF)','#00308F'), |
Last updated March 28, 2021
There are now two ways to approach this:
This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions