Skip to content

Instantly share code, notes, and snippets.

View chrisbarnes2000's full-sized avatar
πŸš€
Open For Employment

Christopher Barnes chrisbarnes2000

πŸš€
Open For Employment
  • Greater Seattle, WA
  • 13:22 (UTC -08:00)
View GitHub Profile
@idleberg
idleberg / vscode-macos-context-menu.md
Last active November 9, 2025 09:42
β€œOpen in Visual Studio Code” in macOS context-menu

Open in Visual Studio Code

  • Open Automator
  • Create a new document
  • Select Quick Action
  • Set β€œService receives selected” to files or folders in any application
  • Add a Run Shell Script action
    • your default shell should already be selected, otherwise use /bin/zsh for macOS 10.15 (”Catalina”) or later
    • older versions of macOS use /bin/bash
  • if you're using something else, you probably know what to do πŸ˜‰
@sumit-code
sumit-code / Audio Steganography - sender.py
Created June 24, 2018 21:54 — forked from reachsumit/Audio Steganography - sender.py
This code contains a demo for Audio Steganography. It is to be used by sender end to embed text mentioned in string variable to the audio file.
# We will use wave package available in native Python installation to read and write .wav audio file
import wave
# read wave audio file
song = wave.open("song.wav", mode='rb')
# Read frames and convert to byte array
frame_bytes = bytearray(list(song.readframes(song.getnframes())))
# The "secret" text message
string='Peter Parker is the Spiderman!'
# Append dummy data to fill out rest of the bytes. Receiver shall detect and remove these characters.
@sumit-code
sumit-code / Audio Steganography - receiver.py
Created June 24, 2018 21:54 — forked from reachsumit/Audio Steganography - receiver.py
This code contains a demo for Audio Steganography. It is to be used by the receiver end, to extract the secret text embedded in the audio file.
# Use wave package (native to Python) for reading the received audio file
import wave
song = wave.open("song_embedded.wav", mode='rb')
# Convert audio to byte array
frame_bytes = bytearray(list(song.readframes(song.getnframes())))
# Extract the LSB of each byte
extracted = [frame_bytes[i] & 1 for i in range(len(frame_bytes))]
# Convert byte array back to string
string = "".join(chr(int("".join(map(str,extracted[i:i+8])),2)) for i in range(0,len(extracted),8))
@sumit-code
sumit-code / Audio Steganography_ultrasound - sender.ny
Created June 24, 2018 21:53 — forked from reachsumit/Audio Steganography_ultrasound - sender.ny
This code was shared by Audacity user edgar-rft (https://forum.audacityteam.org/memberlist.php?mode=viewprofile&u=5642) to generate silent subliminals and is an implementation of Oliver M. Lowery's 1989 patent (https://patents.google.com/patent/US5159703A/en).
;nyquist plug-in
;version 1
;type process
;name "Subliminal..."
;action "Subliminal..."
;control carrier "Carrier" real "Hz" 17500 14000 20000
(setf carrier (max 14000 (min carrier 20000)))
;; We have two Nyquist frequencies, carrier/2 and *sound-srate*/2.
@sumit-code
sumit-code / Audio Steganography_ultrasound - receiver.ny
Created June 24, 2018 21:53 — forked from reachsumit/Audio Steganography_ultrasound - receiver.ny
This code contains a demo for Audio Steganography. It is to be used by the receiver end, to extract the secret audio embedded within the public audio file.
;; replace the below frequency number with the original frequency used to embed the secret
(mult *track* (hzosc 17500.0))
@reachsumit
reachsumit / Audio Steganography - sender.py
Last active June 14, 2023 06:33
This code contains a demo for Audio Steganography. It is to be used by sender end to embed text mentioned in string variable to the audio file.
# We will use wave package available in native Python installation to read and write .wav audio file
import wave
# read wave audio file
song = wave.open("song.wav", mode='rb')
# Read frames and convert to byte array
frame_bytes = bytearray(list(song.readframes(song.getnframes())))
# The "secret" text message
string='Peter Parker is the Spiderman!'
# Append dummy data to fill out rest of the bytes. Receiver shall detect and remove these characters.
@parmentf
parmentf / GitCommitEmoji.md
Last active November 5, 2025 16:33
Git Commit message Emoji

Inspired by dannyfritz/commit-message-emoji

See also gitmoji.

Commit type Emoji
Initial commit πŸŽ‰ :tada:
Version tag πŸ”– :bookmark:
New feature ✨ :sparkles:
Bugfix πŸ› :bug: