Skip to content

Instantly share code, notes, and snippets.

Tim Sabat tsabat

Block or report user

Report or block tsabat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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
@tsabat
tsabat / docker-xenial-copy-paste.sh
Last active Sep 12, 2017 — forked from BretFisher/docker-xenial-copy-paste.sh
Install Docker PPA on Ubuntu 16.04
View docker-xenial-copy-paste.sh
# NOT FOR SHELL SCRIPT, but rather just for quick copy paste
# this is a copy-paste version with defaults of full shell script docker-xenial.sh
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D && \
mkdir -p /etc/apt/sources.list.d && \
echo deb https://apt.dockerproject.org/repo ubuntu-xenial main > /etc/apt/sources.list.d/docker.list && \
service lxcfs stop && apt-get remove -y -q lxc-common lxcfs lxd lxd-client && \
apt-get update -q && apt-get upgrade -y -q && \
apt-get install -y -q linux-image-extra-$(uname -r) linux-image-extra-virtual && \
apt-get install -y -q docker-engine && \
You can’t perform that action at this time.