Skip to content

Instantly share code, notes, and snippets.

View andreajparker's full-sized avatar

Andrea Parker andreajparker

  • California
View GitHub Profile
@andreajparker
andreajparker / creds.md
Created April 27, 2020 05:16
A list of commonly-used credentials for red teaming

Credentials References

Keywords Type Asset Comment
PersonalAccessToken, PAT
@andreajparker
andreajparker / 13_may_2021_domains.md
Last active May 14, 2021 01:22
13_may_2021_domains.md

Unicode Character Look-Alikes

Original Letter Look-Alike(s)
a а ạ ą ä à á ą
c с ƈ ċ
d ԁ ɗ
e е ẹ ė é è
g ġ
h һ
@andreajparker
andreajparker / bibtex.png
Created May 15, 2023 15:22 — forked from max-mapper/bibtex.png
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@andreajparker
andreajparker / normcore-llm.md
Created August 23, 2023 20:15 — forked from veekaybee/normcore-llm.md
Normcore LLM Reads
@andreajparker
andreajparker / 2023-08-31_-_Markdown_variants.md
Last active August 31, 2023 18:25
2023-08-Markdown_variants

Intro

"Reddit's Markdown" is a bit borked: it doesn't seem to support linebreaks in Markdown tables. Below we outline the main 'variants' of Markdown, including what they were (originally) developed for, and then attempt to determine if we can somehow induce linebreaks into a 'Reddit Markdown' table.

(a) Main Markdown Variants

Markdown has evolved into several variants since its inception by John Gruber in 2004. Below is a table summarizing some of the main Markdown variants, their brief history, why they were developed, and their divergent features:

Variant Brief History Why Developed Divergent Features
@andreajparker
andreajparker / 2210[dot]14889.tex
Created September 12, 2023 20:29
https://arxiv.org/abs/2210.14889 - Perfectly Secure Steganography Using Minimum Entropy Coupling – Schroeder de Witt et al.
\documentclass{article} % For LaTeX2e
\usepackage{iclr2023_conference,times}
% Optional math commands from https://github.com/goodfeli/dlbook_notation.
\input{math_commands.tex}
\usepackage{hyperref}
\usepackage{url}
\usepackage{graphicx}
@andreajparker
andreajparker / 2023-09-24_from_chatGPT_output.md
Created September 24, 2023 22:50
2023-09-24 – Install `coreutils` using Homebrew on MacOS and setting up GNU utils to be used instead of the Mac-flavored utils

Here's a step-by-step guide for a brand new Mac user to install coreutils using Homebrew and then modify their PATH to use the GNU utilities without the "g" prefix:


Step-by-Step Guide to Installing coreutils on a Mac

  1. Open Terminal:
    • Open Spotlight
      • Method A to open Spotlight: Click on the magnifying glass icon, Spotlight, in the top right corner of your screen.
  • Method B to open Spotlight:Or press and hold the command key ⌘ and then press and release the spacebar to bring up Spotlight.)
@andreajparker
andreajparker / README.md
Created December 7, 2023 23:44 — forked from hubgit/README.md
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files

@andreajparker
andreajparker / ffmpeg-convert-mp3-to-wave
Created February 26, 2024 19:40 — forked from vunb/ffmpeg-convert-mp3-to-wave
Convert mp3 to wave format using ffmpeg
ffmpeg -i input.mp3 -acodec pcm_s16le -ac 1 -ar 16000 output.wav
# To convert all mp3 files in a directory in Linux:
for f in *.mp3; do ffmpeg -i "$f" -acodec pcm_s16le -ac 1 -ar 16000 "${f%.mp3}.wav"; done
# Or Windows:
for /r %i in (*) do ffmpeg -i %i -acodec pcm_s16le -ac 1 -ar 16000 %i.wav