Skip to content

Instantly share code, notes, and snippets.

View Subv's full-sized avatar

Sebastian Valle Subv

  • Barranquilla, Colombia
View GitHub Profile
#include <3ds.h>
#include <stdio.h>
#include <cstdint>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
static s64 base_tick;
@Subv
Subv / install_master.sh
Last active May 31, 2018 14:21
Kubernetes Master node installer script.
#!/bin/bash
# First, install Docker.
echo "Adding Docker APT repository"
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
sudo apt-get update
@zachhilman
zachhilman / tsan2
Created August 12, 2018 22:15
tsan2
This file has been truncated, but you can view the full file.
==================
WARNING: ThreadSanitizer: data race (pid=14219)
Read of size 1 at 0x7b04000098c0 by thread T2:
#0 strlen <null> (libtsan.so.0+0x315c5)
#1 pthread_setname_np <null> (libpthread.so.0+0x1391c)
#2 <null> <null> (libglib-2.0.so.0+0x73ded)
Previous write of size 8 at 0x7b04000098c0 by main thread (mutexes: write M221):
#0 malloc <null> (libtsan.so.0+0x2afa3)
#1 g_malloc <null> (libglib-2.0.so.0+0x51858)