Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Tim Malone tdmalone

🎯
Focusing
Block or report user

Report or block tdmalone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tdmalone
tdmalone / .travis-lambda-python.yml
Last active Mar 14, 2018
.travis.yml example for Python Lambda microservice testing and deployment
View .travis-lambda-python.yml
language: python
services: docker
python: 3.6
env:
global:
- AWS_ACCESS_KEY_ID=...
- AWS_DEFAULT_REGION=ap-southeast-2
@tdmalone
tdmalone / .travis-lambda-node.yml
Last active Dec 12, 2018
.travis.yml example for Node.js Lambda microservice testing and deployment
View .travis-lambda-node.yml
language: node_js
services: docker
node_js: 6.10
env:
global:
- AWS_ACCESS_KEY_ID=...
- AWS_DEFAULT_REGION=ap-southeast-2
@tdmalone
tdmalone / static-site-watch.sh
Last active Oct 16, 2018 — forked from senko/onchange.sh
Watch specified directory recursively for file changes, and sync it to S3 when anything is created, modified, moved or deleted. Designed for use with a static site generator.
View static-site-watch.sh
#!/usr/bin/env bash
#
# Watch specified directory recursively for file changes, and sync it to S3 when anything is
# created, modified, moved or deleted. Designed for use with a static site generator.
#
# Originally based on a script by Senko Rasic <senko.rasic@dobarkod.hr>
# Modified by Tim Malone <tdmalone@gmail.com>
# Ideas included from Lambros Petrou <lambrospetrou@gmail.com>
# Released to public domain.
# See https://gist.github.com/senko/1154509
@tdmalone
tdmalone / cloudSettings
Last active Aug 26, 2019
Tim's VSCode Settings. If you want to use these to bootstrap a new VSCode install, manually install the code-settings-sync extension first and set "sync.gist" in your settings to "6ec3fafda73b42a5b21a5b2ae5384ced". Then download a sync, and all the other extensions will be downloaded for you. Then remove the gist setting so you can sync your own.
View cloudSettings
{"lastUpload":"2019-08-26T02:12:50.010Z","extensionVersion":"v3.4.1"}
View keybase.md

Keybase proof

I hereby claim:

  • I am tdmalone on github.
  • I am tdmalone (https://keybase.io/tdmalone) on keybase.
  • I have a public key ASDxTp43bJ3xQUzZcd6LrketZZi53NEL-uIOgj7YgMUB5go

To claim this, I am signing this object:

@tdmalone
tdmalone / hottest100.php
Last active Jan 26, 2017
Cron this every minute or two on a server with PHP installed, to post every new hottest 100 track to a Slack channel
View hottest100.php
<?php
// ********************* START CONFIGURATION *********************
// Set up an incoming webhook at https://YOURDOMAIN.slack.com/apps/manage/custom-integrations
define( 'SLACK_INCOMING_WEBHOOK', 'https://hooks.slack.com/services/TXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX' );
// Set your data folder, which is used to prevent multiple notifications for the same song :)
define( 'DATA_FOLDER', './hottest100-data' );
@tdmalone
tdmalone / config
Created Jun 7, 2016
Add this in ~/.ssh to use a custom SSH key for communicating with GitHub
View config
Host github.com
HostName github.com
IdentityFile ~/.ssh/github_rsa
IdentitiesOnly yes
User git
You can’t perform that action at this time.