Skip to content

Instantly share code, notes, and snippets.

karb0f0s

Block or report user

Report or block karb0f0s

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@karb0f0s
karb0f0s / enable_aptx_aac_macos.sh
Created Jun 18, 2019 — forked from marnovo/enable_aptx_aac_macos.sh
Enable AptX and AAC codecs on macOS
View enable_aptx_aac_macos.sh
# (c) 2018 Marcelo Novaes
# License - MIT
# Enable AptX and AAC codecs on bluetooth connections on macOS
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
sudo defaults write bluetoothaudiod "Enable AAC code" -bool true
# Reads set values, should return something like:
# {
@karb0f0s
karb0f0s / PS MD5 from text
Created Mar 8, 2018 — forked from dalton-cole/PS MD5 from text
PowerShell text to MD5 hash
View PS MD5 from text
#converts string to MD5 hash in hyphenated and uppercase format
$someString = "test"
$md5 = new-object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider
$utf8 = new-object -TypeName System.Text.UTF8Encoding
$hash = [System.BitConverter]::ToString($md5.ComputeHash($utf8.GetBytes($someString)))
#to remove hyphens and downcase letters add:
$hash = $hash.ToLower() -replace '-', ''
You can’t perform that action at this time.