Skip to content

Instantly share code, notes, and snippets.

View iamnader's full-sized avatar

Nader Akhnoukh iamnader

View GitHub Profile
@iamnader
iamnader / gist:3106401
Created July 13, 2012 18:12
creating queue error
ruby-1.9.2-head :001 > MyMq.client
S
.
capabilitiesFdpublisher_confirmsIexchange_exchange_bindingsI
basic.nackIconsumer_cancel_notifyI copyrightS$Copyright (C) 2007-2012 VMware, Inc.
informationS5Licensed under the MPL. See http://www.rabbitmq.complatformS
Erlang/OTPproductRabbitMQversionS2.8.1PLAIN AMQPLAINen_US?
?
@iamnader
iamnader / gist:4151649
Created November 27, 2012 00:39
Eloqua Ruby API
require 'net/https'
module Eloqua
class Client
attr_reader :site, :user
def initialize(site=nil, user=nil, password=nil)
@site = site
@user = user
@password = password
@iamnader
iamnader / gist:2a124f67f7ccdc295f8b
Last active November 5, 2015 21:53 — forked from alexmcpherson/gist:e414f92976f90e6a46a9
Culture for Kapost Engineering

originally put together by @alexmcpherson

Practical / Tactical

Be on time to meetings

Meetings need a goal and a runner to get that goal accomplished

Defend your time from distractions and use it effectively on moving product forward

@iamnader
iamnader / unused.sh
Created August 28, 2018 19:15
Script to find unused env vars
app=my-app
for var in `heroku config -a $app --json | jq '. | keys | .[]' -r`
do
if ! ag $var `bundle show --paths` . --count --silent --nofilename >/dev/null;
then echo $var;
fi;
done
@iamnader
iamnader / github_code_stats.rb
Last active September 28, 2018 20:32
Github Code Stats
require 'octokit'
require 'csv'
class GitStats
TOKEN = "<insert token>"
ORG = "<insert org>"
def process
process_repo_stats
process_contributors
#!/bin/bash
shouldIRun() {
# branch=`git rev-parse --abbrev-ref HEAD`
appString=$1
apps=(${appString//,/ })
CIRCLE_COMPARE_URL=$2
halt=true
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreigkkvenab43mjyudduqmgxog52rbuerpepxydyl7gjk4nsyg4jnii ✅
Create your profile today to start building social connection and trust online at https://3Box.io/