Skip to content

Instantly share code, notes, and snippets.

Expenditure Population Per Capita
Federal 280,500,000,000 33,476,688 8379
Provincial
Ontario 129,000,000,000 12,851,821 10037
Quebec 69,551,000,000 7,903,001 8800
BC 40,600,000,000 4,400,057 9227
Alberta 38,712,000,000 3,645,257 10619
MB 10,754,577,000 1,208,268 8901
Sk 10,124,086,000 1,033,381 9797
@wmoxam
wmoxam / gist:a650a9fc5e804b47a4dc
Created May 14, 2014 03:30
Non-english/french languages in Canada
Newfoundland - Innu/Montagnais
Nova Scotia - Arabic
PEI - Dutch
New Brunswick - Míkmaq
Quebec - Arabic
Ontario - Italian
Manitoba - German
Saskatchewan - German
Alberta - Chinese
British Columbia - Chinese
# The Computer Language Benchmarks Game
# http://benchmarksgame.alioth.debian.org/
# bassed on Go version by Oleg Mazurov & Isaac Gouy
# Contributed by Wesley Moxam
def fannkuch(n, min)
max = min + CHUNKSZ
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
wmoxam 27099 8.2 4.4 57611788 367432 ?? S Thu10pm 298:17.71 ./shoes-bin -psn_0_29379587
Wait, does that mean that shoes is eating ~57GB of swap?
Destination machine:
$ nc -l 5566 > destination_file
Origin machine
$ nc <destination-ip-address> 5566 < origin_file
The next EmberTO meet-up is taking place at Unspace HQ (342 Queen Street West, Floor 3) at 7:00pm on Thursday April 4th.
In lieu of the usual solo speaker, we're doing a show-and-tell format, as many of us have new projects and discoveries that
we want to showboat. We also welcome you to get on the soapbox to chat about anything that's been fascinating or perplexing
you, or demo a freshly minted project.
As a teaser, Robin will demo an Ember app that can browse Reddit, and Carsten will be showing off a music discovery
application he developed in Ember. Jamie will also be showcasing a Pusher walkthrough which will help by introducing
a sensible starting point towards a structured and declarative integration with your Ember application.
Release branches
/------ release/20130328 /----- release/20130411
/ \ / \ \
master --------------------------------------------------------------------------------------------
\ \ \ \ /
\___\____ a feature branch _\___\____/
A new release means a new release branch. New release branches are deployed to staging, then later
-> "sh -c ' cd -- /home/app/app_name/shared/assets/ && for f in $( find * -mmin +10080 -type f | LC_COLLATE=C sort | LC_COLLATE=C comm -23 -- - /home/app/app_name/REQUIRED_ASSETS ); do echo \"Removing unneeded asset: $f\"; rm -f -- \"$f\"; done; rm -f -- /home/app/app_name/REQUIRED_ASSETS '"
servers: ["192.168.1.47"]
[192.168.1.47] executing command
** [out :: 192.168.1.47] comm: file 2 is not in sorted order
$ cap -V
Capistrano v2.14.2
me: We are seeing some email not being delivered due to a server being listed on SpamCop (http://www.spamcop.net/w3m?action=checkblock&ip=208.115.214.177). We can we do to ensure this doesn't happen?
Just a moment...
Mohammed: Hello, my name is Mohammed. How may I help you?
me: We are seeing some email not being delivered due to a server being listed on SpamCop (http://www.spamcop.net/w3m?action=checkblock&ip=208.115.214.177). We can we do to ensure this doesn't happen?
Spam Cop is used by many enterprise type spam filters, and if the originating server is on Spamcop's list the mail will not be delivered, regardless of the email's content
hello?
Purging db...
Include Seeds? (N|y): y
== Including Seeds
== Migrating to latest...
== AddPlatforms: migrating ===================================================
== AddPlatforms: migrated (0.0060s) ==========================================
== AddDevices: migrating =====================================================
== AddDevices: migrated (0.0057s) ============================================