This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Básicamente hay que hacer una app para poder usar la API de YT. | |
https://github.com/mps-youtube/mps-youtube/issues/1063#issuecomment-591440175 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
play -n -c1 synth sin %-1 sin %-6 sin %-10 sin %-16 fade h 0.1 3 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printf(fmt){ | |
var strings = fmt.split(/[%].?/), string=strings[0]; | |
for(let i=1; i<strings.length; i++){ | |
string+=arguments[i]+strings[i]; | |
} | |
console.log(string); | |
return string.length | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Recursively implodes an array with optional key inclusion | |
* | |
* Example of $include_keys output: key, value, key, value, key, value | |
* | |
* @access public | |
* @param array $array multi-dimensional array to recursively implode | |
* @param string $glue value that glues elements together |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Discreción | |
N=$RANDOM | |
NN=$(($N + 15)) | |
for i in $(seq $N $NN); do wget "https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-$i.jpg" --user-agent="Mozilla"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
G -- midi 127 -- 12543.854 Hz | |
F# -- midi 126 -- 11839.822 Hz | |
F -- midi 125 -- 11175.303 Hz | |
E -- midi 124 -- 10548.082 Hz | |
Eb -- midi 123 -- 9956.063 Hz | |
D -- midi 122 -- 9397.273 Hz | |
C# -- midi 121 -- 8869.844 Hz | |
C -- midi 120 -- 8372.018 Hz | |
B -- midi 119 -- 7902.133 Hz | |
Bb -- midi 118 -- 7458.620 Hz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sin frecuencia. | |
history | awk '{print $2}' | sort | uniq -c | sort -n -r | head | awk '{print $2}' | |
# Con frecuencia. | |
history | awk '{print $2}' | sort | uniq -c | sort -n -r | head |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Setting up an IRC server on Cent 6 | |
// Create a user and group for this guy | |
$ groupadd ircadmin && useradd -m -g ircadmin -s /bin/bash ircadmin | |
// Make a working directory (/var/source/) | |
mkdir source && cd source | |
// Grab the latest versions of Anope and UnrealIRCd | |
$ wget http://www.unrealircd.com/downloads/Unreal3.2.9.tar.gz http://downloads.sourceforge.net/project/anope/anope-stable/Anope%201.8.7/anope-1.8.7.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.github.com/users/USERNAME_HERE/repos 2>/dev/null | sed 's/"//g'| sed 's/,//g' | grep html_url | awk -F: '{print $2 ":" $3}' | sort | uniq |
NewerOlder