Skip to content

Instantly share code, notes, and snippets.

View Nanodragon999's full-sized avatar
🏠
Searching for a remote work.

Norton Nanodragon999

🏠
Searching for a remote work.
  • France
View GitHub Profile
@Krazybug
Krazybug / omercy.py
Last active April 20, 2025 01:11
O'Reilly free ebooks downloader
'''
O'Meirrcy !!!! Download free ebooks from O'Reilly
Usage:
> git clone https://gist.github.com/Krazybug/1ae50814d25b0a1d862dfdf7161ee503
> mv 1ae50814d25b0a1d862dfdf7161ee503 omercy
> cd omercy
> pip install requests
> pip install bs4
> python omercy.py
anonymous
anonymous / scope.sh
Created January 12, 2018 20:24
#!/usr/bin/env bash
set -o noclobber -o noglob -o nounset -o pipefail
IFS=$'\n'
# If the option `use_preview_script` is set to `true`,
# then this script will be called and its output will be displayed in ranger.
# ANSI color codes are supported.
# STDIN is disabled, so interactive scripts won't work properly
@ObserverOfTime
ObserverOfTime / BDLinux.md
Last active June 26, 2025 19:46
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.

#!/bin/bash
function DF {
CMD="$(declare -f DF);$(declare -f $1);$1"
gnome-terminal -e "bash -ic '${CMD//\'/\'\"\'\"\'}'"
}
function MAIN {
{
while true; do
echo `expr $RANDOM \% 100`
for (( I = 0; I < 32; ++I )); do
@afeld
afeld / README.md
Last active August 27, 2019 05:04
archive inactive GitHub repositories in an organization
@joselitosn
joselitosn / minecraft-mods.md
Last active May 20, 2019 09:23
Compilation of my most used Minecraft mods
@pshapiro
pshapiro / index.js
Created November 28, 2017 06:46
Puppeteer Crawler Example
var Walker = require('puppeteer-walker')
var fs = require('fs')
var walker = Walker()
fs.writeFile('output.csv', 'URL, Title, H2\r\n', 'utf8', function (err) {
console.log(`Header written`)
})
walker.on('end', () => console.log('finished walking'))
@sstativa
sstativa / morse.sh
Created November 14, 2017 01:21
Bash Morse code Generator
#!/bin/bash
#script: Morse
#Written by Ole-Jørgen Næss Kolsrud
#Thanks to crunchbangers damo, ehde and aibo!
#Also, thank you, Internet=P
#Dependencies: bash, beep
@davemac
davemac / getlinks
Last active April 4, 2023 04:32
bash wget a remote URL, then extract the URLs from the anchor tags in that URL