Skip to content

Instantly share code, notes, and snippets.

View kieronlawson's full-sized avatar
🧠
This damn thing won't stop hallucinating

Kieron Lawson kieronlawson

🧠
This damn thing won't stop hallucinating
View GitHub Profile
@kieronlawson
kieronlawson / spoke-insights.js
Last active October 17, 2022 22:29
Example Spoke Insights Cards using Twilio Serverless Runtime
const insights = [
{
"title":"Line Called",
"body":"\n**Mercedes-Benz London**\n35 Southdale Road East, London, ON N6c4X5\n\n**Office Hours**\nSales: 9am - 7pm\nService:7:30am - 5pm\nParts: 7:30am - 5pm\n\n![](https://insights-9229.twil.io/southdale.PNG)",
"state":"expanded",
"thumbnail":{
"icon_name":"phone"
}
},
{
@kieronlawson
kieronlawson / create_country_list.js
Created June 18, 2018 01:43
Ramda repl to create merged country list with iso country codes, names, currency codes and international dial codes from data downloaded from country.io
// lists from country.io
const names = {"BD": "Bangladesh", "BE": "Belgium", "BF": "Burkina Faso", "BG": "Bulgaria", "BA": "Bosnia and Herzegovina", "BB": "Barbados", "WF": "Wallis and Futuna", "BL": "Saint Barthelemy", "BM": "Bermuda", "BN": "Brunei", "BO": "Bolivia", "BH": "Bahrain", "BI": "Burundi", "BJ": "Benin", "BT": "Bhutan", "JM": "Jamaica", "BV": "Bouvet Island", "BW": "Botswana", "WS": "Samoa", "BQ": "Bonaire, Saint Eustatius and Saba ", "BR": "Brazil", "BS": "Bahamas", "JE": "Jersey", "BY": "Belarus", "BZ": "Belize", "RU": "Russia", "RW": "Rwanda", "RS": "Serbia", "TL": "East Timor", "RE": "Reunion", "TM": "Turkmenistan", "TJ": "Tajikistan", "RO": "Romania", "TK": "Tokelau", "GW": "Guinea-Bissau", "GU": "Guam", "GT": "Guatemala", "GS": "South Georgia and the South Sandwich Islands", "GR": "Greece", "GQ": "Equatorial Guinea", "GP": "Guadeloupe", "JP": "Japan", "GY": "Guyana", "GG": "Guernsey", "GF": "French Guiana", "GE": "Georgia", "GD": "Grenada", "GB": "United Kingdom", "GA": "Gabon", "SV": "El S

Keybase proof

I hereby claim:

  • I am kieronlawson on github.
  • I am kieronlawson (https://keybase.io/kieronlawson) on keybase.
  • I have a public key whose fingerprint is 508E F730 FD56 CF38 9724 54F1 2860 19ED 2588 ABCC

To claim this, I am signing this object: