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
FROM debian:stable-slim | |
ARG PUB_CONTROLIP=0.0.0.0 | |
ARG PUB_CONTROLPORT=9052 | |
#ACCESSLOG /var/log/rinetd.log | |
RUN apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get -o Acquire::Retires=10 install --no-install-recommends -y \ | |
ca-certificates curl gnupg && \ | |
printf 'deb http://deb.torproject.org/torproject.org stable main' >> /etc/apt/sources.list && \ | |
curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | apt-key add - && \ |
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 python3 | |
# | |
# don't require rpc auth. | |
# | |
# requirements: | |
# sudo apt-get install libssl-dev | |
# pip install python-bitcoinlib | |
# docs: | |
# https://github.com/petertodd/python-bitcoinlib | |
# usage: |
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 | |
#┌── Kali Linyx Style # | |
#└─ Promnt Bash # | |
export PS1="\033[33m\]┌──(₿)\033[33m\]\033[33m\]\u\033[33m\]@\033[33m\]\h:\033[01;32m\]\w\033[33m\]\n\033[33m\]└─\\[\033[33m\]$\[\033[33m\] " |
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
<html> | |
<head> | |
<title>Math.random() vs crypto.getRandomValues()</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<style> | |
body { background: #333; text-align: center; } | |
canvas { | |
margin: 50px; | |
height: 400px; | |
width: 400px; |
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/sh | |
#path of the ramdisk | |
PATH=/media/ram | |
#automount ad startup | |
AUTO=",auto" | |
#disk size | |
SIZE=2G | |
sudo mkdir -p /media/ram | |
sudo echo "tmpfs $PATH tmpfs size=$SIZE,rw$AUTO,user,noatime,x-gvfs-show 0 0" >> /etc/fstab | |
sudo mount -a |
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
/* | |
Usage: | |
$ node electrum-client.js <servername>:<port> 3Eh99S957RnRrKmiU6DPAphwvjYB8UkeQb | |
Output: | |
address:3Eh99S957RnRrKmiU6DPAphwvjYB8UkeQb amount:0.0158 btc | |
*/ | |
const net = require('net') | |
, bitcoin = require('bitcoinjs-lib'); |
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
Concept ACK - Agree with the idea and overall direction, but haven't reviewed the code changes or tested them. | |
utACK (untested ACK) - Reviewed and agree with the code changes but haven't actually tested them. | |
Tested ACK - Reviewed the code changes and have verified the functionality or bug fix. | |
ACK - A loose ACK can be confusing. It's best to avoid them unless it's a documentation/comment only change in which case there is nothing to test/verify; therefore the tested/untested distinction is not there. | |
NACK - Disagree with the code changes/concept. Should be accompanied by an explanation. |
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 | |
# Copyright @st3b1t 2023 | |
# | |
# usage: ./wait-for-chmod.sh /path/to/file/to/check <next-command> | |
# | |
# example, check bitcoin cookie file is readable by group: | |
# ./wait-for-chmod.sh /home/bitcoin/.bitcoin/.cookie <next-command> | |
# | |
set -e |
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://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
https://adaway.org/hosts.txt | |
https://v.firebog.net/hosts/AdguardDNS.txt | |
https://v.firebog.net/hosts/Easyprivacy.txt | |
https://winhelp2002.mvps.org/hosts.txt |
OlderNewer