View globalentry.sh
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 | |
# exclude empty string | |
curl -s 'https://ttp.cbp.dhs.gov/schedulerapi/slots?orderBy=soonest&limit=10&remote=true&minimum=1' | grep -v '\[ \]' |
View click_grow_extension.scad
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
$fn = 100; | |
translate([0,0,100/2]) { | |
difference() { | |
cube([35,15,100],center=true); | |
cube([35-2,15-2,100.01],center=true); | |
translate([0,0,-35]) { | |
translate([35/2-2,0,0]) { | |
cube([2,20,30.01],center=true); |
View conformal brush.scad
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
$fn = 100; | |
cap_d = 27; | |
cap_h = 2; | |
cone_h = 15; | |
cone_base = 4.6; | |
cone_tip = 3.8; | |
union() { | |
cylinder(h=cap_h, d=cap_d); // cap |
View docker-compose-install.sh
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
# https://github.com/docker/compose | |
curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64 > /usr/libexec/docker/cli-plugins/docker-compose | |
chmod +x /usr/libexec/docker/cli-plugins/docker-compose |
View remove-advertisers.js
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
// I did this in Chrome... | |
// | |
// Go to https://www.facebook.com/ads/preferences/ | |
// Click the "Advertisers" section to open it up. | |
// Click "See more" once | |
// Before doing anything else, just keep clicking space bar to trigger the "see more" button | |
// Do this for a bit until all the advertisers are loaded | |
// then run this below in the dev tools console... | |
// (It will take a few minutes, depending how many you have, and your browser may lock up, but once it's done you will see it auto clicked the "remove" X in the top right for all of them) |
View settings.json
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
/* | |
Preference file for user scope | |
Please refer to the documentation online (https://github.com/theia-ide/theia/blob/master/packages/preferences/README.md) to learn how preferences work in Theia | |
*/ | |
{ | |
"git.decorations.colors": true | |
"editor.minimap.enabled": true |
View alsa.sh
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 | |
# info: https://wiki.archlinux.org/index.php/Bluetooth_headset#Troubleshooting | |
set -eu | |
DEVICE_NAME="TODO" | |
reset_bt() | |
{ | |
# turn card off | |
CARD=$(pactl list cards short | cut -f2 | grep blue | head -1) |
View Docekrfile
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
FROM ubuntu:14.04 as build | |
RUN apt update && \ | |
apt install -y autoconf automake libtool shtool cmake clang git make tcl pkg-config python2.7 curl | |
RUN git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools | |
ENV PATH=$PATH:/depot_tools | |
RUN mkdir /ct | |
WORKDIR /ct |
View tesla.json
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
{ | |
"certgraph": { | |
"command": "./certgraph -ct -ct-subdomains -depth 3 -details -json tesla.com", | |
"options": { | |
"ct": true, | |
"ct_subdomains": true, | |
"depth": 3, | |
"parallel": 10, | |
"port": "443", | |
"starttls": false, |
NewerOlder