Skip to content

Instantly share code, notes, and snippets.

View badstreff's full-sized avatar
🏠
Working from home

Adam Furbee badstreff

🏠
Working from home
View GitHub Profile
@kconner
kconner / macOS Internals.md
Last active May 17, 2024 06:10
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@muff-in
muff-in / resources.md
Last active May 17, 2024 22:47
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources
@JohnLBevan
JohnLBevan / MoveWindow.ps1
Created June 20, 2017 17:07
Move Window To Top Left Corner of Parent Container
<#
Originally coded to move the window to where the mouse cursor is; most code left
However, due to issues this only moves the window to the top left corner of it's parent container
That's good enough for my scenario; i.e. puts the window back on screen.
#>
Add-Type @"
using System;
using System.Runtime.InteropServices;
@rahilwazir
rahilwazir / vmdk_vhdx.md
Last active March 3, 2024 22:01
Convert VMWare to Hyper-V (vmdk to vhdx)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.microsoft.Outlook</key>
@lukaszb
lukaszb / notify.py
Created February 21, 2013 01:23
Simple Python script to send notification to the OSX Notifications Center (requires OS X 10.8+). Tested with pyobjc 2.5.1
#!/usr/bin/env python
from Foundation import NSUserNotification
from Foundation import NSUserNotificationCenter
from Foundation import NSUserNotificationDefaultSoundName
from optparse import OptionParser
def main():
parser = OptionParser(usage='%prog -t TITLE -m MESSAGE')
@jxson
jxson / README.md
Created February 10, 2012 00:18
README.md template

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation