Skip to content

Instantly share code, notes, and snippets.

View bpgould's full-sized avatar
💭
drinking from the firehose, happily

Bennett Gould bpgould

💭
drinking from the firehose, happily
View GitHub Profile
@bpgould
bpgould / list-of-curl-options.txt
Created January 31, 2023 04:54 — forked from eneko/list-of-curl-options.txt
List of `curl` options
$ curl --help
Usage: curl [options...] <url>
--abstract-unix-socket <path> Connect via abstract Unix domain socket
--alt-svc <file name> Enable alt-svc with this cache file
--anyauth Pick any authentication method
-a, --append Append to target file when uploading
--basic Use HTTP Basic Authentication
--cacert <file> CA certificate to verify peer against
--capath <dir> CA directory to verify peer against
-E, --cert <certificate[:password]> Client certificate file and password
@bpgould
bpgould / proc.sh
Created October 17, 2022 18:41 — forked from mlgill/proc.sh
Bash script to display sorted list of processes using most memory or cpu with colorized output
#!/bin/bash
# Michelle L. Gill
# 2014/10/25
# For use with Today Scripts
# http://www.reddit.com/r/osx/comments/2k24ps/today_scripts_widget_update_colorized_output
# Inspired by: https://gist.github.com/anonymous/470bb40b05173fdb6348
# Set this to "cpu" or "mem"
procname="cpu"