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
| const SerialPort = require('serialport'); | |
| const { asciiToTrytes } = require('@iota/converter') | |
| const Mam = require('@iota/mam'); | |
| const port = new SerialPort('/dev/tty.usbserial-210352A82EDB1', { | |
| baudRate: 115200 | |
| }); | |
| port.on('open', () => { | |
| console.log('port is open!'); |
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
| const fs = require('fs'); | |
| const IMAGES = {}; | |
| const LABELS = {}; | |
| console.log("HERE WE GO"); | |
| let folders = fs.readdirSync('./dataset/training/images/19'); | |
| // grab all pertaining folders ingoring DS_Store | |
| folders.forEach(folder => { |
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
| // A C++ program for Bellman-Ford's single source | |
| // shortest path algorithm. | |
| // nvcc -std=c++11 BellmanFord.cu -D_MWAITXINTRIN_H_INCLUDED -D__STRICT_ANSI__ | |
| #include <stdio.h> | |
| #include <climits> | |
| #include <random> | |
| #include <chrono> | |
| #include <ctime> | |
| using namespace std; |
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 std::io; | |
| use std::num; | |
| fn main () { | |
| // ... use stuff from num library | |
| let mut input = String::new(); | |
| let mut a: Vec<bool> = Vec::new(); | |
| let mut n: i64 = 0; | |
| println!("Please enter a number"); | |
| match io::stdin().read_line(&mut input) { |
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
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define me(a, b) memset(a, (b), sizeof(a)) | |
| #define FOR(i,a,b) for (int i=a;i<b;i++) | |
| #define RFOR(i,a,b) for(int i=a;i>b;i--) | |
| #define for_all(it,n) for(__typeof((n).begin()) it=(n).begin();it!=(n).end();it++) | |
| #define ITi std::vector<int>::iterator it | |
| #define Size(n) (int)((n).size()) |
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
| @echo off | |
| echo *************************************************************** | |
| echo *************************************************************** | |
| echo *** This Script will stop Windows 10 Spying you...YEYYYY!!! *** | |
| echo *************************************************************** | |
| echo *** We will Disable Data Logging Services *** | |
| echo *** We will Configure Windows Explorer *** | |
| echo *** We will Uninstall OneDrive *** | |
| echo *** We will edit Hosts to stop sending Data to Microsoft *** | |
| echo *************************************************************** |
NewerOlder