I hereby claim:
- I am skattyadz on github.
- I am adz (https://keybase.io/adz) on keybase.
- I have a public key whose fingerprint is 5AE7 65BA 4634 6D42 A08A 77E8 E1D9 AC48 59B2 2D32
To claim this, I am signing this object:
| # page-element-watcher | |
| # | |
| # Checks the contents of an element on a remote page and sends an SMS if it has changed | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'redis' | |
| require 'twilio-ruby' |
| postgresql_id=$(docker ps | grep jeffutter/postgresql:latest | awk '{print $1}') | |
| postgresql_private_ip=$(docker inspect ${postgresql_id} | grep IPAddress | awk '{ print $2 }' | tr -d ',"') | |
| echo "pg ip: $postgresql_private_ip" | |
| dokku config:set fun.with.co.de PG_HOST=$postgresql_private_ip | |
| dokku config:set scotch.watch PG_HOST=$postgresql_private_ip |
| # page-element-watcher | |
| # | |
| # Checks the contents of an element on a remote page and sends an SMS if it has changed | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'redis' | |
| require 'twilio-ruby' | |
| require 'rufus-scheduler' |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Overriding the keychain ngCordovaMock to use localStorage | |
| **/ | |
| angular.module('ngCordovaMocks') | |
| .factory('$cordovaKeychain', ['$q', function ($q) { | |
| console.log('persistent keychain mock loaded') | |
| return { | |
| getForKey: function (key, serviceName) { | |
| // note: this implementation doesn't fail on an invalid servicename |
| function renderSVG() { | |
| services.fetchAll() | |
| .done(function(results) { | |
| const data = {}; | |
| results.forEach(r => data[r.name] = r); | |
| const lastSeenDates = results.map(r => r.lastSeenDate); | |
| data.lastSeenDate = Math.max.apply(Math, lastSeenDates); | |
| // console.log(data) |
| #!/bin/bash | |
| emojis=( ✨ ⚡️ 💫 🔑 ) | |
| num_emojis=${#emojis[*]} | |
| echo "${emojis[$((RANDOM%num_emojis))]}" |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |