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
var https = require('https'); | |
// CONFIGURATION ####################################################################################################### | |
var token = 'SLACK TOKEN'; | |
var channel = 'CHANNEL ID'; | |
var privateChannel = false; | |
var delay = 300; // delay between delete operations in millisecond | |
// GLOBALS ############################################################################################################# |
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
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
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
// | |
// NSDataExtensions.swift | |
// MAPO | |
// | |
// Created by Hugues Bernet-Rollande on 21/3/16. | |
// Copyright © 2016 WB Technologies. All rights reserved. | |
// | |
import Foundation |