Skip to content

Instantly share code, notes, and snippets.

provider_id provider_brand_name url
albertsons Acme https://www.albertsons.com/pharmacy/covid-19.html
albertsons Albertsons https://www.albertsons.com/pharmacy/covid-19.html
albertsons Albertsons Market https://www.albertsons.com/pharmacy/covid-19.html
albertsons Amigos https://www.albertsons.com/pharmacy/covid-19.html
albertsons Carrs https://www.albertsons.com/pharmacy/covid-19.html
albertsons Jewel-Osco https://www.albertsons.com/pharmacy/covid-19.html
albertsons Lucky https://www.albertsons.com/pharmacy/covid-19.html
albertsons Market Street https://www.albertsons.com/pharmacy/covid-19.html
albertsons Pak 'n Save https://www.albertsons.com/pharmacy/covid-19.html
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GUI
GUI / README.md
Last active August 17, 2020 19:55 — forked from mosra/README.md
Git pre-push hook to confirm pushing to master

Git pre-push hook

Checks if the remote branch is master, then asks a confirmation. Based on https://gist.github.com/ColCh/9d48693276aac50cac37a9fce23f9bda, but with updated instructions for Git 2.9+ with global hooks.

Further info: https://dev.ghost.org/prevent-master-push/, https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook, https://git-scm.com/docs/githooks#_pre_push, https://stackoverflow.com/questions/22585091/git-hooks-pre-push-script-does-not-receive-input-via-stdin

Installation

  1. Check your git version. 2.9 or higher is needed for configuring global git hooks.
local mail = require "resty.mail"
local mailer, err = mail.new({
host = "smtp.gmail.com",
port = 587,
starttls = true,
username = "YOUR.USERNAME@gmail.com",
password = "YOUR.PASSWORD",
})
if err then
#!/bin/bash
set -x
file /opt/api-umbrella/embedded/apps/core/current/vendor/lib/lua/5.1/yaml.so
ldd /opt/api-umbrella/embedded/apps/core/current/vendor/lib/lua/5.1/yaml.so
grep lua_package /opt/api-umbrella/etc/nginx/router.conf
2016-03-22 19:53:07.314 - State of Hadoop job: job_1458515807807_0318:ACCEPTED - UNDEFINED
2016-03-22 19:53:17.320 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:53:27.328 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:53:37.334 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:53:47.339 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:53:57.344 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:54:07.351 - State of Hadoop job: job_1458515807807_0318:RUNNING - UNDEFINED
2016-03-22 19:54:17.356 - State of Hadoop job: job_1458515807807_0318:FINISHED - FAILED
no counters for job job_1458515807807_0318
@GUI
GUI / config.log
Created October 7, 2015 02:25
lyaml config.log error
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by lyaml configure 6.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure LUA=/tmp/api-umbrella-build/embedded/openresty/luajit//bin/luajit-2.1.0-alpha LUA_INCLUDE=-I/tmp/api-umbrella-build/embedded/openresty/luajit/include/luajit-2.1 CPPFLAGS=-I/tmp/api-umbrella-build/embedded/include LDFLAGS=-L/tmp/api-umbrella-build/embedded/lib --prefix=/vagrant/lua/vendor//lib/luarocks/rocks/lyaml/6.0-1 --libdir=/vagrant/lua/vendor//lib/luarocks/rocks/lyaml/6.0-1/lib --datadir=/vagrant/lua/vendor//lib/luarocks/rocks/lyaml/6.0-1/lua --datarootdir=/vagrant/lua/vendor//lib/luarocks/rocks/lyaml/6.0-1
## --------- ##
## Platform. ##
@GUI
GUI / trafficserver_5.3.1.log
Created October 4, 2015 15:10
TrafficServer Keep-Alive Handling
[Oct 3 22:43:13.298] Server {0x2b5061dbd480} DEBUG: (http_cs) [129] [&HttpClientSession::state_keep_alive, VC_EVENT_READ_READY]
[Oct 3 22:43:13.298] Server {0x2b5061dbd480} DEBUG: (http_cs) [129] Starting transaction 7 using sm [454]
[Oct 3 22:43:13.298] Server {0x2b5061dbd480} DEBUG: (http) [454] [HttpSM::main_handler, VC_EVENT_READ_READY]
[Oct 3 22:43:13.298] Server {0x2b5061dbd480} DEBUG: (http) [454] [&HttpSM::state_read_client_request_header, VC_EVENT_READ_READY]
[Oct 3 22:43:13.299] Server {0x2b5061dbd480} DEBUG: (http) [454] done parsing client request header
[Oct 3 22:43:13.299] Server {0x2b5061dbd480} DEBUG: (http_trans) START HttpTransact::ModifyRequest
[Oct 3 22:43:13.299] Server {0x2b5061dbd480} DEBUG: (http_trans) [ink_cluster_time] local: 1443912193, highest_delta: 0, cluster: 1443912193
[Oct 3 22:43:13.299] Server {0x2b5061dbd480} DEBUG: (http_trans) END HttpTransact::ModifyRequest
[Oct 3 22:43:13.299] Server {0x2b5061dbd480} DEBUG: (http_trans) Checking if transaction wants to upgrade