Skip to content

Instantly share code, notes, and snippets.

View JustCallMeShiv's full-sized avatar
💭
Constantly Thinking

JustCallMeShiv

💭
Constantly Thinking
View GitHub Profile
@hepcat72
hepcat72 / sendText.osa
Last active August 28, 2025 16:43
Send SMS or iMessages via AppleScript
#!/usr/bin/env osascript
-- Version 2, now with attachments!
-- Note, the first couple times you run this script, the Messages app may prompt you to approve a couple things, one of which will be the ability to send SMS messages through your phone
-- Run via osascript on the command line like this:
-- osascript sendText.scpt --to ########## "this is" "a text message" --attachment "/path/to/image.png" "sent via applescript"
-- Where ########## is the phone number to send to
-- If you leave out `--to ##########`, it defaults to the value of an environment variable named MYPHONE in your .bashrc file (add the line "export MYPHONE=##########" to ~/.bashrc, entering your default phone number in place of ##########)
-- The 3 quoted strings will appear on separate lines and the image will be inserted between the lines "a text message" and "sent via applescript"
on run argv
@JoshuaMorris
JoshuaMorris / readme.md
Last active August 3, 2025 13:03
Pwnagotchi setup details

Welcome to your new Pwnagotchi

Congratulations on the purchase of your Pwnagotchi.

I have put this device together for you and tested to make sure it is operating as expected.

What is it?

Pwnagotchi is an A2C-based “AI” powered by bettercap and running on a Raspberry Pi Zero W that learns from its surrounding WiFi environment in order to maximize the crackable WPA key material it captures (either through passive sniffing or by performing deauthentication and association attacks). This material is collected on disk as PCAP files containing any form of handshake supported by hashcat, including full and half WPA handshakes as well as [PMKIDs](https://www.evilsocket.net/2019/02/13/Pwning-WiFi-networks-with-bettercap-an

@ssmythe
ssmythe / devops_training.txt
Last active October 29, 2025 06:56
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
@codeswimmer
codeswimmer / ios_file_via_url.m
Created January 2, 2013 20:01
iOS: How To Access Local File Using NSURL
Use [[NSBundle mainBundle] resourceURL] to gain a URL string of your local resource.
For example you have index.html in you bundle resource directory. To create an NSURL of that local html file to display on your UIWebView. Simply do this.
NSString *resourceURLString = [[NSBundle mainBundle] resourceURL];
resourceURLString will return something like this: file:/../AppName.app/
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@index.html",resourceURLString]];