Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
Recent releases have been pre-built using cross-compilers and this script and are downloadable below.
If you have found these packages useful, give me a shout out on twitter: @adammw
package simplejavaserver; | |
import java.net.*; | |
import java.io.*; | |
public class SimpleJavaServer extends Thread | |
{ | |
private ServerSocket serverSocket; | |
public SimpleJavaServer(int port) throws IOException |
web: npm start |
# Note – this is not a bash script (some of the steps require reboot) | |
# I named it .sh just so Github does correct syntax highlighting. | |
# | |
# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5 | |
# | |
# The CUDA part is mostly based on this excellent blog post: | |
# http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ | |
# Install various packages | |
sudo apt-get update |
var scales = { | |
'natural major': [0,2,4,5,7,9,11,12], | |
'ionian': [0,2,4,5,7,9,11,12], | |
'major': [0,2,4,5,7,9,11,12], | |
'chromatic': [0,1,2,3,4,5,6,7,8,9,10,11,12], | |
'spanish 8 tone': [0,1,3,4,5,6,8,10,12], | |
'flamenco': [0,1,3,4,5,7,8,10,12], | |
'symmetrical': [0,1,3,4,6,7,9,10,12], | |
'inverted diminished': [0,1,3,4,6,7,9,10,12], | |
'diminished': [0,2,3,5,6,8,9,11,12], |
<script src="mytest.js"></script> | |
<input type=button value=click onclick="{ | |
myFun() | |
}"> |
<h1 align=center>SqueezeNet Cat Demo</h1> | |
Trying to dynamically load an image but running into corssorigin issues. | |
Have had some suuccess with <br> | |
//https://crossorigin.me/your-URL<br><br> | |
https://www.what-dog.net/Images/faces2/scroll001.jpg <br> | |
but then how to re-activate the script. It does not seem to have a way to call it<br> | |
// web/console.dart | |
@JS('console') | |
library console; | |
import 'package:js/js.dart'; | |
external void log(dynamic str); |
package com.sam016.vsflatomation.service.ble; | |
import java.util.HashMap; | |
import java.util.UUID; | |
public class AllGattCharacteristics { | |
private static HashMap<String, String> attributes = new HashMap(); | |
static { | |
attributes.put("00002a00-0000-1000-8000-00805f9b34fb", "Device Name"); |
int8_t sendATcommand(char* ATcommand, char* expected_answer, unsigned int timeout){ | |
uint8_t x=0, answer=0; | |
char response[100]; | |
unsigned long previous; | |
memset(response, '\0', 100); // Clean response buffer | |
delay(100); // Delay to be sure no passed commands interfere | |