Attempted 2016-04-25 on OS X 10.11.4, mix and match as needed.
Thanks to pengi
$ brew install libusb pkgconfig cmake libtecla
Build according to: https://github.com/Nuand/bladeRF/wiki/Getting-started:-Mac-OSX#Homebrew
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
Attempted 2016-04-25 on OS X 10.11.4, mix and match as needed.
Thanks to pengi
$ brew install libusb pkgconfig cmake libtecla
Build according to: https://github.com/Nuand/bladeRF/wiki/Getting-started:-Mac-OSX#Homebrew
// Sample file using the Google C++ coding standard. | |
// | |
// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml | |
// | |
// General rules: | |
// - Indents are two spaces. No tabs should be used anywhere. | |
// - Each line must be at most 80 characters long. | |
// - Comments can be // or /* but // is most commonly used. | |
// - File names should be lower_case.c or lower-case.c | |
// |
# coding=utf8 | |
import json | |
import urllib2 | |
import datetime | |
import random | |
url = 'http://localhost/can.php' | |
response = urllib2.urlopen(url) | |
data = json.load(response) | |
response.close() |