Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim Sabat tsabat

View GitHub Profile
View stuff.txt
1) "schedules_changed"
2) "stat:processed:2018-08-06"
3) "stat:failed:2018-09-06"
4) "stat:failed:2020-03-01"
5) "stat:failed:2020-01-12"
6) "stat:failed:2018-10-12"
7) "stat:processed:2018-09-01"
8) "stat:processed:2019-09-27"
9) "stat:failed:2020-02-23"
10) "stat:processed:2018-12-08"
View product.json
{
"product_id": "HL-104",
"product_name": "32-oz. Pail with Handle",
"description": "HumphreyLine 32-ounce pail is made with premium materials. Optional (non-decorated) White Lid available at US $0.25/CDN $0.50 (G) each. Optional Shovels also available at US $0.25/CDN $0.50 (G) each. Pail includes handle. Must specify handle color. Handles and Optional Shovels are available in: White, Red, Blue or Black. All optional accessories packed separately. Made in USA. FOB ZIP: KY, 41042",
"product_marketing_point_array": {
"product_marketing_point": {
"point_type": "downloads-Art Template",
"point_copy": "Click on the PDF link below to download: <br /><a href=\"/Lists/ReferenceMaterialLibrary/Bullet/Art_Templates/HL-104 32 oz Sand Pail.ai\" >HL-104 32 oz Sand Pail</a>"
}
},
View product_and_part.json
{
"product_id": "HL-104",
"product_name": "32-oz. Pail with Handle",
"description": "HumphreyLine 32-ounce pail is made with premium materials. Optional (non-decorated) White Lid available at US $0.25/CDN $0.50 (G) each. Optional Shovels also available at US $0.25/CDN $0.50 (G) each. Pail includes handle. Must specify handle color. Handles and Optional Shovels are available in: White, Red, Blue or Black. All optional accessories packed separately. Made in USA. FOB ZIP: KY, 41042",
"product_marketing_point_array": {
"product_marketing_point": {
"point_type": "downloads-Art Template",
"point_copy": "Click on the PDF link below to download: <br /><a href=\"/Lists/ReferenceMaterialLibrary/Bullet/Art_Templates/HL-104 32 oz Sand Pail.ai\" >HL-104 32 oz Sand Pail</a>"
}
},
View configuration_and_pricing.json
{
"get_configuration_and_pricing_response": {
"configuration": {
"part_array": {
"part": {
"part_id": "HL-104BK",
"part_description": "32-oz. Pail with Handle",
"part_price_array": {
"part_price": [
{
@tsabat
tsabat / install.sh
Created Feb 5, 2018
install docker
View install.sh
#!/bin/bash -x
#
# add's docker official ppa package source for Docker engine and install it
# does not include docker-compose or docker-machine
# run as root
#
# ensure we have tools to install
apt-get -y install \
apt-transport-https \
View keybase_proof.md

Keybase proof

I hereby claim:

  • I am tsabat on github.
  • I am tsabat (https://keybase.io/tsabat) on keybase.
  • I have a public key ASBNwh6tG_TF5UtdZENvrFyZA3TphNY0s18ICio-cmPAAAo

To claim this, I am signing this object:

View remaining_assets.json
["https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD0000.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD0010.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD0025.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD0050.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD0075.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD1000.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD1010.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD1025.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD1050.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD1075.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD2500.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD2510.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD2525.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD2550.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28359/BD2575.WAV", "https://s3-us-west-2.amazonaws.com/s.cdpn.io/28
@tsabat
tsabat / cp_stats.txt
Created Mar 29, 2017
CodePen rails stats, as of Mar 29, 2017
View cp_stats.txt
+----------------------+--------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+--------+-------+---------+---------+-----+-------+
| Controllers | 11934 | 9282 | 200 | 1376 | 6 | 4 |
| Helpers | 1406 | 1138 | 0 | 197 | 0 | 3 |
| Models | 5855 | 4515 | 119 | 696 | 5 | 4 |
| Mailers | 701 | 581 | 16 | 61 | 3 | 7 |
| Javascripts | 226460 |134085 | 0 | 13209 | 0 | 8 |
| Libraries | 52 | 38 | 2 | 4 | 2 | 7 |
| Concern specs | 246 | 176 | 2 | 1 | 0 | 174 |
View DOCKER_CONSTRAINT_GLOBAL_TEST.md

We're testing what happens when you try to update the the image on a global service, placed with constraints.

Prerequisites

  • Install Docker 1.12.2 on ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20160907.1 (ami-746aba14)
  • Add Labels
echo '[Service]\nExecStart=\nExecStart=/usr/bin/dockerd -H fd:// --userns-remap=default --storage-driver aufs --label codepen.service="cpor"' > /etc/systemd/system/docker.service.d/namespaces.conf
systemctl daemon-reload
You can’t perform that action at this time.