Skip to content

Instantly share code, notes, and snippets.

@betolink
betolink / cloud-optimized-hdf5.ipynb
Created January 30, 2024 20:33
cloud optimized HDF5
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rouxcaesar
rouxcaesar / bradfield-thoughts.md
Last active April 26, 2024 21:03
Thoughts on Bradfield

My Thoughts on Bradfield

I've been asked by several people over time about my experience with the classes offered by Bradfield, and thought that I should save some future keystrokes by writing up a short gist for future reference. Hopefully this gist will be useful for others who are considering Bradfield and wondering it is worth it. My intended audience is primarily Launch School students who have completed the Core program and likely also Capstone, but the majority of this gist will be applicable to anyone who is a working/experienced software engineer.

Since late 2019, I've taken 4 short courses from the Bradfield School of Computer Science and in 2021 I enrolled in their Computer Science Intensive (CSI) program1. Overall, I've found the courses and CSI to be an excellent opportunity to grown my technical skills and broaden my knowledge of CS topics.

The courses I completed were:

  • Computer Architecture: The Hardware/Software Interface
@rouxcaesar
rouxcaesar / Capstone-Advice.md
Last active April 26, 2024 21:03
Advice for LS students entering Capstone

Advice for Capstone students

Here is a list of pieces of advice that I've given students entering the Capstone program of Launch School. The focus of this list is for the learning and project portions of the program, nothing job related (could be added later). It's based on my own experience going through Capstone and having observed other students go through the program. Not every piece of advice may apply to you, but I hope that at least some of it will be helpful.

Congrats on completing the Core Curriculum and getting accepted into Capstone and best of luck on your next journey!

  • Be prepared for a big shift in how you learn. While Core was mastery-based learning, Capstone and your future jobs will be just-in-time (JIT) learning. You will feel like you're drinking from a firehose of information and feel the urge to study some topics repeatedly, but I urge you to "timebox" your learning (dedicate some time to a topic and then move on). You will have the chance to circle back to any topics in Capstone d
@mtpython
mtpython / new-wezterm-at-folder.sh
Last active April 26, 2024 21:02
New WezTerm at Folder (Automator)
# Workflow receives current folders in Finder.app > Run Shell Script; Pass input: as arguments
exec /opt/homebrew/bin/wezterm start --cwd "$1" >/dev/null 2>&1 &
exec_pid=$!
sleep 0.1
while ! ps -p $exec_pid > /dev/null; do
sleep 0.5
done
osascript - "$exec_pid" <<EOF
@Morley93
Morley93 / openvpn.md
Last active April 26, 2024 21:01
This is how you can take an openvpn .ovpn config file and extract the certificates/key required to import the profile into NetworkManager.

OpenVPN .ovpn manipulation.

This is how you can take an OpenVPN .ovpn config file and extract the certificates/keys required to import the profile into NetworkManager.

  • Download the .ovpn file. Save it somewhere you can store it permanently (I use ~/.vpn).
  • Copy from between <ca> tags into ca.crt, remove <ca> tags.
  • Copy from between <cert> tags into client.crt, remove <cert> tags.
  • Copy from between <key> tags into client.key, remove <key> tags.
  • Copy from between <tls-auth> tags into ta.key, remove <tls-auth> tags.
  • Remove the line "key-direction 1"
  • Above "# -----BEGIN RSA SIGNATURE-----" insert the following lines.
inpagepush.com
offerimage.com
static.ptoahaistais.com
www.adssuper.com
www.bet365.com
members.bet365.com
ads.themoneytizer.com
onetag-sys.com
/*!/wp-includes/js/jquery/jquery.js*//*!jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license*/!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="1.12.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){r
@wellington1993
wellington1993 / gist:faf3d98121a856522500e4b659063209
Created July 1, 2020 00:49
Block Ads found in Speedtest.net Firefox Tracking Protection
- https://cdn.krxd.net
- https://l.betrad.com
- https://c.amazon-adsystem.com
- https://www.googletagmanager.com
- https://static.ziffdavis.com/
- https://prebid.digitru.st/
- https://www.google-analytics.com/
- https://analytics.google.com/
- https://cdn.static.zdbb.net/
- https://zdbb.net/
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 26, 2024 21:04
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser! If you absolutely need to use browser instead of desktop app, use an extension to add the string Electron/ anywhere in your user-agent.

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
  2. Join a vc
  3. Stream any window (can be notepad or something)
  4. Press Ctrl+Shift+I to open DevTools (see this if it doesn't work)
@dhh
dhh / linux-setup.sh
Last active April 26, 2024 20:59
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl docker.io \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils