Skip to content

Instantly share code, notes, and snippets.

View trianglegrrl's full-sized avatar

Alaina Hardie trianglegrrl

View GitHub Profile

0_Unconverted Emails

Project: 0_STAGING Documentation last updated: 2021-02-08 11:43AM

Dashboard Description Why do I need this? When would I use this?
Non Converted Emails

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@trianglegrrl
trianglegrrl / pn_security.asc
Created April 18, 2018 18:47
PN Security PGP public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFrXkQkBEADiseikSiBhUd3+rlhe55fRBiCAhfZLvjc83BSyXTMEh5vf8L/7
QgPXPR6dZrTtOspbGaa6ZxyEG6mLNu3wuKw7bQp5vpTs3TWWHoblCqAPR4nG2vpM
Yc5PilkM0ktSE/SqOnHQpT/ARITekJBo7CHUNbe7Ynss62D2ZUVkd7k0XXj4Sh2v
qHvx2l8qaYixXqw4GRE3QQgrbPbySL3r/chPx4MSH/v3UyCHABqxN85DqAfyMDmP
cavMuduZzP35KyHp9brNScC+bIKbeoA4/OdRQ4HBAoRwMSJNflAI/Bng1PWZYt2L
32ujMPuN8nLTOPMJbHfZi1KzdN+tpKi5SCnbmx+biaCk3tunKr80tBue7FDilkKS
ToLlGmRuQiXa0uST8HuERvdGlUINtIBgbs4AXOGRFRWxDc3D4PTfd2LmiWncEZGn
ctE9NYNT3Lvw+cTUJqybMpHAhL0IAvxRNwsEGtP3z5YTHVn2dSVf+Qp86Z0awLcM

Keybase proof

I hereby claim:

  • I am trianglegrrl on github.
  • I am alaina (https://keybase.io/alaina) on keybase.
  • I have a public key ASDawegqUTgzzL5oznjUSEcvQY2_9Dtp0oSrr7S3e8ocTwo

To claim this, I am signing this object:

@trianglegrrl
trianglegrrl / pushbutton.py
Created July 22, 2015 01:14
SU GSP NCS PB WTF
import RPi.GPIO
import os
import time
from pyslack import SlackClient
import requests
import json
import string
url = "https://hooks.slack.com/services/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"
@trianglegrrl
trianglegrrl / pir.py
Created July 22, 2015 01:13
SU GSP NCS PIR WTF
import RPi.GPIO
import os
import time
from pyslack import SlackClient
import requests
import json
import string
url = "https://hooks.slack.com/services/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"
@trianglegrrl
trianglegrrl / api_get.py
Created July 22, 2015 01:12
SU GSP NCS API WTF
import os
import requests
import json
# Photoresistor - light levels
#results = requests.get('https://api.particle.io/v1/devices/53ff6e066678505543482367/analog_value?access_token=3766bed852ce344d768142fe1cb41d4416d58b5d')
# Sound sensor
#results = requests.get('https://api.particle.io/v1/devices/54ff66066678574935400667/analog_value?access_token=3766bed852ce344d768142fe1cb41d4416d58b5d')
@trianglegrrl
trianglegrrl / CoreRFRemote
Created April 15, 2015 17:54
Spark Core code to control RF remote
//
// http://alainahardie.com/spark-me-up
//
// name the pins
int unlockPin = D2;
int lockPin = D3;
int lockState = 0;
// Send the unlock code
@trianglegrrl
trianglegrrl / ember-cucumber.rb
Last active June 7, 2022 19:37
Testing Ember with Cucumber
# You need some sort of indication that an Ajax transaction exists. jQuery.active doesn't seem to do the
# trick, so we use the following JS (well, we use CoffeeScript, but whatever) that gets inserted into
# our application.
#
#$(function() {
# var body, doc;
# body = $('body');
# doc = $(document);
# doc.ajaxStart(function() {
# return body.addClass('ajax-in-progress').removeClass('ajax-quiet');
CoachApp.IndexRoute = Ember.Route.extend
model: (params) ->
client_id = localStorage.getItem 'clientId'
localStorage.removeItem('clientId')
if client_id? and !isNaN(client_id, 10)
CoachApp.Client.findById client_id
afterModel: (client) ->
if client