Skip to content

Instantly share code, notes, and snippets.

View hacking-robot's full-sized avatar
💻
coding

Hacking Robot hacking-robot

💻
coding
  • Toronto, Canada
View GitHub Profile
@craigvantonder
craigvantonder / setup-awscli-codedeploy-agent.sh
Last active February 11, 2021 12:15
How to install AWS Code Deploy agent in Ubuntu 14.04 / 16.04 / 18.04 / 20.04
#!/bin/bash
# AWS CLI
apt-get install zip -y;
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip";
unzip awscli-bundle.zip;
./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws;
aws configure;
#AWS Access Key ID [None]: Obtained when creating user in AWS IAM
@anoochit
anoochit / esp8266-dht22-blynk.ino
Last active November 29, 2023 19:41
esp8266-dht22-blynk
/*
* This sketch demonstrates how to scan WiFi networks.
* The API is almost the same as with the WiFi Shield library,
* the most obvious difference being the different file you need to include:
*/
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <SimpleTimer.h>