This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
int main(int argc, char* argv[]) | |
{ | |
// Print out the build date and time | |
std::cout << "frankensign build: " << __DATE__ << " " << __TIME__ << std::endl; | |
std::cout << "called with args: " << std::endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <tuple> | |
#include <vector> | |
#include <iostream> | |
#include <iterator> | |
// Returns a sorted sequence of the items in collection, | |
// where the sort order is determined by comparing keyFn(item). | |
// keyFn should take const T::value_type& as it's argument and | |
// return a std::tuple containing types that work with the < operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
typedef unsigned long DWORD; | |
typedef unsigned short WORD; | |
typedef unsigned char BYTE; | |
struct GUID { | |
DWORD Data1; | |
WORD Data2; | |
WORD Data3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
branchesToDelete=`git branch --merged | egrep -v "(^\*|master)"` | |
echo "The following branches will be deleted..." | |
echo ${branchesToDelete} | |
read -p "Are you sure? " -n 1 -r | |
echo # (optional) move to a new line | |
if [[ $REPLY =~ ^[Yy]$ ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import processing.video.*; | |
import java.util.*; | |
class Visual { | |
public String m_file; | |
public boolean m_image; | |
public Visual( String file, boolean image ) { | |
m_file = file; | |
m_image = image; |