Skip to content

Instantly share code, notes, and snippets.

@davidlumley
davidlumley / countries.js
Created August 12, 2023 00:59
Iban country codes in JavaScript format ~2023/03
// From https://www.iban.com/country-codes
const COUNTRIES = [
{
name: 'Afghanistan',
alpha_two_code: 'AF',
alpha_three_code: 'AFG',
numeric_code: '004',
},
{
results.map { |result| result.alternatives.map(&:transcript) }
=> [["Harvest on Jackson to tighten in attendance nose on the 16th of June the client's name is Jon Jones call out to clients he was with Lucy game but he said she's on the same to Hessel it's just so we could talk it's time to just come out to the doctor says she's 9 weeks pregnant and the baby still about the 10th of December I ask for the retreat's his decision regarding the separation which the children you wish to Catholics after you had the general chats and it was quite clear to see if he is not made the decision I said I don't want to put pressure on him it's a big deal I would rather have a decision he made your decision even if it wasn't today plus a few days or a few weeks later cuz it's passing the teas families resolutions rosin fluctuating between positions he needs to be consistent and so what we agreed with that you was coming to see me tomorrow because he couldn't make it today and then we will discuss his position and have to pu

Keybase proof

I hereby claim:

  • I am davidlumley on github.
  • I am davidlumley (https://keybase.io/davidlumley) on keybase.
  • I have a public key ASCcHjDGFN2kXnRsT32k4Sv9U4Kc_L9jdcHw3utQD5flOgo

To claim this, I am signing this object:

# Index
curl -X GET -v https://clientheartbeat.com/api/v1/contacts.json -d "access_token=YOUR_ACCESS_TOKEN"
# Create
curl -X POST -v https://clientheartbeat.com/api/v1/contacts.json -d "access_token=YOUR_ACCESS_TOKEN" -d "first_name=example" -d "last_name=curl_user" -d "email=example_curluser@example.com"
@davidlumley
davidlumley / client.rb
Last active March 23, 2020 18:42
Collection of XML requests and responses from AutoTasks SOAP API
=begin
======
example Savon client for connecting to AutoTask's SOAP API
- install savon via `gem install savon`
- ensure AUTOTASK_USERNAME and AUTOTASK_PASSWORD environment variables are set
=====
=end
@davidlumley
davidlumley / branch_removal.sh
Created April 9, 2013 00:23
Removes all branches merged into master
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
@davidlumley
davidlumley / preferences.json
Created April 2, 2013 16:21
Sublime Text 2 Preferences
{
"color_scheme" : "Packages/RailsCasts Colour Scheme/RailsCastsColorScheme.tmTheme",
"create_window_at_startup" : false,
"default_line_ending" : "unix",
"dictionary" : "Packages/Language - English/en_GB.dic",
"ensure_newline_at_eof_on_save" : true,
"font_face" : "Monaco",
"font_size" : 14.0,
"highlight_line" : true,
"ignored_packages" :
@davidlumley
davidlumley / .gitignore_global
Created February 19, 2013 02:38
Global Gitignore
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@davidlumley
davidlumley / mad.sh
Last active December 12, 2015 12:48
say -v Junior "it's only a game, why you hehf to be mad?"
@davidlumley
davidlumley / idgaf.sh
Created December 7, 2012 03:56
Increase the value of your commit messages
alias idgaf='git commit -m "$(echo $(curl -s http://whatthecommit.com/index.txt))"'