This file contains hidden or 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
OASISFormat: 0.4 | |
Name: slackbot | |
Version: 0.0.1 | |
Synopsis: Experimental slack bot in OCaml | |
Authors: Pavel Argentov ([email protected]) | |
License: BSD-3-clause | |
Plugins: META (0.4), DevFiles (0.4), StdFiles (0.4) | |
AlphaFeatures: stdfiles_markdown | |
Executable slackbot | |
Path: src |
This file contains hidden or 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
Checker definition probably flawed. | |
Error while checking syntax automatically: (file-error "Writing to process" "bad file descriptor" #<process flycheck-ruby-rubocop>) | |
Saving file /Users/paul/Development/Evrone/authentica/app/services/data_utils/best_pick_setup.rb... | |
Wrote /var/folders/mx/p1090yj579bfmb2t3bvdvclc0000gn/T/.!Users!paul!Development!Evrone!authentica!app!services!data_utils!best_pick_setup.rb.~undo-tree~ | |
Wrote /Users/paul/Development/Evrone/authentica/app/services/data_utils/best_pick_setup.rb | |
Suspicious state from syntax checker ruby-rubocop: Checker ruby-rubocop returned non-zero exit code 1, but no errors from output: invalid option: --cache | |
/Users/paul/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rubocop-0.32.1/lib/rubocop/options.rb:68:in `parse' | |
/Users/paul/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rubocop-0.32.1/lib/rubocop/cli.rb:21:in `run' | |
/Users/paul/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rubocop-0.32.1/bin/rubocop:13:in `block in <top (required)>' | |
/Users/paul/.rbenv/ver |
This file contains hidden or 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
[2013-04-15T20:17:15+00:00] INFO: Processing execute[apt-get update] action nothing (mongodb::10gen_repo line 28) | |
[2013-04-15T20:17:15+00:00] INFO: Processing apt_repository[10gen] action add (mongodb::10gen_repo line 32) | |
================================================================================ | |
Error executing action `add` on resource 'apt_repository[10gen]' | |
================================================================================ | |
RuntimeError | |
------------ | |
The repository file to create is nil, cannot continue. |
This file contains hidden or 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
# sysctl kern.geom.label.gpt.enable=0 | |
# sysctl kern.geom.label.gptid.enable=0 | |
# gjournal stop da0p1.journal |
This file contains hidden or 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
# connecting select2 to the appropriate hooks: | |
# | |
# hard case: best_in_place's select | |
$ -> | |
# first, find the mount point | |
$('body').on 'best_in_place:activate', '.best_in_place', -> | |
# second, attach empty update() to `this` to screen the downstream calls | |
# which otherwise will cause an error |
This file contains hidden or 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
backend nginx_backend | |
#timeout connect 400 | |
timeout connect 6000 | |
#timeout server 600 | |
timeout server 6000 | |
server server1 10.0.0.1:8080 maxconn 2000 check |
This file contains hidden or 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
test = { | |
zhopa: function (z, char) { | |
return true; | |
} | |
} |
This file contains hidden or 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
[paul@paul paul]$ lynx -head -dump http://facebook.com | |
HTTP/1.0 301 Moved Permanently | |
Location: http://www.facebook.com/ | |
Content-Type: text/html; charset=utf-8 | |
X-FB-Debug: 0iV7kkInxezygwAu6gdBa2v96tBdZuV3gj4D92r7DQo= | |
Connection: close | |
Content-Length: 0 | |
[paul@paul paul]$ host -a www.facebook.com |
This file contains hidden or 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
module Tilt | |
TOPOBJECT = defined?(BasicObject) ? BasicObject : Object | |
# Base class for template implementations. Subclasses must implement | |
# the #prepare method and one of the #evaluate or #precompiled_template | |
# methods. | |
class Template | |
# Template source; loaded from a file or given directly. | |
attr_reader :data |
This file contains hidden or 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
https://github.com/api/v2/json/repos/show/argent-smith?callback=? gave the following: | |
?({"repositories":[{"has_issues":true,"description":"A library wrapping BSD rsh(1) client execution into a PORO. Also features pure ruby rsh client implementation.","forks":1,"has_downloads":true,"url":"https://github.com/argent-smith/rsh","created_at":"2010/10/21 03:53:37 -0700","fork":false,"has_wiki":true,"size":508,"private":false,"language":"Ruby","name":"rsh","owner":"argent-smith","pushed_at":"2011/09/09 08:53:17 -0700","open_issues":0,"watchers":2},{"has_issues":true,"description":"Artificial Intelligent @ GitHub","forks":1,"has_downloads":true,"url":"https://github.com/argent-smith/argent-smith.github.com","created_at":"2010/10/31 12:25:40 -0700","fork":false,"homepage":"","has_wiki":true,"size":968,"private":false,"language":"Ruby","name":"argent-smith.github.com","owner":"argent-smith","pushed_at":"2011/09/10 01:23:55 -0700","open_issues":0,"watchers":2},{"has_issues":true,"description":"Yet Another Whois Thing." |