Skip to content

Instantly share code, notes, and snippets.

function yt-song {
Param(
[Parameter(Mandatory=$false, ValueFromRemainingArguments=$false)]
[Alias('f')]
# [ValidateScript({ yt-song-validate-format $_ })]
[ValidateSet("mp3", "aac", "opus", "vorbis", "flac", "wav")]
[String[]]$Formats,
[Parameter(Mandatory=$false)]
[Alias('h')]
{ "message": "hello world" }
// https://ssb.dkit.ie/BannerExtensibility/customPage/page/ECP_FINAL_GRADES
#pbid-blkECPFINALGRADES_GPA {
display: none;
}
#pbid-blkECPFINALGRADES_StudentInfo_CW {
opacity: 0;
user-select: none;
}
  • Enables Long file paths
  • Disable Bing Search Results in taskbar search
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
#!/usr/bin/env bash
curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php
HASH=`curl -sS https://composer.github.io/installer.sig`
php -r "if (hash_file('SHA384', '/tmp/composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer