Skip to content

Instantly share code, notes, and snippets.

View gfu-clutter's full-sized avatar

Gilbert Fu gfu-clutter

View GitHub Profile
order_id amount skipped created_at updated_at
1257071 20 false 2020-12-29 14:17:33 UTC 2020-12-29 14:17:33 UTC
1257710 20 false 2020-12-29 16:43:04 UTC 2020-12-29 16:43:04 UTC
1256564 40 false 2020-12-29 17:37:38 UTC 2020-12-29 17:37:38 UTC
1257493 50 false 2020-12-29 17:54:08 UTC 2020-12-29 17:54:08 UTC
1240683 80 false 2020-12-29 18:26:06 UTC 2020-12-29 18:26:06 UTC
1257497 30 false 2020-12-29 18:37:42 UTC 2020-12-29 18:37:42 UTC
1257321 40 false 2020-12-29 19:27:25 UTC 2020-12-29 19:27:25 UTC
1256657 20 false 2020-12-29 20:08:00 UTC 2020-12-29 20:08:00 UTC
1255384 40 false 2020-12-29 20:18:54 UTC 2020-12-29 20:18:54 UTC
user_id feedback_date category escalation_level creator_id
6094 2017-01-05 Policy/Process Verbal Warning 30
6094 2017-01-10 Meal Break Violation None 30
6186 2017-01-10 Meal Break Violation None 30
6150 2017-01-16 Policy/Process Written Warning 30
4105 2017-02-16 Policy/Process Verbal Warning 30
812 2017-02-18 Meal Break Violation None 30
1813 2017-02-20 Policy/Process Written Warning 30
1850 2017-02-23 Policy/Process Verbal Warning 30
3156 2017-02-26 Policy/Process Written Warning 30
user_id feedback_date category escalation_level creator_id
7503 2018-10-09 Policy/Process Verbal Warning 30
8039 2018-10-09 Policy/Process Written Warning 30
6670 2018-10-10 Policy/Process Written Warning 30
7397 2018-10-10 Policy/Process Verbal Warning 30
8388 2018-10-11 Meal Break Violation None 30
6552 2018-10-11 Policy/Process Written Warning 30
6558 2018-10-11 Policy/Process Written Warning 30
6889 2018-10-11 Policy/Process Written Warning 30
6889 2018-10-11 Policy/Process Written Warning 30
user_id feedback_date category escalation_level creator_id
10590 2019-08-06 Policy/Process Written Warning 30
9986 2019-08-06 Policy/Process Written Warning 30
10597 2019-08-06 Policy/Process Verbal Warning 30
9248 2019-08-06 Policy/Process Verbal Warning 30
10593 2019-08-06 Policy/Process Final Written Warning 30
10684 2019-08-06 Policy/Process Verbal Warning 30
10681 2019-08-06 Policy/Process Written Warning 30
10681 2019-08-06 Policy/Process Written Warning 30
10207 2019-08-06 Policy/Process Final Written Warning 30
user_id feedback_date category escalation_level creator_id
9083 2019-09-22 Quality Defect Verbal Warning 30
392 2019-09-22 Quality Defect Final Written Warning 30
9085 2019-09-22 Quality Defect Written Warning 30
9781 2019-09-22 Quality Defect Verbal Warning 30
10434 2019-09-22 Quality Defect Written Warning 30
10588 2019-09-22 Quality Defect Verbal Warning 30
8758 2019-09-22 Quality Defect Verbal Warning 30
10229 2019-09-22 Quality Defect Verbal Warning 30
9884 2019-09-22 Quality Defect Verbal Warning 30
user_id feedback_date category escalation_level creator_id
11248 2019-11-21 Quality Defect Written Warning 30
11659 2019-11-22 Attendance Subject to Termination 30
7145 2019-11-22 Attendance Final Written Warning 30
8818 2019-11-22 Attendance Final Written Warning 30
6505 2019-11-22 Damage Audit Defect Verbal Warning 30
6911 2019-11-22 Damage Audit Defect Verbal Warning 30
9129 2019-11-22 Damage Audit Defect Written Warning 30
9792 2019-11-22 Damage Audit Defect Verbal Warning 30
9613 2019-11-22 Policy/Process Verbal Warning 30
user_id feedback_date category escalation_level creator_id
11808 2020-02-02 Attendance Written Warning 30
9613 2020-02-02 Attendance Subject to Termination 30
9574 2020-02-02 Attendance Verbal Warning 30
9547 2020-02-02 Damage Audit Defect Verbal Warning 30
10863 2020-02-02 Damage Audit Defect Written Warning 30
6225 2020-02-02 Quality Defect Written Warning 30
7145 2020-02-02 Quality Defect Verbal Warning 30
11810 2020-02-03 Attendance Final Written Warning 30
11716 2020-02-03 Attendance Final Written Warning 30
namespace :heroku do
desc 'Delete teh custom domain record set up for the Review App'
task :review_app_predestroy do
require 'dnsimple'
# Cleanup subdomain DNS record for Heroku review app
clutter_domain = 'clutter.com'.freeze
heroku_app_name = ENV['HEROKU_APP_NAME']
dnsimple_account_id = ENV['DNSIMPLE_ACCOUNT_ID']
@gfu-clutter
gfu-clutter / app.json
Last active March 25, 2019 23:33
Sample app.json for Heroku Review Apps
{
"name": "sample-pr-review-app",
"description": "Helps create PR Review Apps",
"scripts": {
"postdeploy": "bundle exec rake heroku:review_app_setup",
"pr-predestroy": "bundle exec rake heroku:review_app_predestroy"
},
"env": {
"DNSIMPLE_ACCESS_TOKEN": {
"required": true
@gfu-clutter
gfu-clutter / sample_postdeploy.rake
Last active January 10, 2024 20:22
Sample Review App Post Deploy script
namespace :heroku do
desc 'review app postdeploy script'
task :review_app_setup do
require 'dnsimple'
require 'platform-api'
clutter_domain = 'clutter.com'.freeze
# Environment variables are provided when specified in app.json
# Heroku app names are default "<name>-pr-<pull request ID>"