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 | |
#RPi CPU tempreture | |
echo "$(($(< /sys/class/thermal/thermal_zone0/temp)/1000))°C" |
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://www.youtube.com/watch?v=BaW_jenozKc' | perl -ne 'print if s/.*ytplayer\.config\s*=\s*(\{.+?});ytplayer.*/\1/' | jq -r '.args.player_response | fromjson | .streamingData.formats | max_by(.bitrate) | .url' |
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
const fs = require("fs"); | |
let i = 1; | |
let n = "0\n"; | |
for (i = 1; i <= 1000000; i++) n += `${i.toString()}\n`; | |
fs.writeFile("message.txt", n, err => { | |
if (err) return console.error(err); | |
}); |
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
|
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
┏━━━━━━━━━━━━━━━┫ [!] Configuring popularity-contest ┣━━━━━━━━━━━━━━━┓ | |
┃ The system may anonymously supply the distribution developers with statistics about the ┃ | |
┃ most used packages on this system. This information influences decisions such as which ┃ | |
┃ packages should go on the first distribution CD. ┃ | |
┃ ┃ | |
┃ If you choose to participate, the automatic submission script will run once every week, ┃ | |
┃ sending statistics to the distribution developers. The collected statistics can be viewed ┃ | |
┃ on https://popcon.debian.org/. ┃ | |
┃ ┃ | |
┃ This choice can later be modified by running "dpkg-reconfigure popularity-contest" ┃ |
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
/* Directive */ /* Value */ | |
#include <stdio.h> | |
/* Type */ /* Name */ /* Arguments */ | |
int main (void) | |
{ /* Name */ /* Arguments */ | |
; puts ("Hello, World!") | |
/* Statement */ /* Value */ | |
; return 0 | |
;} |
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
#\ | |
i\ | |
n\ | |
c\ | |
l\ | |
u\ | |
d\ | |
e\ | |
\ | |
<\ |
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
diff --git a/pfetch b/pfetch | |
index 039a898..9d350a1 100755 | |
--- a/pfetch | |
+++ b/pfetch | |
@@ -1038,10 +1038,8 @@ get_palette() { | |
palette="$palette$e" | |
} | |
- # Print the palette with a new-line before and afterwards. | |
- printf '\n' >&6 |
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/zsh | |
alias -g gutt="git" |
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 | |
mkmit() { | |
[[ -e LICENSE ]] && printf "A LICENSE file already exists\n" && return | |
cat << EOF > LICENSE | |
MIT License | |
Copyright (c) $(date +%Y) $([[ -n $1 ]] && printf "%s " "$@" || whoami) |
OlderNewer