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 | |
# Check if both SRC and DST parameters are provided | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: $0 SRC DST" | |
exit 1 | |
fi | |
SRC="$1" | |
DST="$2" |
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 | |
find "$1" -iname "*.pdf.torrent" -type f | while read torrent; do | |
echo -e "$torrent\n dir=.download/$(dirname $torrent)" | |
done | aria2c --seed-time=1 --input-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
modules = peripheral.wrap("left") | |
while true do | |
sleep(1) | |
local o = modules.getInventory().list() | |
for k,v in pairs(o) do | |
if (k > 9) then | |
modules.getInventory().pushItems("right", k) | |
end |
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
https://urlhaus.abuse.ch/downloads/text/ | |
https://www.squidblacklist.org/downloads/dg-malicious.acl | |
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
https://s3.amazonaws.com/lists.disconnect.me/simple_malware.txt | |
https://mirror1.malwaredomains.com/files/immortal_domains.txt | |
http://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml&showintro=0&startdate[day]=01&startdate[month]=01&startdate[year]=2000&mimetype=plaintext | |
http://pgl.yoyo.org/adservers/iplist.php?ipformat=plain&showintro=0&mimetype=plaintext | |
http://malc0de.com/bl/IP_Blacklist.txt | |
http://cinsscore.com/list/ci-badguys.txt | |
https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt |
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
package coffee.weneed.utils.tests; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Random; | |
public class BRICS { | |
public static void main(String[] args) { |
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
/** | |
* Gets the entity that a entity is looking at | |
* @param blockReachDistance the distance to check | |
* @param entity the entity who is looking | |
* @return the entity found, or null if one is not found | |
* @since May 30, 2017 | |
* @author Dalethium | |
*/ | |
@Nullable | |
public Entity getLookedAtEntity(double blockReachDistance, Entity entity) { |