Skip to content

Instantly share code, notes, and snippets.

View fabiansteuer's full-sized avatar

Fabian Steuer fabiansteuer

View GitHub Profile
@fabiansteuer
fabiansteuer / sshfs.jsonc
Created January 2, 2019 11:18
Connect Visual Studio Code to a workspace on a remote machine using this configuration for the SSH FS plugin
{
"root": "/directory/on/remote/machine",
"host": "000.000.000.000",
"port": 22,
"username": "username_on_remote_machine",
"privateKeyPath": "path_to_private_ssh_key_on_local_machine",
"passphrase": "login_password_for_remote_machine"
}
@fabiansteuer
fabiansteuer / google_form_to_trello.gs
Created November 5, 2018 10:05
Create Trello card via email when a Google form is submitted
// Create Trello card via email when a Google form is submitted
//
// Setup:
// - Create a Google form with three response items
// - Go to More - Script Editor and paste this Gist into the editor
// - Change emailTrello to the email address of the Trello board
// - Tag relevant users in the subject line
// - Go to Edit - Currrent project's triggers and add a trigger that links the script to the form
var emailTrello = '...c@boards.trello.com'. // email address of the Trello board
@fabiansteuer
fabiansteuer / timer.py
Created February 26, 2018 14:08
A simple timer in Python using a coroutine
"""
A simple timer in Python using a coroutine.
How to use the timer
- Run start_timer() to start the timer
- Run timeit() to get the time since the start of the timer or the last call of timeit()
- Run start_timer() again to reset the timer
"""
import time