This file contains hidden or 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
Index: gpu_jpeg2k/CMake/FindFreeImage.cmake | |
=================================================================== | |
--- gpu_jpeg2k/CMake/FindFreeImage.cmake (revision 84) | |
+++ gpu_jpeg2k/CMake/FindFreeImage.cmake (working copy) | |
@@ -14,7 +14,7 @@ | |
FIND_LIBRARY( FREEIMAGE_LIBRARY | |
NAMES FreeImage freeimage | |
PATHS | |
- ${PROJECT_SOURCE_DIR}/FreeImage | |
+ ${PROJECT_SOURCE_DIR}/extern/FreeImage |
This file contains hidden or 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
''' | |
Created on 09/10/2013 | |
PyCUDA api usage for ray-casting | |
@author: Tisham | |
''' | |
import pycuda.driver as drv | |
import pycuda.tools |
This file contains hidden or 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
package org.whatnick.btc; | |
import java.math.BigInteger; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.Arrays; | |
public class btc_validate { | |
private final static String template = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"; |
This file contains hidden or 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
/* | |
* This sketch sends ads1115 current sensor data via HTTP POST request to thingspeak server. | |
* It needs the following libraries to work (besides the esp8266 standard libraries supplied with the IDE): | |
* | |
* - https://github.com/adafruit/Adafruit_ADS1X15 | |
* | |
* designed to run directly on esp8266-01 module, to where it can be uploaded using this marvelous piece of software: | |
* | |
* https://github.com/esp8266/Arduino | |
* |
This file contains hidden or 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
pluginManager.loadClass FbxImporter | |
findDir = getDir #import + @"\" | |
rootDir = getSavePath initialDir:findDir | |
tileDirs = GetDirectories (rootDir+"\\Tile*") | |
for theDir in tileDirs do | |
( | |
print theDir | |
--theDirStrg = theDir + "\\*.fbx" | |
--theFiles = getFiles theDirStrg |
This file contains hidden or 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
/* | |
* This sketch sends ads1115 current sensor data via HTTP POST request to thingspeak server. | |
* It needs the following libraries to work (besides the esp8266 standard libraries supplied with the IDE): | |
* | |
* - https://github.com/adafruit/Adafruit_ADS1X15 | |
* | |
* designed to run directly on esp8266-01 module, to where it can be uploaded using this marvelous piece of software: | |
* | |
* https://github.com/esp8266/Arduino | |
* |
This file contains hidden or 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
/* | |
* This sketch sends ads1115 current sensor data via HTTP POST request to thingspeak server. | |
* It needs the following libraries to work (besides the esp8266 standard libraries supplied with the IDE): | |
* | |
* - https://github.com/adafruit/Adafruit_ADS1X15 | |
* - https://github.com/adafruit/Adafruit-GFX-Library | |
* - https://github.com/adafruit/Adafruit_SSD1306 | |
* | |
* designed to run directly on esp8266-12 module, to where it can be uploaded using this marvelous piece of software: | |
* |
This file contains hidden or 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
/* | |
Show random numbers on a 7-segment display | |
from WDT based entropy source | |
https://github.com/taoyuan/Entropy | |
*/ | |
#include <Entropy.h> | |
byte leds[] = {2,3,4,5,14,15,16,17}; | |
//#define leds one | |
byte one[] = {0,6}; | |
byte two[] = {2,7,6,4,3}; |
This file contains hidden or 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
''' | |
Created on Apr 24, 2016 | |
@author: tisham | |
''' | |
import time | |
import requests | |
import cv2 | |
import operator | |
import numpy as np |
This file contains hidden or 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
temp_raw_file = open('/sys/class/i2c-dev/i2c-1/device/1-0060/iio:device0/in_temp_raw','r') | |
temp_scale_file = open('/sys/class/i2c-dev/i2c-1/device/1-0060/iio:device0/in_temp_scale','r') | |
print "temperature: %.2f" %(int(temp_raw_file.read())*float(temp_scale_file.read())) | |
pres_raw_file = open('/sys/class/i2c-dev/i2c-1/device/1-0060/iio:device0/in_pressure_raw','r') | |
pres_scale_file = open('/sys/class/i2c-dev/i2c-1/device/1-0060/iio:device0/in_pressure_scale','r') | |
print "pressure: %.4f" %(int(pres_raw_file.read())*float(pres_scale_file.read())) |
OlderNewer