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
//checks if local noded is sync then sends SMS message using Twillio | |
document.title = "Sync Watcher" | |
const Web3 = require("web3") | |
const net = require('net'); | |
const state = { | |
messageSent: false, | |
watcherInterval: null, | |
lastSyncStatus: null, | |
previousStatuses: [0, 0, 0], |
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
var WebSocket = require('ws'); | |
var ws; | |
var depthCache = {} | |
function connect() { | |
ws = new WebSocket("wss://fstream.binance.com/ws/bnbusdt@depth@0ms"); | |
ws.on('open', function open() { | |
ws.send('something'); | |
}); |
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
var start = 1 | |
var num = 100 + start | |
//go to your following page on any brower | |
//run in console | |
const sleep = time => new Promise(resolve => setTimeout(resolve, time)) | |
async function unfollow() { | |
try { |
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 <stdio.h> | |
#include <stdlib.h> | |
typedef int bool; | |
enum { false, true }; | |
int main() | |
{ | |
char name[50]; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Insert this line above script imports --> | |
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | |
<!-- normal script imports etc --> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Insert this line above script imports --> | |
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | |
<!-- normal script imports etc --> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Insert this line above script imports --> | |
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | |
<!-- normal script imports etc --> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Insert this line above script imports --> | |
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | |
<!-- normal script imports etc --> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Insert this line above script imports --> | |
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | |
<!-- normal script imports etc --> | |
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |