https://data.sfgov.org/City-Infrastructure/Street-Tree-List/tkzw-k3nq
View extract_har.py
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
import json | |
import base64 | |
import os | |
# make sure the output directory exists before running! | |
folder = os.path.join(os.getcwd(), "imgs") | |
with open("src.har", "r") as f: | |
har = json.loads(f.read()) |
View docker-compose.yml
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.5' | |
services: | |
# LewisCowles local docker-compose partial for Minio/S3 | |
minio: | |
image: minio/minio | |
ports: | |
- 9000:9000 | |
restart: always | |
volumes: | |
- ./data/minio:/data |
View console filter (chrome)
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
-url:https://api.callstats.io/static/callstats-ws.min.js -url:https://auth.callstats.io/authenticate -url:chrome-extension://invalid/ -url:https://wp.dh.codesign2.co.uk/wp-content/plugins/digital-venue/assets/vue.js -url:https://meet.jit.si/external_api.js -url:https://web-cdn.jitsi.net/meetjitsi_5107.1757/libs/app.bundle.min.js?v=5107.1757 -url:https://web-cdn.jitsi.net/meetjitsi_5107.1757/libs/lib-jitsi-meet.min.js?v=5107.1757 |
View README.md
Git Rename Script
This is a fork of https://gist.github.com/lttlrck/9628955 to make the renaming of branches simpler.
Usage
- Ensure the script is executable.
git-rename.sh [oldbranchname] newbranchname [upstreamname]
conventions
View install-vscodium-64-bit-update-after-download.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
#!/bin/bash | |
sudo tar -xzf ~/Downloads/VSCodium-linux-x64*.tar.gz -C . && rm ~/Downloads/VSCodium-linux-x64* |
View Build and push to dockerhub
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
name: Docker Image CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: |
View math_spelunk.c
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
#include<stdio.h> | |
#include<math.h> | |
#include <stdint.h> | |
#include <string.h> | |
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ | |
#define for_endian(size) for (int i = 0; i < size; ++i) | |
#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ | |
#define for_endian(size) for (int i = size - 1; i >= 0; --i) |
View fullstory-org-code-js-input-helper.part.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
<script type="text/javascript"> | |
(function() { | |
/* | |
* Helper to extract FullStory Org code from URL when used in a HTML input element | |
*/ | |
const SCHEME_INDICATOR = '://'; | |
const URL_PATH_SEPARATOR = '/'; | |
const FULLSTORY_DOMAIN_INDICATOR = 'app.fullstory.com'; | |
document.querySelector('#fullstory_org_code').addEventListener('input', function(event) { |
NewerOlder