I hereby claim:
- I am sandipndev on github.
- I am sandipndev (https://keybase.io/sandipndev) on keybase.
- I have a public key whose fingerprint is E79C 7442 90A4 FD03 F4A4 4AEC DE35 61F8 1B89 A469
To claim this, I am signing this object:
#!/bin/bash | |
set -e | |
# Check requirements | |
if [[ $(which gh) == "" ]] || [[ $(which gcloud) == "" ]] || [[ $(which terraform) == "" ]] || [[ $(which jq) == "" ]]; then | |
echo "You will need to install gh, gcloud, jq and terraform to proceed." | |
exit 1 | |
fi |
#!/bin/bash | |
# Organization Name | |
echo -n "Enter Organization Slug: " | |
read ORG | |
# Access Token | |
echo -n "Enter GitHub Access Token: " | |
read GH_ACCESS_TOKEN |
I hereby claim:
To claim this, I am signing this object:
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
import * as functions from "firebase-functions"; | |
import * as admin from "firebase-admin"; | |
import * as express from "express"; | |
const app = express(); | |
app.use(express.json()); | |
const topic = "hally"; | |
admin.initializeApp(functions.config().firebase); |
from time import sleep | |
from urllib.request import urlopen | |
from win10toast import ToastNotifier | |
url = "http://www.makautexam.net" | |
toaster = ToastNotifier() | |
with urlopen(url) as handle: | |
prev_html = handle.read().decode() |
from time import sleep | |
import serial | |
import speech_recognition as sr | |
# Resetting the board | |
with serial.Serial('COM3', 9600) as ser: | |
# Replace COM3 with the port at which your board is at (check Arduino IDE's Tools > Port to get the port) | |
sleep(1) | |
print("Communication with board established") |
int lightPin = 6; | |
int fanPin = 7; | |
void setup() { | |
pinMode(fanPin, OUTPUT); | |
pinMode(lightPin, OUTPUT); | |
digitalWrite(fanPin, HIGH); | |
digitalWrite(lightPin, HIGH); | |
Serial.begin(9600); | |
} |