- Using curl with open stack
- [Getting the total count of containers/objects] (http://docs.openstack.org/api/openstack-object-storage/1.0/content/determining-storage-useage.html)
- Using curl with object-store
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
gdal_translate -of GTiff input_file.asc output_file.tiff -co "COMPRESS=lzw" |
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
Edit your package sources to include your local CRAN mirror. List of mirrors here: http://cran.r-project.org/mirrors.html | |
See here for detailed instructions: http://cran.r-project.org/bin/linux/ubuntu/README | |
Install the specific version of R you need. In my case, 2.15.3. You can get package information from your mirror. e.g. http://cran.ms.unimelb.edu.au/bin/linux/ubuntu/precise/Packages (precise Ubuntu packages) | |
sudo apt-get install r-base-core=2.15.3-1precise0precise1 |
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
/*jslint node:true, vars:true, bitwise:true, unparam:true */ | |
/*jshint unused:true */ | |
// Leave the above lines for propper jshinting | |
//Type Node.js Here :) | |
var path = require('path'); | |
var mraa = require('mraa'); // require mraa | |
var awsIot = require('aws-iot-device-sdk'); // require aws-iot |
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 "arduino_secrets.h" | |
#include <SPI.h> | |
#include <WiFi101.h> | |
#include <PubSubClient.h> | |
#include <ArduinoJson.h> | |
///////please enter your sensitive data in the Secret tab/arduino_secrets.h | |
char ssid[] = SECRET_SSID; // your network SSID (name) | |
char pass[] = SECRET_PASS; // your network password (use for WPA, or use as key for WEP) | |
int status = WL_IDLE_STATUS; // the WiFi radio's status |
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
#***************************************************** | |
# | |
# Adapted from Amazon's deep lens example project | |
# Cal256 object labelling (uses sagemaker pre-trained cal256 example model) | |
#***************************************************** | |
from threading import Thread, Event | |
import os | |
import json | |
import numpy as np | |
import awscam |