I hereby claim:
- I am divy-work on github.
- I am divyy (https://keybase.io/divyy) on keybase.
- I have a public key ASASFtprB7HWd8TZe0XOm4WETdHIuKNaEa5Z00ENPc7BmAo
To claim this, I am signing this object:
int digitalSensor = 2; | |
int pumpPin = 8; //relay pin | |
int sensorValue = 0; | |
long pumpDelay = 60L * 1000L * 30L; | |
long pumpingDuration = 60L * 1000L * 5L; | |
void setup() { | |
pinMode(digitalSensor, INPUT); | |
pinMode(pumpPin, OUTPUT); | |
digitalWrite(pumpPin, HIGH); |
// app/models/user.js | |
// load the things we need | |
var mongoose = require('mongoose'); | |
var bcrypt = require('bcrypt-nodejs'); | |
// define the schema for our user model | |
var userSchema = mongoose.Schema({ | |
username:String, // _username_ | |
password: String, // 123rikwdjbfp2ioeurroasodfj[OJ[Ojsjdfag*wef | |
firstname: String, // firstName | |
lastname: String, // lastName |
/* | |
* UltraSonic Sensor Distance Indicator | |
* by Divy Srivastava | |
*/ | |
// defines pins numbers | |
const int trigPin = 9; | |
const int echoPin = 10; | |
const int ledPin = 11; |
cd PrimalPromos | |
git pull origin master | |
pm2 restart all |
/** | |
* Disable right-click of mouse, F12 key, and save key combinations on page | |
*/ | |
window.onload = function() { | |
document.addEventListener("contextmenu", function(e) { | |
e.preventDefault(); | |
}, false); | |
document.addEventListener("keydown", function(e) { | |
//document.onkeydown = function(e) { | |
// "I" key |
I hereby claim:
To claim this, I am signing this object:
const express = require("express"); | |
const app = express(); | |
const http = require('http'); | |
const fs = require('fs'); | |
app.post("/payload", (req, res, next) => { | |
getRelease(req.body) | |
}); | |
function getRelease(payload) { |
sudo apt-get purge bcmwl-kernel-source | |
sudo apt-get install broadcom-sta-dkms |
from math import pi, ceil, log10 | |
e = 1.6 * (10**-19) | |
mE = 9.1 * (10**-31) | |
mP = 1.67 * (10**-27) | |
c = 3 * (10**8) | |
G = 6.67 * (10**-11) | |
x = (9 * (10**9)) | |
n = (e**4) * (x**2) | |
d = (mP * (mE ** 2) * (c ** 3) * G) |
function handle(state, action) { | |
let input = action.input | |
let caller = action.caller | |
if (input.function == "transfer") { | |
let target = input.target; | |
let quantity = input.quantity; | |
let balances = state.balances; | |
if (!target) { | |
return |