Skip to content

Instantly share code, notes, and snippets.

View wseemann's full-sized avatar
🎯
Focusing

William Seemann wseemann

🎯
Focusing
View GitHub Profile
import java.util.Scanner;
public class SampleMain {
public static void main(String [] args) {
Scanner scanner = new Scanner(System.in);
// validate input
String validInput = validateInput(scanner);
int set_data_source_fd(State **ps, int fd, int64_t offset, int64_t length) {
char path[256] = "";
State *state = *ps;
ANativeWindow *native_window = NULL;
if (state && state->native_window) {
native_window = state->native_window;
}
@wseemann
wseemann / libcurl_builder.sh
Created December 20, 2016 04:16 — forked from cogwirrel/libcurl_builder.sh
Build curl and openssl for all android architectures
#!/bin/bash
USAGE=$'Usage:
./libcurl_builder <options>
Required:
-c <curl_directory> The top level curl directory
-s <openssl_directory> The top level openssl directory
-n <ndk_directory> The top level ndk directory