This file contains hidden or 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/sh | |
# ================================================================================ | |
# You're not supposed to open this link directly | |
# Please run the following command according to the app you use | |
# -------- iSH -------- | |
# wget -O - https://imset9.686178.xyz | sh | |
# ------ a-Shell ------ | |
# # a-Shell seems to have issue running one-liner command, | |
# # so run each line separately |
This file contains hidden or 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
/* ==UserStyle== | |
@name read.amazon.co.jp Dark Mode | |
@namespace saru.moe/userstyles/read.amazon.co.jp | |
@version 0.1.0 | |
@description Dark Mode for read.amazon.co.jp | |
@author DannyAAM | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://read.amazon.co.jp") { | |
body, | |
._21ykqjol8NRHrgKPwlCGFu, |
This file contains hidden or 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
path_try_additional_ext_find_names() { | |
local fn="$1" result=() | |
shift | |
result+=("(" "-name" "$fn.$1") | |
shift | |
while (( $# )); do | |
result+=("-o" "-name" "$fn.$1") | |
shift | |
done | |
result+=(")") |
This file contains hidden or 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
if [[ -z "$RBENV_INIT" ]]; then | |
export RBENV_SYSTEM_RUBY=$( powershell -Command '& {& "$env:RBENV_ROOT\rbenv\bin\rbenv.ps1" init *> $null ; echo $env:RBENV_SYSTEM_RUBY}' ) | |
export PATH="$RBENV_ROOT/rbenv/bin":"$RBENV_ROOT/shims":$PATH | |
if [[ -n "$RUBYLIB" ]]; then | |
export RUBYLIB="$RUBYLIB":"$RBENV_ROOT/rbenv/share" | |
else | |
export RUBYLIB="$RBENV_ROOT/rbenv/share" | |
fi |
This file contains hidden or 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/bash | |
mapfile -t swaps < <(cat /proc/swaps | awk '/^\/dev\// && /partition/ { print $1 }') | |
for swap in "${swaps[@]}"; do | |
swapoff "$swap" | |
name="swap-$(echo "$swap" | cut -c 6- | tr '/ ' '_-')" | |
cryptsetup plainOpen --batch-mode --cipher aes-xts-plain64 --key-size 512 --sector-size 4096 --key-file=/dev/urandom "$swap" "$name" | |
mkswap "/dev/mapper/$name" > /dev/null | |
swapon "/dev/mapper/$name" | |
done |
This file contains hidden or 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
/** | |
* @name MessageLoggerV2 | |
* @version 1.8.33 | |
* @invite NYvWdN5 | |
* @donate https://paypal.me/lighty13 | |
* @website https://1lighty.github.io/BetterDiscordStuff/?plugin=MessageLoggerV2 | |
* @source https://github.com/1Lighty/BetterDiscordPlugins/blob/master/Plugins/MessageLoggerV2/MessageLoggerV2.plugin.js | |
* @updateUrl https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/MessageLoggerV2/MessageLoggerV2.plugin.js | |
*/ | |
/*@cc_on |
This file contains hidden or 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 | |
l="/ip4/127.0.0.1/tcp/5001" | |
c="/ip4/127.0.0.1/tcp/9095" | |
ipfs="/usr/bin/ipfs" | |
if [[ "$@" =~ "--api" ]]; then | |
$ipfs "$@" | |
elif [[ "$1" = "--local" || "$1" = "-L" ]]; then | |
shift | |
$ipfs --api "$l" "$@" |
This file contains hidden or 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
Put corrupted OTP (named otp.mem, same as GodMode9 name) in the same location, run it, then the fixed OTP will be named otp_fixed.mem (will still write it even nothing is fixed) |
This file contains hidden or 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/sh | |
DELAY=1 | |
PID=0 | |
trap_int() { | |
if [ "$PID" = "0" ]; then | |
exit | |
else |
This file contains hidden or 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 | |
BOOT9=~/.3ds/boot9.bin | |
if [[ ! "$1" =~ ^- ]]; then | |
ESSENTIAL="$1" | |
shift | |
ARGC=$# | |
else | |
ESSENTIAL="${@:$#}" |
NewerOlder