If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
/* pixieset.com full size image scraper | |
* | |
* Rips all images in highest quality | |
* | |
* To use, scroll to the very bottom of the album and press F12 then paste the below snippet in and press enter. | |
* The full file list will be copied to your clipboard. You can use jdownloader to easily download the full list. | |
*/ | |
(() => { | |
const data = document.querySelectorAll('img') |
# https://github.com/messense/homebrew-macos-cross-toolchains | |
brew tap messense/macos-cross-toolchains | |
brew install x86_64-unknown-linux-gnu | |
export CC_X86_64_UNKNOWN_LINUX_GNU=x86_64-unknown-linux-gnu-gcc | |
export CXX_X86_64_UNKNOWN_LINUX_GNU=x86_64-unknown-linux-gnu-g++ | |
export AR_X86_64_UNKNOWN_LINUX_GNU=x86_64-unknown-linux-gnu-ar | |
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-unknown-linux-gnu-gcc |
const { | |
AndroidConfig, | |
WarningAggregator, | |
withAndroidManifest, | |
withAppDelegate, | |
withDangerousMod, | |
withInfoPlist, | |
withMainActivity, | |
withPlugins, | |
} = require('@expo/config-plugins') |
#[macro_use] extern crate rocket; | |
use std::env; | |
use anyhow::Result; | |
use rocket::State; | |
use rocket::http::Status; | |
use sqlx::{Pool, Postgres}; |
/* pixieset.com full size image scraper | |
* | |
* Rips all images in highest quality | |
* | |
* To use scroll to the very bottom of the album and press F12 then paste the below snippet in and press enter. | |
* The full file list will be copied to your clipboard afterwards. You can use jdownloader to easily download the full list. | |
*/ | |
(() => { | |
const data = document.querySelectorAll('.masonry-brick img') |
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
# To remove only some text on a content | |
@remove: //p[self::p/strong[contains(text(), "Articles liés")]] | |
@remove: //iframe[contains(@src,"https://urlsomething")] | |
# To deal with fucking error of <img> is not supported in blabla | |
@before_el(./..): //a/img | |
@before_el(./..): //p/img |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish