Skip to content

Instantly share code, notes, and snippets.

View kmacphee's full-sized avatar

Kirk MacPhee kmacphee

  • Imburse AG
  • London, UK.
View GitHub Profile
@kmacphee
kmacphee / angular_in_action_ch4_npm_install_node_10
Last active May 14, 2018 06:20
Node 10 'npm install' output for Angular in Action chapter 4 repo
Kirks-MacBook-Pro:datacenter kirk$ rm -rf node_modules/ && npm install
> fsevents@1.1.2 install /Users/kirk/source/repos/datacenter/node_modules/fsevents
> node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.2 and node@10.0.0 (node-v64 ABI) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
@kmacphee
kmacphee / BlockBlobTest.java
Created November 20, 2017 07:43
A unit test suite exploring the main features of Azure block storage in Java
import com.microsoft.azure.storage.AccessCondition;
import com.microsoft.azure.storage.CloudStorageAccount;
import com.microsoft.azure.storage.StorageCredentialsSharedAccessSignature;
import com.microsoft.azure.storage.StorageException;
import com.microsoft.azure.storage.blob.*;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.*;