Skip to content

Instantly share code, notes, and snippets.

View felipe-negri's full-sized avatar
🐲

Felipe Negri felipe-negri

🐲
View GitHub Profile
@qzm
qzm / aria2.conf
Last active May 22, 2025 03:10
Best aria2 Config
### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
@meetkabeershah
meetkabeershah / default nginx configuration file
Last active January 11, 2025 12:19
The default nginx configuration file inside /etc/nginx/sites-available/default
# Author: Zameer Ansari
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@tanaikech
tanaikech / submit.md
Last active January 31, 2025 22:31
Retrieving Access Token From OneDrive using Google Apps Script

Retrieving Access Token From OneDrive using Google Apps Script

Overview

This GAS sample is for retrieving access token to use OneDrive APIs using Google Apps Script.

In this script, the authorization code is automatically retrieved.

Demo

@crazy4groovy
crazy4groovy / deviant.groovy
Last active May 18, 2021 21:34
Get photos from deviantart gallery(s), download to local folder or export url list to local file
/*
* author: crazy4groovy
* description: given a list of 1+ deviant art gallery URLs (semicolon separated),
* will parse out a list of all full size images found.
* license: MIT, no warranties or guarantees!
*/
import static groovyx.gpars.GParsPool.withPool as parallel
/////////////////////////////////