Skip to content

Instantly share code, notes, and snippets.

@zchee
zchee / build-llvm.bash
Last active November 28, 2021 10:37
Build llvm for OS X
#!/bin/bash
set -e
# Building LLVM on OSX CMake setup script
#
# Required:
# - clang by Xcode6 or later
# - cmake
# - ninja
#
@komasaru
komasaru / TwitterStream.cpp
Created November 24, 2014 03:11
C++ source code to get twitter timelines by Twitter Streaming API.
/*
* Getting timelines by Twitter Streaming API
*/
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <oauth.h>
#include <curl/curl.h>