I hereby claim:
- I am capacitorset on github.
- I am capacitorset (https://keybase.io/capacitorset) on keybase.
- I have a public key ASDkwL4VZiUCkNR7yfFYv8c1Iz27eKKNds3VF7yhNadM1Ao
To claim this, I am signing this object:
// Source: https://github.com/nodejs/node/blob/master/lib/child_process.js | |
// Defines spawn_sync and normalizeSpawnArguments (without error handling). These are internal variables. | |
spawn_sync = process.binding('spawn_sync'); normalizeSpawnArguments = function(c,b,a){if(Array.isArray(b)?b=b.slice(0):(a=b,b=[]),a===undefined&&(a={}),a=Object.assign({},a),a.shell){const g=[c].concat(b).join(' ');typeof a.shell==='string'?c=a.shell:c='/bin/sh',b=['-c',g];}typeof a.argv0==='string'?b.unshift(a.argv0):b.unshift(c);var d=a.env||process.env;var e=[];for(var f in d)e.push(f+'='+d[f]);return{file:c,args:b,options:a,envPairs:e};} | |
// Defines spawnSync, the function that will do the actual spawning | |
spawnSync = function(){var d=normalizeSpawnArguments.apply(null,arguments);var a=d.options;var c;if(a.file=d.file,a.args=d.args,a.envPairs=d.envPairs,a.stdio=[{type:'pipe',readable:!0,writable:!1},{type:'pipe',readable:!1,writable:!0},{type:'pipe',readable:!1,writable:!0}],a.input){var g=a.stdio[0]=util._extend({},a.stdio[0]) |
// A one-time server. It serves a file with the format "uuid.7z.dat" and deletes it after 5 minutes since the first access. | |
/* | |
Copyright 2017 CapacitorSet | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
--- | |
Language: Cpp | |
# BasedOnStyle: LLVM | |
AccessModifierOffset: -2 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlinesLeft: false | |
AlignOperands: true | |
AlignTrailingComments: true |
I hereby claim:
To claim this, I am signing this object:
library(caTools) # external package providing write.gif function | |
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan", "#7FFF7F", | |
"yellow", "#FF7F00", "red", "#7F0000")) | |
m = 4000 # define size | |
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ), | |
imag=rep(seq(-1.2,1.2, length.out=m), m ) ) | |
C = matrix(C,m,m) # reshape as square matrix of complex numbers | |
Z = 0 # initialize Z to zero | |
X = array(0, c(m,m)) # initialize output 2D array | |
for (k in 1:20) { # loop with 20 iterations |
library(caTools) # external package providing write.gif function | |
jet.colors = colorRampPalette(c("#00007F", "blue", "#007FFF", "cyan", "#7FFF7F", | |
"yellow", "#FF7F00", "red", "#7F0000")) | |
m = 600 # define size | |
C = complex( real=rep(seq(-1.8,0.6, length.out=m), each=m ), | |
imag=rep(seq(-1.2,1.2, length.out=m), m ) ) | |
C = matrix(C,m,m) # reshape as square matrix of complex numbers | |
Z = 0 # initialize Z to zero | |
X = array(0, c(m,m,20)) # initialize output 3D array | |
for (k in 1:20) { # loop with 20 iterations |
Stazione | Anno | Media invernale | |
---|---|---|---|
Pastori | 1995 | 4.7 | |
Pastori | 1996 | 5.6 | |
Pastori | 1998 | 9.7 | |
Ziziola | 1998 | 6.1 | |
Ziziola | 1999 | 4.2 | |
Pastori | 1999 | 5.0 | |
Pastori | 2000 | 5.2 | |
Ziziola | 2000 | 4.9 | |
Ziziola | 2001 | 5.2 |
Pastori | 2015-01-01 00:00:00 | -1,3 | |
---|---|---|---|
Pastori | 2015-01-01 00:10:00 | -1,3 | |
Pastori | 2015-01-01 00:20:00 | -1,2 | |
Pastori | 2015-01-01 00:30:00 | -0,9 | |
Pastori | 2015-01-01 00:40:00 | -0,7 | |
Pastori | 2015-01-01 00:50:00 | -0,5 | |
Pastori | 2015-01-01 01:00:00 | -0,2 | |
Pastori | 2015-01-01 01:10:00 | 0 | |
Pastori | 2015-01-01 01:20:00 | 0,2 | |
Pastori | 2015-01-01 01:30:00 | 0,1 |
Ziziola | 2015-01-01 00:00:00 | -2 | |
---|---|---|---|
Ziziola | 2015-01-01 00:10:00 | -1,9 | |
Ziziola | 2015-01-01 00:20:00 | -2 | |
Ziziola | 2015-01-01 00:30:00 | -2,2 | |
Ziziola | 2015-01-01 00:40:00 | -2,3 | |
Ziziola | 2015-01-01 00:50:00 | -2,4 | |
Ziziola | 2015-01-01 01:00:00 | -2,4 | |
Ziziola | 2015-01-01 01:10:00 | -2,4 | |
Ziziola | 2015-01-01 01:20:00 | -2,4 | |
Ziziola | 2015-01-01 01:30:00 | -2,4 |
import serial | |
with serial.Serial("COM3", 9600) as ser: | |
while True: | |
s = ser.read() | |
if (s == b'o'): | |
print "Restart" | |
# Alive | |
ser.write(b'n') |