- Create a Google Form with a field to collect email addresses. Pro-tip: use Data Validation to validate string is valid email.
- Click View Responses to view form responses in Google Spreadsheets.
- Open menu Tools > Script editor...
- Paste in Google App Script below and make the following changes:
- Create a Slack API token and replace the value of
SLACK_API_TOKEN
. - Replace "YOUR_TEAM_NAME" with your team's name in the value for
SLACK_API_INVITE_URL
. - Make sure
EMAIL_FIELD_NAME
corresponds to the header text of your Google Spreadsheet's email column.
- Create a Slack API token and replace the value of
- Open menu Resources > Current project's triggers and add a new trigger:
onFormSubmit
,From spreadsheet
,On form submit
. Click Save and accept the authorization request to use the script. - You can optionally configure notifications to receive error messages by email.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Daniel Chen's Resume</title> | |
</head> | |
<body> | |
<h1>Daniel Chen</h1> | |
<article id="resume"> | |
<hgroup> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
section: screens | |
U-EuroM4: | |
halfDuplexCapsLock = false | |
halfDuplexNumLock = false | |
halfDuplexScrollLock = false | |
xtestIsXineramaUnaware = false | |
switchCorners = none | |
switchCornerSize = 0 | |
rpi3: | |
halfDuplexCapsLock = false |
I hereby claim:
- I am danielim on github.
- I am danielim (https://keybase.io/danielim) on keybase.
- I have a public key whose fingerprint is 83C9 9782 0FC4 164F 7067 57DE 07FF E4FD 7694 4B31
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!usr/bin/env python3 | |
''' | |
Ghost to Gatsby-netlify-cms converter | |
Will generate blog and pages directory with markdown files | |
''' | |
import os | |
import json | |
import argparse | |
parser = argparse.ArgumentParser() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!usr/bin/env python3 | |
""" | |
Ghost to Gatsby-netlify-cms converter | |
Will take exported JSON from ghost blog v0.11.x and generate blog and pages | |
directory with markdown files for use in gatsby-netlify-cms | |
""" | |
import os | |
import json | |
import argparse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(crontab -l 2>/dev/null; echo "@reboot vulkaninfo") | crontab - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nginx:alpine AS builder | |
# nginx:alpine contains NGINX_VERSION environment variable, like so: | |
# ENV NGINX_VERSION 1.15.0 | |
# Our NCHAN version | |
ENV NCHAN_VERSION 1.1.15 | |
# Download sources | |
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \ |
OlderNewer