Skip to content

Instantly share code, notes, and snippets.

@mangopudding
mangopudding / gist:f5a17579d73af1c66b4f99020215c16c
Last active March 19, 2018 11:25
CodeCanyon - NearmeApp - Ionic 2 Starter for Location Based Apps (Server Setup On Ubuntu Server)
# Overview - Server Setup with Dokku
# I had purchased the NearmeApp from CodeCanyon.net for a personal project.
# After watching the YouTube video (https://www.youtube.com/watch?v=WcXL2WuYhok) on server setup, I decided to do this on my own server.
# Below are instructions for making it easier to setup and reference for future projects.
#
# Assumption is to be using a fresh install of Ubuntu Server 14.05.
# Must successfully install Dokku using the instructions below from their site
# - http://dokku.viewdocs.io/dokku/getting-started/installation/#1-install-dokku
# - http://dokku.viewdocs.io/dokku/getting-started/installation/#2-setup-ssh-key-and-virtualhost-settings
@mangopudding
mangopudding / python-aws-lambda-to-slack
Created January 12, 2017 00:27
AWS-Lambda Function To Trigger Notification To Slack Channel
# OVERVIEW
#
# AWS Lambda Function To Trigger A Notification Into Slack Channel.
#
from __future__ import print_function
import boto3
import json
import logging