Skip to content

Instantly share code, notes, and snippets.

View mtauraso's full-sized avatar

Michael Tauraso mtauraso

View GitHub Profile
mtauraso /
Created February 17, 2018 22:34

Keybase proof

I hereby claim:

  • I am mtauraso on github.
  • I am mtauraso ( on keybase.
  • I have a public key ASACXnqnXJ1ckMH8Th5f2KvotZHnASfXDhcR19AYqdoLugo

To claim this, I am signing this object:

mtauraso / Console.log
Created April 2, 2016 16:01
Debugging S3 download
$ curl -v -o temp.gif
* Adding handle: conn: 0x7f9be2002a00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f9be2002a00) send_pipe: 1, recv_pipe: 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to port 443 (#0)
* Trying
mtauraso / xcodebuild
Last active November 15, 2023 15:44
Xcodebuild flags in CI

Xcodebuild flag reference for CI:

Required flags:

-project OR -workspace

What xcode project/workspace file we're using. If you specify a project on the command-line and that project has an associated workspace, the project is still aware of its existence within the workspace. As an example, worspace level schemes will be available to xcodebuild even if you specify a project on the command line.


Specify the scheme to use for build. Schemes specify multiple build/test targets along with environment args and command line parameters. Schemes must be marked "shared" in the xcode UI in order to be available to xcodebuild. For any particular build/test action there is a default configuration when you use a scheme from the Xcode UI.

mtauraso /
Last active February 10, 2021 04:45
TCC Database Script
# This will add lauchd to the list of allowed processes for accessibility access
sudo sqlite3 /Library/Application\ Support/ "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','/sbin/launchd',1,1,1,NULL)"
# This outputs the rows in the TCC database
sudo sqlite3 /Library/Application\ Support/ 'select * from access'
echo "Restart is required for these changes to take effect"
#include <iostream>
using namespace std;
struct A {
int an_integer;
float a_float;
int main (void) {
mtauraso / asana-nginx.conf
Created November 1, 2013 01:56
Asana's current Nginx configuration. It terminates TLS in a hardened, performant, and future looking manner, and passes connections on to a local Haproxy process
# LBs have 8 cores. One is used for haproxy, rest are used for nginx workers
worker_processes 7;
worker_rlimit_nofile 90000;
pid <PID_FILE>;
events {
use epoll;
multi_accept off;
accept_mutex off;