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 fabric.api import * | |
""" | |
Base configuration | |
""" | |
env.project_name = '$(project)' | |
env.database_password = '$(db_password)' | |
env.site_media_prefix = "site_media" | |
env.admin_media_prefix = "admin_media" | |
env.newsapps_media_prefix = "na_media" |
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
# ruby imap.rb > mail.csv | |
require 'net/imap' | |
username = '' | |
password = '' | |
imap = Net::IMAP.new('imap.gmail.com','993',true) | |
imap.login(username, password) | |
# imap.list("", "*").map{|i| i.name} |
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
'use strict'; | |
var crypto = require('crypto'); | |
var debug = require('debug')('withings'); | |
var request = require('request'); | |
var _ = require('lodash'); | |
var EMAIL = process.env.EMAIL; | |
var PASSWORD = process.env.PASSWORD; |