Skip to content

Instantly share code, notes, and snippets.

View mej's full-sized avatar

Michael Jennings mej

  • Los Alamos National Laboratory
  • Los Alamos, NM
  • 12:41 (UTC -06:00)
  • X @mej0
View GitHub Profile
@mej
mej / Advanced-setup.md
Created February 5, 2024 22:23 — forked from nandordudas/Advanced-setup.md
Setup WSL 2 on Windows 11

Install [Scoop] a command-line installer for Windows

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
iex "& {$(irm get.scoop.sh)} -ScoopDir ${Env:USERPROFILE}\Scoop"
scoop install git
scoop bucket add extras
scoop install delta exiftool
@mej
mej / extract_cookies.sh
Created March 9, 2022 23:18 — forked from hackerb9/extract_cookies.sh
Extract cookies.sqlite to cookies.txt for use in wget or curl.
#!/bin/sh -e
# extract_cookies.sh:
#
# Convert from Firefox's cookies.sqlite format to Netscape cookies,
# which can then be used by wget and curl. (Why don't wget and curl
# just use libsqlite if it's installed?)
# USAGE:
#
# $ extract_cookies.sh > /tmp/cookies.txt