Skip to content

Instantly share code, notes, and snippets.

View zuchmanski's full-sized avatar

Sebastian Zuchmanski zuchmanski

  • Paladin Software
View GitHub Profile
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
ommand: ["storagectl", "539ab362-ac40-45b4-95b7-ce4e1ae54843", "--name", "SATA Controller", "--hostiocache", "on"]
Stderr: VBoxManage: error: Could not find a storage controller named 'SATA Controller'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component SessionMachine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "GetStorageControllerByName(Bstr(pszCtl).raw(), ctl.asOutParam())" at line 1151 of file VBoxManageStorageController.cpp
VBoxManage: error: Couldn't find the controller with the name: 'SATA Controller'
>)
INFO subprocess: Starting process: ["/usr/bin/VBoxManage", "modifyvm", "539ab362-ac40-45b4-95b7-ce4e1ae54843", "--rtcuseutc", "on"]
DEBUG subprocess: Command not in installer, not touching env vars.
DEBUG subprocess: Selecting on IO
RubyVM::InstructionSequence.compile_option = {
:tailcall_optimization => true,
:trace_instruction => false
}
var async = require('async');
var file = require('file');
var fs = require('fs');
var Q = require('q');
function printAsync(s, cb) {
var delay = Math.floor((Math.random()*1000)+500);
setTimeout(function() {
console.log(s);
18:07:26, taken:18, git:master, ~/Code/params-inspect
-> heroku run bash
Running `bash` attached to terminal... up, run.3998
~ $ ls
app bin config config.ru db Gemfile Gemfile.lock lib log public Rakefile README.rdoc test tmp vendor
~ $ cat config/database.yml
<%
require 'cgi'
require 'uri'
{"stream_key":"PzVsyJQ","name":"moderator","line":"\r1011.375 kB / 45.94 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.144Z"}
{"stream_key":"HVAZ7HE","name":"Inny","line":"\r408.232 kB / 20.07 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.300Z"}
{"stream_key":"PzVsyJQ","name":"moderator","line":"\r1013.293 kB / 46.24 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.397Z"}
{"stream_key":"HVAZ7HE","name":"Inny","line":"\r410.026 kB / 20.29 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.506Z"}
{"stream_key":"PzVsyJQ","name":"moderator","line":"\r1028.146 kB / 46.81 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.686Z"}
{"stream_key":"HVAZ7HE","name":"Inny","line":"\r412.542 kB / 20.51 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T12:19:40.752Z"}
{"st
{"stream_key":"JpGK9zY","name":"Inny","line":"\r1395.044 kB / 52.76 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.067Z"}
{"stream_key":"Ck1zFXg","name":"moderator","line":"\r2765.469 kB / 129.19 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.258Z"}
{"stream_key":"JpGK9zY","name":"Inny","line":"\r1398.177 kB / 52.98 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.285Z"}
{"stream_key":"JpGK9zY","name":"Inny","line":"\r1400.998 kB / 53.20 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.520Z"}
{"stream_key":"Ck1zFXg","name":"moderator","line":"\r2768.495 kB / 129.52 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.525Z"}
{"stream_key":"JpGK9zY","name":"Inny","line":"\r1403.301 kB / 53.42 sec","level":"info","message":"video.Recorder: _stderrData","timestamp":"2014-02-07T11:50:14.735Z"}
{"st
class DateTime
def to_db
strftime("%Y-%m-%d")
end
end
class Generator
class << self