Skip to content

Instantly share code, notes, and snippets.

View binarymelon's full-sized avatar

Ryan Proud binarymelon

View GitHub Profile
@legowerewolf
legowerewolf / hyperstart.bat
Last active December 29, 2023 16:45
Selecting a shell on startup in the Hyper terminal emulator
@ECHO off
:top
CLS
ECHO Choose a shell:
ECHO [1] cmd
ECHO [2] bash
ECHO [3] PowerShell
ECHO [4] Python
ECHO.
ECHO [5] restart elevated
@leovandriel
leovandriel / gist:3786554
Created September 26, 2012 07:16
Objective-C method for composing a HTTP multipart/form-data body
// Objective-C method for composing a HTTP multipart/form-data body.
// Provide parameters and data in a NSDictionary. Outputs a NSData request body.
// License: Public Domain
// Author: Leonard van Driel, 2012
@interface MultipartExample @end
@implementation MultipartExample
+ (void)exampleUsageUploadImage