Go Dependencies
Sublime Packages
- GoFmt (Setup to run goimports instead) (https://packagecontrol.io/packages/Gofmt)
- SublimeLinter-golangcilint (https://github.com/SublimeLinter/SublimeLinter-golangcilint)
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"gioui.org/app" | |
"gioui.org/io/system" |
FROM ubuntu:18.04 | |
RUN apt update && apt install -y \ | |
build-essential \ | |
curl \ | |
git \ | |
wget \ | |
libc-ares-dev \ | |
libjpeg-dev \ | |
openjdk-8-jdk \ |
FROM ubuntu:18.10 | |
RUN apt update && apt install -y \ | |
build-essential \ | |
curl \ | |
git \ | |
wget \ | |
libjpeg-dev \ | |
openjdk-8-jdk \ | |
gcc-7 \ |
Go Dependencies
Sublime Packages
const mandrill = require('mandrill-api') | |
mandrill_client = new mandrill.Mandrill('#key-here'); | |
exports.handler = function(context, event, callback) { | |
const message = { | |
"text": event.Body, | |
"subject": `New SMS message from: ${event.From}`, | |
"from_email": "#from-address here", | |
"from_name": "#from-here", | |
"to": [{ |
Important Links:
Flash instruction:
The only way to flash LEDE image in TL-WR902AC v3 is to use tftp recovery mode in U-Boot:
# Syncs files on a garmin device to garmin connect and keeps a local copy. | |
# auth.json contains your garmin connect username(email) and password. | |
import json | |
import os | |
import shutil | |
import requests | |
import time | |
def RateLimited(maxPerSecond, burst=1): | |
minInterval = 1.0 / float(maxPerSecond) | |
def decorate(func): | |
firstBurst = [0.0] | |
burstCount = [0] |
I hereby claim:
To claim this, I am signing this object: