Skip to content

Instantly share code, notes, and snippets.

View jquast's full-sized avatar
🐡
I may be slow to respond.

Jeff Quast jquast

🐡
I may be slow to respond.
View GitHub Profile
██▀ ▀
░░▄▄▓░▌█▒▓▄▓▄▀ ▀ ▓▀▀ ▀▓ ░ ░░ ▀ ▌█░ ▀▒▌▄▀█▀▓▌▐█░░▄▄▀▄ ▀▀ ▌▀▐▒ ░ ▄ ░▀▀▀▀▀▀▓▓▀░▀▀▄
▌▓▀▄ ▄▄▄▄▄▄▄▀▀ ▓▄▓▄▄▀ ▒ ▀ ▄░ ▌█▌░░▀▄ ▄▄▀▓░ █▌ ▀▐▄▀▀▀▀▀░░▐▓▌▀▄▐▌▄▄▄▀▄▒▀ ░▄░ ░░
▐░▐░▐▐█▌▄█▌▓▌▓▀▌ █ ▀▀ ▀▐█▐ ▐█▌▐█▐▐ ▐█ ██▄ ▓█ ░ █ ▌░ ▄ ▐░▀▒▄ █▓▀ ▀▄▄▄▀ ░█▀▀▄
█▌▐▒▐▐█▌▓ ▌░▄▄▄▄ ▀▀▄ ▀▀█▀▀▀█▀▓▌ █▌▌▌ ░ █▓ ▀▄▄▒ ▐░▐▌ ▌▐█ ▓▌ ▀▄░▐▒▌ ▄▒▓▀▄▀▀▀▄▀▀▒
█░▐░▄▄▄■ ▀▄█▓██░█▄ ▐▌░ ▓▌░░▐▐▐▓▄▀▀▄▀▄▄ ▓▓▌░▄▀▓▌▐▌▐▓ ░ ▓ ▐░ ▀█▓▌▀ ▐▓ ░▌ ░█▌ █
▌▒▐█═░▌▒ ▐░ ▐░░▌ ▓▌▐▌ ▐▌▐▌▄▐▓▓▀ ░▒ ▌ ▀▀▀█▀▓▄ ▀▄▀ ▄ ▓▌ █ gj ▓ ▀▄▄ █▌ ▀▄░▓▌ ▌
▒▓▐█▄▒▄▀▄ ▀▀▄▄▄▄▀▀ ▀ ▀ ▓ ▒▀ ▀▀ ▓▌▀▄ ▄ ░ ▀▀ ▀░▄▄ ▀▄ ▌ ░ ▀▀▓▀ ░ ░▄▀
░░ ▀▀▀▀ ▀░▄█▌▀▄ ▄ ░ ▀ ▀▀ ▄ ■ ░░ ▐▌ ▒
░░ -►►►► Wall Hall Inter-BBS Tag Lines ►►►►- ▀░ ░
diff --git a/deployment/docker/ng/docker_gc/Dockerfile b/deployment/docker/ng/docker_gc/Dockerfile
index b2386db..a6b6739 100644
--- a/deployment/docker/ng/docker_gc/Dockerfile
+++ b/deployment/docker/ng/docker_gc/Dockerfile
@@ -25,16 +25,16 @@ LABEL com.imprivata.docker.$CONTAINER_NAME.build_datetime=$BUILD_DATETIME \
ENV DOCKER_VERSION 1.11.2
-# We get curl so that we can avoid a separate ADD to fetch the Docker binary, and then we'll remove it
+# Install docker binary
diff --git a/x84/bbs/session.py b/x84/bbs/session.py
index ad41359..18df08e 100644
--- a/x84/bbs/session.py
+++ b/x84/bbs/session.py
@@ -539,9 +539,6 @@ class Session(object):
"""
self._last_input_time = time.time()
- if self.log.isEnabledFor(logging.DEBUG) and self.tap_input:
- self.log.debug('<-- {!r}'.format(data))
"""
Custom TeamCity salt state module.
This module provides one state function: managed_buildagent_properties.
Example SLS usage::
/opt/buildAgent/conf/buildAgent.properties:
teamcity.managed_buildagent_properties:
- mode: 640
ubuntu@ip-10-207-31-52:~$ git clone 'https://github.com/relay-tools/react-router-relay.git'
Cloning into 'react-router-relay'...
remote: Counting objects: 498, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 498 (delta 5), reused 0 (delta 0), pack-reused 485
Receiving objects: 100% (498/498), 87.81 KiB | 0 bytes/s, done.
Resolving deltas: 100% (267/267), done.
Checking connectivity... done.
ubuntu@ip-10-207-31-52:~$ cd react-router-relay/
ubuntu@ip-10-207-31-52:~/react-router-relay$ npm install
$ npm install react-router-relay@0.9.5
/home/ubuntu
├── UNMET PEER DEPENDENCY react@>=0.14.0
├── UNMET PEER DEPENDENCY react-relay@>=0.6.0
├── UNMET PEER DEPENDENCY react-router@>=2.0.0
└─┬ react-router-relay@0.9.5
├─┬ babel-runtime@5.8.38
│ └── core-js@1.2.6
├─┬ invariant@2.2.1
│ └─┬ loose-envify@1.1.0
diff --git a/package.json b/package.json
index 64bc298..d5722ec 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "react-router-relay",
- "version": "0.9.4",
+ "version": "0.9.5",
"description": "Nested react-router routes for Relay",
$ curl -L https://bootstrap.saltstack.com/develop | sudo sh -s -- git develop
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 265 100 265 0 0 1971 0 --:--:-- --:--:-- --:--:-- 1977
13 224k 13 30524 0 0 184k 0 0:00:01 --:--:-- 0:00:01 184k * INFO: PIPED THROUGH sh -- Version 2015.11.09
* WARN: Running the unstable version of bootstrap-salt.sh
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
@jquast
jquast / gist:8a6c658a8776cdcd307c
Created February 29, 2016 17:40
bonjour-monitor.py
#!/usr/bin/env python
import threading
import traceback
import sys
import time
import Queue
protocols = {
'tcp': [
'apple-mobdev2',
@jquast
jquast / series.py
Last active January 27, 2016 20:34
stringify series of numbers (interview question)
given = [1,2,3,5,6,8,12,15,21,22]
expected = '1-3,5-6,8,12,15,21,22'
def display_series(given):
series = False
for idx, value in enumerate(given):
if idx and given[idx - 1] == value - 1 and idx != len(given) - 1:
# series may continue, non-first item, non-last item, and
# current value is equal to the previous value.
series = True