Skip to content

Instantly share code, notes, and snippets.

View orenmazor's full-sized avatar

Oren Mazor orenmazor

  • AgileBits (1Password)
  • Toronto, ON, Canada
View GitHub Profile
### Keybase proof
I hereby claim:
* I am orenmazor on github.
* I am orenmazor (https://keybase.io/orenmazor) on keybase.
* I have a public key ASAYkDMSLyfObSdCQlHyOnNC47LVcVHh18p441EfMiPkAwo
To claim this, I am signing this object:
retry run:
- [ ] 1
- [ ] 2
- [ ] 3
- [ ] 4
- [ ] 5
ant
gcc
g++
libkrb5-dev
libmysqlclient-dev
libssl-dev
libsasl2-dev
libsasl2-modules-gssapi-mit
libsqlite3-dev
libtidy-0.99-0
# -----------------------------------------------------------------------------
#
# This file is the copyrighted property of Tableau Software and is protected
# by registered patents and other applicable U.S. and international laws and
# regulations.
#
# Unlicensed use of the contents of this file is prohibited. Please refer to
# the NOTICES.txt file for further details.
#
# -----------------------------------------------------------------------------
@orenmazor
orenmazor / sha256sum
Created July 16, 2014 15:10
sha256sum wrapper for shasum
#!/bin/sh
shasum -a 256 $1 $2 $3
xdgfhklhkdgv kxfbsoe .boolean
sfkugbwkjo9c wekjw3rgiuxiox b if. then
iuywe liuku;sdfhi;etwjk kn;sehiouksafjkasf;ikse oisi;sgdk; sequence
ghu;dlou;gbviufrghuEFSijphvs piuhsdfxipergoiusdljbxdvpiubvxlhjsdfljhgsvlkj.javascript
slhjvbsdfkjwfcgbAIPUdgwik;dgbfkjbdalkiwebg.shopify.fart
asfuybaljwcgvxvahswlidbvaszclgiujsd,jvxkuvcbw.e.mbfvzxdgfhklhkdgv kxfbsoe .boolean
sfkugbwkjo9c wekjw3rgiuxiox b if. then
iuywe liuku;sdfhi;etwjk kn;sehiouksafjkasf;ikse oisi;sgdk; sequence
ghsjdmjlaksjdaslkdjalksdjalksjdlakksksjeueueueueueueueueueueu;dlou;gbviufrghuEFSijphvs piuhsdfxipergoiusdljbxdvpiubvxlhjsdfljhgsvlkj.javascript
REPORTIFY IS FIXED! TADA!
xdgfhklhkdgv kxfbsoe .boolean
sfkugbwkjo9c wekjw3rgiuxiox b if. then
iuywe liuku;sdfhi;etwjk kn;sehiouksafjkasf;ikse oisi;sgdk; sequence
ghu;dlou;gbviufrghuEFSijphvs piuhsdfxipergoiusdljbxdvpiubvxlhjsdfljhgsvlkj.javascript
slhjvbsdfkjwfcgbAIPUdgwik;dgbfkjbdalkiwebg.shopify.fart
asfuybaljwcgvxvahswlidbvaszclgiujsd,jvxkuvcbw.e.mbfvzxdgfhklhkdgv kxfbsoe .boolean
sfkugbwkjo9c wekjw3rgiuxiox b if. then
iuywe liuku;sdfhi;etwjk kn;sehiouksafjkasf;ikse oisi;sgdk; sequence
ghsjdmjlaksjdaslkdjalksdjalksjdlakksksjeueueueueueueueueueueu;dlou;gbviufrghuEFSijphvs piuhsdfxipergoiusdljbxdvpiubvxlhjsdfljhgsvlkj.javascript
REPORTIFY IS FIXED! TADA!
class ETLJob
include Sidekiq::Worker
sidekiq_options :queue => :ETLTasks, :backtrace => true, :retry => false
def perform(control_file)
ETL::Engine.init({:execution_dbname=>"etl_execution_prod"})
ETL::Engine.process("#{Dir.pwd}/control/#{control_file}.ctl")
end
end
IDIOTS IRKED BY SUPREME COURT RULING >> Fleeing to Canada for a life unfettered by universal healthcare //
“#SCOTUS holds up free healthcare for everyone?! Screw this commie country, I'm moving to #Canada #whoswithme.” -@VanSummers, Twitter
A handful of Conservatives disappointed with Thursday’s Supreme Court ruling turned their sights to Canada in hopes of a life unfettered by universal healthcare. Canadians have enjoyed universal healthcare since 1961.
Here's a guide to help future dissidents flee to countries more in keeping with their beliefs.
For the Obamacare haters:
If the thought of watching the poor get healthy on government cash makes you sick, consider moving to Burma. Its annual per-capita spending on healthcare is $4.50 and comes with a heaping side of human rights violations. If that still rankles, you can escape health care completely in the Darién Gap. This famously wild land bridge between Panama and Colombia is full of drug traffickers, FARC militia, kidnappers, all manner of lethal wild
@orenmazor
orenmazor / gist:1598946
Created January 12, 2012 05:27
python snippet to decode base64
from base64 import b64decode
for attachment in inbound_json["attachment"]:
blob = b64decode(attachment["Content"])
file = open(attachment["Name"],"w")
file.write(blob)
file.close()