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
#!/usr/bin/env bash | |
# Fix Broken cmake files for llvm-3.5-dev | |
# See : https://bugs.launchpad.net/ubuntu/+source/llvm/+bug/1387011 | |
target='/usr/share/llvm-3.5/cmake/LLVMConfig.cmake' | |
sudo patch --backup $target <<HEREDOC | |
--- original |
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
#!/usr/bin/python | |
import smbus | |
import time | |
# Plot a graph of the z-axis acceleration using a Raspberry Pi connected | |
# to one of these: http://www.pololu.com/catalog/product/1250 | |
# Datasheet: http://www.pololu.com/file/download/LSM303DLH.pdf?file_id=0J433 | |
def main(): |
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
DROP DATABASE IF EXISTS range_test; | |
CREATE DATABASE range_test; | |
USE range_test; | |
CREATE TABLE bools ( | |
v BOOLEAN | |
); | |
INSERT INTO bools (v) VALUES (0), (1); |
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
*.o | |
*.swp | |
*.swo | |
*.zip | |
test |
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
*.swp | |
*.swo | |
*.o | |
test | |
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 java.util.List; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.Comparator; | |
import java.util.Random; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.Future; |
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
tree | |
*.o | |
*.swp |
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
/* | |
* A class that provides a simple timer | |
* Works in Windows and Linux, resolution is hardware dependant | |
* | |
* | |
* Copyleft Gordon Bailey 2012 - All wrongs reserved | |
* | |
* */ | |
#include "timer.h" |
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
*.swp | |
*.o | |
sort | |
Makefile |
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
Debug* | |
Stack.vcxproj* |
NewerOlder