Moved to: mozilla/connected-devices-experiments#20
This file has been truncated, but you can view the full file.
This file contains hidden or 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
error: linking with `cc` failed: exit code: 1 | |
note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/opt/rustpi2/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/foxbox.0.o" "-o" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/foxbox" "-Wl,--gc-sections" "-pie" "-nodefaultlibs" "-L" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug" "-L" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/deps" "-L" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/build/openssl-09576f2f9776fa80/out" "-L" "/opt/rustpi2/x-tools/arm-unknown-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf" "-L" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/build/openssl-sys-extras-52d5315fb71d3c6d/out" "-L" "/home/rustpi2/source/target/armv7-unknown-linux-gnueabihf/debug/build/rust-crypto-daa20c09deb34369/out" "-L" "/usr/lib" "-L" "/opt/rustpi2/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-Wl,-Bst |
This file contains hidden or 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
'use strict'; | |
const Fs = require('fs'); | |
const Https = require('https'); | |
const WebSocketServer = require('ws').Server; | |
const httpsServer = Https.createServer({ | |
key: Fs.readFileSync(process.env.KEY), | |
cert: Fs.readFileSync(process.env.CERT) | |
}); | |
const wss = new WebSocketServer({ |
This file contains hidden or 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
'use strict'; | |
let fs = require('fs'); | |
let directory = process.argv[2]; | |
let map = {}; | |
let duplicates = {}; | |
fs.readdir(directory, (err, items) => { | |
for (let i = 0; i < items.length; i++) { | |
let key = items[i].toLowerCase(); |
Cargo.toml
[package]
name = "app"
version = "0.1.0"
authors = ["reza"]
[dependencies]
unicase="2.1.0"
OlderNewer