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
use rand_chacha::ChaCha20Rng; | |
use schnorr_fun::fun::{KeyPair, Scalar}; | |
use schnorr_fun::{Message, nonce, Schnorr}; | |
use schnorr_fun::adaptor::Adaptor; | |
use schnorr_fun::fun::marker::Public; | |
use schnorr_fun::musig::MuSig; | |
use sha2::Sha256; | |
fn main() { | |
// Little proof of concept. Doesn't actually do real transactions, but you get the idea. |
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
# Thomas Daley | |
# September 13, 2021 | |
# A generic build template for C/C++ programs | |
# executable name | |
EXE = app | |
# C compiler | |
CC = gcc |
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 | |
import pip | |
while True: | |
try: | |
#import your modules here. ! | |
from distutils.spawn import find_executable | |
from shutil import which |
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 | |
osascript <<EOS | |
on toggle() | |
tell application "System Preferences" to reveal pane id "com.apple.preferences.sharing" | |
tell application "System Events" to tell window 1 of application process "System Preferences" | |
repeat until exists checkbox 1 of (first row of table 1 of scroll area 1 of group 1 whose value of static text 1 is "AirPlay Receiver") |
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
gnostr-org |
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 | |
(echo `pwd`) & clear && \ | |
NVM_VERSION=v16.20.2 | |
touch .nvmrc | |
echo $NVM_VERSION > .nvmrc | |
if ! grep -q "$NVM_VERSION" .nvmrc; then echo "$NVM_VERSION" > .nvmrc; fi;\ | |
touch .gitignore | |
if ! grep -q ".nvmrc" .gitignore; then echo ".nvmrc" >> .gitignore; fi;\ | |
if ! grep -q ".gitignore" .gitignore; then echo ".gitignore" >> .gitignore; fi;\ |
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
#Log and type | |
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all | |
# To enable screen sharing | |
cd /Library/Preferences | |
echo -n enabled > com.apple.ScreenSharing.launchd | |
# To disable screen sharing | |
cd /Library/Preferences | |
rm com.apple.ScreenSharing.launchd |
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
pyinbash.sh | |
py3-script.py | |
pyscript.py | |
scripts | |
scripts/* | |
execl-example | |
execl-example.dSYM/ |
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
#include<stdio.h> | |
#include<errno.h> | |
#include<stdlib.h> | |
#include<strings.h> | |
#include<unistd.h> | |
#define BASH_EXEC "/usr/bin/bash" | |
#define LS_EXEC "/usr/bin/ls" | |
#define BSIZE 50 |
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
.DS_Store | |
evil.exe | |
test.txt |
NewerOlder