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
core: &core | |
adapter: postgis | |
encoding: unicode | |
host: 127.0.0.1 | |
username: postgres | |
database: magnum<%= ENV['CI_BUILD_NUMBER'] %> | |
development: | |
<<: *core | |
test: |
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
vagrant@developer:~/src/acumenbrands/dataops/failthru_parser(master*)$ ls -alh /tmp/st.log.gz | |
-rw-rw-r-- 1 vagrant vagrant 2.8M Aug 21 09:06 /tmp/st.log.gz | |
vagrant@developer:~/src/acumenbrands/dataops/failthru_parser(master*)$ ls -alh /tmp/raw_logs.out | |
-rw-rw-r-- 1 vagrant vagrant 24M Aug 21 13:28 /tmp/raw_logs.out | |
vagrant@developer:~/src/acumenbrands/dataops/failthru_parser(master*)$ ls -alh /tmp/dated_logs.out | |
-rw-rw-r-- 1 vagrant vagrant 877K Aug 21 13:27 /tmp/dated_logs.out |
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
[3] pry(main)> parser.file | |
=> #<File:/tmp/st.log.gz> | |
[4] pry(main)> parser.raw_logs.count | |
=> 13772 | |
[5] pry(main)> parser.logs_with_dates.count | |
=> 495 |
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
W, [2014-06-18T10:09:04.897542 #1838] WARN -- : wat | |
=> true | |
2.0.0-p247 :005 > l.info("wat") | |
I, [2014-06-18T10:09:37.896198 #1838] INFO -- : wat | |
=> true | |
2.0.0-p247 :006 > l.info(["foo", "bar", "wat"]) | |
I, [2014-06-18T10:10:21.495064 #1838] INFO -- : ["foo", "bar", "wat"] | |
=> true |
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
I am Chris. | |
Chris, Chris, Chris. |
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
;; extend the load-path | |
(let ((default-directory "~/.emacs.d/lisp/")) | |
(normal-top-level-add-to-load-path '(".")) | |
(normal-top-level-add-subdirs-to-load-path)) | |
;; package archives, MELPA and ELPA | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(when (< emacs-major-version 24) |
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
info it worked if it ends with ok | |
verbose cli [ 'node', '/usr/bin/npm', 'install' ] | |
info using [email protected] | |
info using [email protected] | |
verbose config file /home/christopher/.npmrc | |
verbose config file /usr/etc/npmrc | |
verbose config file /usr/share/npm/npmrc | |
verbose caching /home/christopher/src/pump.io/package.json | |
verbose loadDefaults [email protected] | |
verbose readDependencies: using package.json deps |
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
We do not have client_id/client_secret yet; doing Dynamic Client Registration | |
About to POST: "{ "type": "client_associate", "application_type": "native", "application_name": "Dianara" }" | |
Request finished. HTTP code: 200 | |
Size: 115 bytes; URL: QUrl( "https://microca.st/api/client/register" ) | |
isFinished()? true ; Request type: 1 | |
HTTP 200: OK! | |
JSON data size (items): 3 | |
Keys: ("client_id", "client_secret", "expires_at") | |
Client Registration was requested | |
Raw JSON: QMap(("client_id", QVariant(QString, "REDACTED") ) ( "client_secret" , QVariant(QString, "REDACTED") ) ( "expires_at" , QVariant(qulonglong, 0) ) ) |
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
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../dianara-v0.8 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/QtOAuth -I/usr/include/QtCrypto -I. -I../../dianara-v0.8 -I. -o main.o ../src/main.cpp | |
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I../../dianara-v0.8 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/QtOAuth -I/usr/include/QtCrypto -I. -I../../dianara-v0.8 -I. -o mainwindow.o ../src/mainwindow.cpp | |
../src/mainwindow.cpp:988:6: warning: unused parameter ‘timelineType’ [-Wunused-parameter] | |
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_G |
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 Consecutive | |
attr_reader :string, :totals | |
def initialize(string) | |
@string = string | |
@totals = count_characters | |
end | |
def max_consecutive_characters |