This is a real pain as of writing (18 Oct 2019). I can't promise it'll work either :)
Reference
If you've been hacking around already you should do:
-- Designed for Mac Mail users, this AppleScript program will search through the SENT items of your chosen mailbox | |
-- It is designed to help you (for example) if you are transitioning to a CRM system | |
-- run it by typing osascript sent-emails-summariser.scpt on the command line | |
-- It will produce summary csv file that shows: | |
-- How many emails were sent to each email address | |
-- How many emails were sent in total to all emails with the same domain ending | |
-- A domain rank whereby emails to domains ending .ac.uk, etc, rank higher | |
-- once you have the csv file, sort it in Excel e.g. by ascending DomainRank, descending DomainCount, Domain a-z, Count descending, Email a-z. |
/* For a query of results in the last 31 days */ | |
SELECT recent_dates.`date`, | |
IFNULL(sparse_results.`count`, 0) AS `count` | |
FROM | |
(SELECT SUBDATE(CURDATE(), number_table.delta) AS `date` | |
FROM | |
(SELECT 0 delta | |
UNION SELECT 1 | |
UNION SELECT 2 |
// openjscad.org | |
// Tower Bridge | |
let fancy_bricks = true; | |
function random_colour() { | |
// based on 'BurlyWood'; | |
return [ | |
(222 + Math.random() * 10) / 255, | |
(184 + Math.random() * 10) / 255, |
//openjscad.org | |
// Anna and Charlie's spral | |
function main () { | |
const twist = 45; | |
let i = 0; | |
let delta = 1; | |
var w = [ ]; | |
for(var h = 0; h < 100; h++) { | |
w.push( |
//openjscad.org | |
// Random structure | |
function main () { | |
var cube1 = cube({size:[4,4,4]}).translate([-2,-2,-2]); | |
var hole = cylinder({r:1, h: 4}).translate([0,0,-2]); | |
var nut1 = difference(cube1, hole); | |
var rod1 = cylinder({r:1, h: 10}).rotateX(90).translate([0,-2,0]); |
//openjscad.org | |
// Anna and Charlie's spral | |
function main () { | |
const twist = 9; | |
var w = [ ]; | |
for(var i = 0; i < 40; i++) { | |
w.push( | |
color('lightblue', cube({ | |
size: [30, 6, 2] |
# This is a sample class that you'll probably need | |
# to do a bit of work on for your own needs, but it | |
# will hopefully save you a lot of the headaches that we had | |
class AwsMove | |
FIVE_MB = 5 * 1024 * 1024 | |
MAX_THREADS = 25 | |
def move_folder(s3_client, old_key, new_key) | |
# strip preceding '/' |
# config/initializers/haml_filters.rb | |
# Thanks to https://gist.github.com/sleepingkingstudios/955676 | |
# config/initializers/haml_filters.rb | |
# in your haml files do e.g. | |
# %td.description | |
# :markdown | |
# #{task.description} |
You may have to delete the existing project (don't try this next time) (Assuming Pootle in /var/www/pootle)
cd /var/www/pootle
source env/bin/activate
pootle fs fetch --force MYPROJECT
pootle fs sync MYPROJECT