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
TODO | |
make folder /html and /html/up | |
copy file socket.io-stream.js to html | |
run node app.js | |
{} | |
()()()++ | |
()()(+++ | |
NODE | |
var express = require('express'); |
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
#!/bin/bash/ | |
# Install node | |
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.1.0/dist/leaflet.css" | |
integrity="sha512-wcw6ts8Anuw10Mzh9Ytw4pylW8+NAD4ch3lqm9lzAsTxg0GFeJgoAtxuCLREZSC5lUXdVyo/7yfsqFjQ4S+aKw==" | |
crossorigin=""/> | |
<script src="https://unpkg.com/leaflet@1.1.0/dist/leaflet.js" |
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
let app = require('express')(); | |
let server = require('http').Server(app); | |
let io = require('socket.io')(server); | |
let isRoot = require('is-root'); | |
const raspi = require('raspi'); | |
const Serial = require('raspi-serial').Serial; | |
let serial, sock, succes, error; | |
let current, tmp, line = ""; |
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
const msg = require('./sms') | |
msg(() => { | |
}) ; | |
// ms.send("0031600000000", "mijn bericht", () => { console.log("jaja"); }); |
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
FROM davidsblog/node-mongo:latest | |
RUN apt-get update | |
RUN apt-get install git | |
RUN git clone git://github.com/zoutepopcorn/node-login.git node-login | |
RUN cd node-login | |
RUN npm install | |
RUN npm install n -g | |
RUN n stable |
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
FROM marcelmaatkamp/pybombs-gnuradio | |
# apt-get | |
RUN apt-get update | |
RUN apt-get install -y python-numpy python-scipy python-scapy | |
RUN pybombs config default_prefix default_prx | |
RUN pybombs install gr-gsm | |
RUN export uid=1000 gid=1000 && \ | |
mkdir -p /home/developer && \ |
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
FROM marcelmaatkamp/gnuradio | |
# apt-get | |
RUN apt-get update && apt-get upgrade | |
RUN apt-get install -y python-numpy python-scipy python-scapy | |
RUN apt-get install git | |
RUN apt-get install python-pip | |
RUN apt-get install gnuradio | |
RUN pip install PyBOMBS | |
RUN pybombs prefix init /usr/local -a default_prx |
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
[{"map it":"Get Map","netid":"24:65:11:AA:A8:E8","ssid":"FRITZ!Box Fon WLAN 7360","comment": "","name": "","type":"infra","freenet":"?","paynet":"?","firsttime":"2013-03-05 16:54:12","lasttime":"2017-05-01 23:04:06","flags": "","wep":"2","trilat":52.28469467,"trilong":5.51925516,"lastupdt":20170501230535,"channel":1,"bcninterval": "","qos":1,"userfound":"N"}, | |
{"map it":"Get Map","netid":"00:1C:10:6E:CE:9F","ssid":"linksys","comment": "","name": "","type":"infra","freenet":"?","paynet":"?","firsttime":"2015-04-14 13:19:43","lasttime":"2017-08-03 07:13:22","flags": "","wep":"Y","trilat":52.28736496,"trilong":5.51939154,"lastupdt":20170803071335,"channel":6,"bcninterval": "","qos":7,"userfound":"N"}, | |
{"map it":"Get Map","netid":"DA:A1:19:2A:1D:5F","ssid":" ","comment": "","name": "","type":"????","freenet":"?","paynet":"?","firsttime":"2016-08-13 13:13:48","lasttime":"2016-09-05 09:52:02","flags": "","wep":"?","trilat":52.27633286,"trilong":5.51999903,"lastupdt":20160905095211,"channel": "","bcninterval": "","qo |
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
import wifi | |
wifi.init() | |
woezel.install('zzz') |
OlderNewer