This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Marker - Jun 25, 2016, 10:57:44 | |
2016-06-25 10:57:53,034 | INFO | MainThread:123145303375872 | main.py:227 | conveyor.server.__main__.ServerMain:_log_startup | conveyord 3.8.3 started | |
2016-06-25 10:57:53,034 | INFO | MainThread:123145303375872 | main.py:228 | conveyor.server.__main__.ServerMain:_log_startup | git hash: 9be3a7fbafebc0a71e0f91adba228331c0395c78 | |
2016-06-25 10:57:53,034 | INFO | MainThread:123145303375872 | main.py:229 | conveyor.server.__main__.ServerMain:_log_startup | process id: 4634 | |
2016-06-25 10:57:53,035 | INFO | MainThread:123145303375872 | main.py:230 | conveyor.server.__main__.ServerMain:_log_startup | python version: '2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) \n[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]' | |
2016-06-25 10:57:53,044 | INFO | MainThread:123145303375872 | main.py:231 | conveyor.server.__main__.ServerMain:_log_startup | python platform: 'Darwin-15.5.0-x86_64-64bit' | |
2016-06-25 10:57:53,045 | INFO | MainThread:123145303375872 | main.py:232 | conveyor.server.__main__.Se |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*===== | |
HIDING | |
====== | |
/* Hide the Google+ buttons */ | |
/* | |
.gb_ea, | |
.gb_fa | |
{ display: none; } | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-06-23 18:54:29,442 | INFO | MainThread:123145303375872 | __init__.py:1531 | conveyor.server.Server:usb_device_inserted | Device {u'iserial': '75334323935351B0B0C1', u'pid': 45079, u'port_type': 'UsbPort', u'vid': 9153} inserted | |
2016-06-23 18:54:29,466 | ERROR | MainThread:123145303375872 | EepromReader.py:47 | EepromReader:__init__ | Could not find /Library/MakerBot/python/makerbot_driver-0.1.1-py2.7.egg/makerbot_driver/EEPROM/eeprom_map_706_0x00.json | |
2016-06-23 18:54:29,536 | INFO | MainThread:123145303375872 | s3g.py:360 | conveyor.machine.s3g._S3gMachine:connect | Connecting {u'can_print': True, u'number_of_toolheads': 2, u'display_name': 'Replicator 2', u'name': {u'iserial': '75334323935351B0B0C1', u'pid': 45079, u'port_type': 'UsbPort', u'vid': 9153}, u'platform_temperature': 0, u'has_heated_platform': True, u'profile_name': u'Replicator2X', u'toolhead_target_temperature': [0], u'build_volume': [246, 152, 155], u'state': u'IDLE', u'driver_name': u's3g', u'printer_type': u'The Replicator 2X', u'firmw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ArticlesController < ApplicationController | |
def index | |
render nothing: true | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using an 'Incoming Webhook' url, the link_names directive works and #channel and @user are linked in payload text when displayed in Slack | |
curl -X POST --data-urlencode 'payload={"link_names": 1, "text": "This references the #general channel and the @hpoydar user using a webhook generated as an *Incoming Webhook* configuration", "attachments": [{"text": "Referencing the #general channel and the @hpoydar user in an attachment"}], "channel": "#demo", "username": "webhook-bot", "icon_emoji": ":large_blue_circle:"}' https://hooks.slack.com/services/INCOMING_WEBHOOK_URL | |
# Using a webhook url generated from the creation of a Slack Button, the link_names directive does not work and #channel and @user are not linked in payload text when displayed in Slack. Same goes for payloads returned in response to slash commands | |
curl -X POST --data-urlencode 'payload={"link_names": 1, "text": "This references the #general channel and the @hpoydar user using a webhook generated as from a *Slack Button* configuration", "attach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
gem "newrelic_rpm", "~> 3.5.3.25", :require => false | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ $ rvm use jruby-head | |
Using /Users/hpoydar/.rvm/gems/jruby-head | |
~ $ jruby -v | |
jruby 1.7.0.dev (ruby-2.0.0dev) (2012-03-16 61bd77a) (OpenJDK 64-Bit Server VM 1.7.0-u4-b13) [darwin-amd64-java] | |
~ $ jruby --1.9 -v | |
jruby 1.7.0.dev (ruby-2.0.0dev) (2012-03-16 61bd77a) (OpenJDK 64-Bit Server VM 1.7.0-u4-b13) [darwin-amd64-java] | |
~ $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready -> | |
$('#progress').ajaxStart -> | |
$(@).show() | |
$('#progress').ajaxStop -> | |
$(@).hide() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ $ rvm --trace update | |
+__rvm_parse_args:414> [[ -z 4.3.9 ]] | |
+__rvm_parse_args:570> [[ -z '' && -n '' ]] | |
+__rvm_parse_args:572> [[ 0 -eq 1 || -n '' ]] | |
+__rvm_parse_args:15> [[ -n update ]] | |
+__rvm_parse_args:17> rvm_token=update | |
+__rvm_parse_args:19> [[ 0 -gt 0 ]] | |
+__rvm_parse_args:19> next_token='' | |
+__rvm_parse_args:21> case update (fetch|version|srcdir|reset|debug|reload|update|monitor|notes|implode|seppuku|question|answer|env) | |
+__rvm_parse_args:23> rvm_action=update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cookbooks and DNA stored within app codebase | |
# Pro: no separate repo for deploy config/setup | |
# Con: keeping sync'd with changes to eycloud-recipes repo harder (solve w/ subtree?) | |
# Structure | |
railsapp | |
|-- deploy | |
| |-- after_restart.rb | |
| |-- before_migrate.rb |