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
# Thomas Daley | |
# September 13, 2021 | |
# A generic build template for C/C++ programs | |
# executable name | |
EXE = app | |
# C compiler | |
CC = gcc |
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/python3 | |
import pip | |
while True: | |
try: | |
#import your modules here. ! | |
from distutils.spawn import find_executable | |
from shutil import which |
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
#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 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
pyinbash.sh | |
py3-script.py | |
pyscript.py | |
scripts | |
scripts/* | |
execl-example | |
execl-example.dSYM/ |
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
#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 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
.DS_Store | |
evil.exe | |
test.txt |
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
var Twitter = require('node-tweet-stream') | |
, t = new Twitter({ | |
consumer_key: '', | |
consumer_secret: '', | |
token: '', | |
token_secret: '' | |
}); | |
var watch = [ | |
"SB52", | |
"SBLII", |
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
[dependencies] | |
miniscript = { git="https://github.com/apoelstra/rust-miniscript", features=["compiler"] } | |
bitcoin = "0.18" | |
secp256k1 = "0.12" |
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
# more extensive check intended for scenerios such as pulling an existing repo you're unfamiliar with, pulling down changes | |
# and wanting to ensure your current node_modules/ is up-to-date with any package.json changes, etc. | |
# you will automatically be prompted to install the two required global npm modules | |
nodecheck() { | |
printf "\n\n" | |
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' - | |
printf '%*s\n' "${COLUMNS:-$(tput cols)}" '' | tr ' ' . | |
printf "ENVIRONMENT:\n" |
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
########################################## | |
# | |
# c.f. https://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4 | |
# | |
# Version 2.82 | |
# | |
# Latest Change: | |
# - MORE tweaks to get the iOS 10+ and 9- working | |
# - Support iOS 10+ | |
# - Corrected typo for iOS 1-10+ (thanks @stuikomma) |