This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What Went Well | |
============== | |
- Learned a lot | |
- Garett enjoyed working with devops | |
- Excited to start more Utu work | |
- Kept plenty busy despite Utu not ramping up | |
- Pairing in person (John/Garett) was cool | |
- Deploy times continue to fall (QA deploys) | |
- Productive week (good point total) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
ca1.source_id, | |
count(ca2.id) as 'total dupes', | |
/* begin stuff you will replace with yucky dynamic SQL */ | |
sum(case ca2.source_id when 7785 then 1 else 0 end) as 'dupes_with_7785', | |
sum(case ca2.source_id when 7795 then 1 else 0 end) as 'dupes_with_7795', | |
sum(case ca2.source_id when 7805 then 1 else 0 end) as 'dupes_with_7805' | |
/* etc */ | |
/* etc */ | |
/* etc */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Projects/nitro-web $ ./install.sh feature/call-recordings-better-s3 732 1 68 ✓ | |
>>> Installing Component dependencies: | |
* components/apple_gsx_client | |
* components/connect-web-ui | |
yarn install v0.23.4 | |
[1/4] 🔍 Resolving packages... | |
success Already up-to-date. | |
✨ Done in 1.27s. | |
* components/connect_client | |
* components/desktop_connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
class YourMom | |
def speak | |
msg = "You'll be late for school! It's #{Time.now}" | |
puts msg | |
puts "...object id was #{msg.object_id}" | |
msg2 = "Eat your vegetables!" | |
puts msg2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.2.4 ~/Projects/pws (feature/api-v2) $ vagrant provision | |
==> nitro: Running provisioner: puppet_server... | |
==> nitro: Running Puppet agent... | |
==> nitro: stdin: is not a tty | |
==> nitro: Info: Caching certificate for iscandar.local.nitro.devbox | |
==> nitro: Info: Caching certificate_revocation_list for ca | |
==> nitro: Info: Caching certificate for iscandar.local.nitro.devbox | |
==> nitro: Info: Using configured environment 'production' | |
==> nitro: Info: Retrieving pluginfacts | |
==> nitro: Info: Retrieving plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.2.4 ~/Projects/pws (feature/api-v2) $ vagrant provision | |
==> nitro: Running provisioner: puppet_server... | |
==> nitro: Running Puppet agent... | |
==> nitro: stdin: is not a tty | |
==> nitro: Info: Caching certificate for iscandar.local.nitro.devbox | |
==> nitro: Info: Caching certificate_revocation_list for ca | |
==> nitro: Info: Caching certificate for iscandar.local.nitro.devbox | |
==> nitro: Info: Using configured environment 'production' | |
==> nitro: Info: Retrieving pluginfacts | |
==> nitro: Info: Retrieving plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 928, | |
"name": "RETAIL LEADERSHIP", | |
"jid": "[email protected]", | |
"is_private": true, | |
"can_send": true, | |
"user_count": 36, | |
"created_by": "Mike Balush", | |
"created_by_id": 47, | |
"updated_by": "Mike Balush", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = { 'foo' => 'Normal Message', (0.1 + 0.02) => 'Secret Message' } | |
# Outputs 'Normal Message' | |
puts x['foo'] | |
# Outputs NOTHING because 0.1 + 0.02 equals 0.12000000000000001, not 0.12! | |
# (The Russians wil never find the secret message!) | |
puts x[0.12] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Set a jQuery event handler; we want to record outgoing clicks with Keen.io | |
*/ | |
$('a').click(function (e) { | |
e.preventDefault(); // otherwise, we'll navigate to new page before Keen object fires tracking event back to server | |
var linkName = e.currentTarget.title || e.currentTarget.href; // fall back to href if no title | |
Keen.addEvent("Link Clicked", { | |
LinkName: linkName, | |
CalendarCode: $.cookie('refCode') |
NewerOlder