Skip to content

Instantly share code, notes, and snippets.

View gfu-clutter's full-sized avatar

Gilbert Fu gfu-clutter

View GitHub Profile
@gfu-clutter
gfu-clutter / fon-rack-1.csv
Created October 18, 2018 19:59
fon-rack-1
BARCODE HEIGHT PALLET_STORE_TYPE STACK AISLE
91-L-4-A 64 single 12 46
91-L-4-B 64 single 12 46
91-L-5-A 46 double 12 46
91-L-5-B 0 single 12 46
91-L-6-A 46 double 12 46
91-L-6-B 0 single 12 46
91-M-1-A 80 single 13 46
91-M-1-B 80 single 13 46
91-M-2-A 94 single 13 46
BARCODE HEIGHT PALLET_STORE_TYPE STACK AISLE
90-A-1-A 0 single 1 45
90-A-1-B 0 single 1 45
90-A-2-A 0 single 1 45
90-A-2-B 0 single 1 45
90-A-3-A 0 single 1 45
90-A-3-B 0 single 1 45
90-A-4-A 0 single 1 45
90-A-4-B 0 single 1 45
90-A-5-A 0 double 1 45
@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>"
@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
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']
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
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
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
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
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