Skip to content

Instantly share code, notes, and snippets.

View Patrick-web's full-sized avatar

Just Patrick Patrick-web

View GitHub Profile
@aleandroid
aleandroid / deez.revived.user.js
Last active August 6, 2024 06:05
Deezer Downloader Monkey Script
//---CONFIGURATION---//
const showMp3_128 = true; // Show MP3 @128k download (default: true)
const showMp3_320 = true; // Show MP3 @320k download (default: true)
const showFLAC = true; // Show FLAC download (default: true)
const showAzLyrics = true; // Show azLyrics checkbox (default: true)
const showListDownloader = true; // Show bulk download option (default: true)
const coverSize = 600; // JPEG cover size in px (default: 600)
const coverQuality = 80; // JPEG cover quality from 0 to 100 (default: 80)
//---DEBUG---//
@pcgeek86
pcgeek86 / cheatsheet.ps1
Last active November 7, 2024 10:53
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command
@adamotte
adamotte / deezer-mp3-download.js
Created July 17, 2017 15:39
Download - stream a deezer song / playlist / album in 320kbps, for educational purposes only ;). Strongly inspired by https://github.com/jaimehrubiks/deezer-download
const Promise = require("bluebird");
const request = require("request-promise");
const ID3Writer = require('browser-id3-writer');
const crypto = require('crypto');
const format = require('util').format;
const fs = require("fs");
const http = require('http');
let type = process.argv[2];
@mmacedo
mmacedo / preview_xterm.sh
Created November 9, 2012 19:13
Preview oh-my-zsh themes
#!/usr/bin/env bash
# Backup and modify .zshrc
cp $HOME/.zshrc $HOME/.zshrc_
sed -i "s/^ZSH_THEME=/\# \0/" $HOME/.zshrc
echo >> $HOME/.zshrc
echo "echo \"\\n\\n\\033[1;31m\$ZSH_THEME\\033[0m\\n\\n\"" >> $HOME/.zshrc
# Using xterm
CMD="xterm -ls -e /usr/bin/env zsh"