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:
sudo apt-get purge bcmwl-kernel-source | |
sudo apt-get install broadcom-sta-dkms |
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) { |
I hereby claim:
To claim this, I am signing this object:
/** | |
* 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 |
cd PrimalPromos | |
git pull origin master | |
pm2 restart all |
/* | |
* UltraSonic Sensor Distance Indicator | |
* by Divy Srivastava | |
*/ | |
// defines pins numbers | |
const int trigPin = 9; | |
const int echoPin = 10; | |
const int ledPin = 11; |
// 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 |
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); |