Skip to content

Instantly share code, notes, and snippets.

View AlexanderOMara's full-sized avatar
🇺🇦

Alexander O'Mara AlexanderOMara

🇺🇦
View GitHub Profile
@AlexanderOMara
AlexanderOMara / index.html
Created May 4, 2017 02:02
Firefox IDBMutableFile Download Test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Firefox IDBMutableFile Download Test</title>
<style>
a {
text-decoration: none;
}
</style>
@AlexanderOMara
AlexanderOMara / main.c
Last active September 5, 2020 14:21
A macOS connectx example
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#define HOST_NAME "icanhazip.com"
#define HOST_IP "136.144.56.255"
#define HOST_PORT 80

Keybase proof

I hereby claim:

  • I am alexanderomara on github.
  • I am alexanderomara (https://keybase.io/alexanderomara) on keybase.
  • I have a public key ASBYUXQkcCWkdeR_CWMUmliz1t8H4Ckcb99CMS3euWuomwo

To claim this, I am signing this object:

@AlexanderOMara
AlexanderOMara / rclonenv
Last active July 11, 2021 19:50
rclonenv - Rclone with directory-level environment variable config files via wrapper script
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Licenses: Public Domain, CC0, MIT
# For ZSH autocompletion add to .zshrc:
# compdef rclonenv=rclone