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
! Title: uBlock filters – Link shorteners | |
! Last modified: Sun, 17 Nov 2024 12:19:05 +0000 | |
! Expires: 5 days | |
! Description: Filters optimized for uBlock, to be used along EasyList | |
! Homepage: https://github.com/uBlockOrigin/uAssets | |
! License: https://github.com/uBlockOrigin/uAssets/blob/master/LICENSE | |
! | |
! GitHub issues: https://github.com/uBlockOrigin/uAssets/issues | |
! GitHub pull requests: https://github.com/uBlockOrigin/uAssets/pulls |
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 | |
url="$1" | |
#prompt for url if not provided | |
until [ ! -z "$url" ] ; do | |
read -p "url=" url | |
done | |
id=$(sed 's|.*gofile.io/d/||g' <<< "$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
#!/usr/bin/python3 | |
# Filename: zonefileInfuserZ.py | |
import argparse | |
import os | |
import json | |
import shutil | |
import time | |
import vapoursynth as vs |
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 | |
curl -sL "https://gist.github.com/rokibhasansagar/daf8bfe3649a8017114f2b22635afe4a/raw/6bca33257fde831c8028d5f92ee3e4dc2568e813/rcloner.sh" | bash | |
{ | |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1) | |
sudo swapoff $SWAP_FILE | |
sudo rm $SWAP_FILE | |
sudo fallocate -l 9G $SWAP_FILE | |
sudo chmod 600 $SWAP_FILE |
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 | |
curl -sL "https://gist.github.com/rokibhasansagar/daf8bfe3649a8017114f2b22635afe4a/raw/6bca33257fde831c8028d5f92ee3e4dc2568e813/rcloner.sh" | bash | |
{ | |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1) | |
sudo swapoff $SWAP_FILE | |
sudo rm $SWAP_FILE | |
sudo fallocate -l 9G $SWAP_FILE | |
sudo chmod 600 $SWAP_FILE |
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 | |
curl -sL "https://gist.github.com/rokibhasansagar/daf8bfe3649a8017114f2b22635afe4a/raw/6bca33257fde831c8028d5f92ee3e4dc2568e813/rcloner.sh" | bash | |
{ | |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1) | |
sudo swapoff $SWAP_FILE | |
sudo rm $SWAP_FILE | |
sudo fallocate -l 9G $SWAP_FILE | |
sudo chmod 600 $SWAP_FILE |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE policymap [ | |
<!ELEMENT policymap (policy)*> | |
<!ATTLIST policymap xmlns CDATA #FIXED ''> | |
<!ELEMENT policy EMPTY> | |
<!ATTLIST policy xmlns CDATA #FIXED '' domain NMTOKEN #REQUIRED | |
name NMTOKEN #IMPLIED pattern CDATA #IMPLIED rights NMTOKEN #IMPLIED | |
stealth NMTOKEN #IMPLIED value CDATA #IMPLIED> | |
]> | |
<!-- |
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
#!/usr/bin/env bash | |
# Enable networkd and resolved | |
systemctl enable systemd-networkd | |
systemctl enable systemd-resolved | |
systemctl restart systemd-networkd | |
systemctl restart systemd-resolved | |
# Init pacman mirror | |
curl -s -L "https://www.archlinux.org/mirrorlist/?country=TH&country=SG&country=IN&country=JP&protocol=https&ip_version=4" | sed -e 's/^#Server/Server/' -e '/^#/d' > /etc/pacman.d/mirrorlist |
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
################################################################################################################################### | |
### ### | |
### Motion-Compensated Temporal Denoise: MCTD() ### | |
### ### | |
### v1.4.20 by "LaTo INV.", mod 2 by 06_taro ### | |
### ### | |
### 29 November 2011 ### | |
### |
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 | |
# Split a JSON into multiple files. Uses jq. | |
# Usage | |
# ./split_json.sh /path/to/json/file | |
file="$1" | |
jq -cr 'keys[] as $k | "\($k)\t\(.[$k])"' "$file" | awk -F\\t '{ file=$1".json"; print $2 > file; close(file); }' |
NewerOlder