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
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:31 [32m/Users/basti/.rvm/scripts/base:31[37m export __array_start rvm_path | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:36 [32m/Users/basti/.rvm/scripts/base:36[37m if[[ -n 5.0.5 ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:37 [32m/Users/basti/.rvm/scripts/base:37[37m then__array_start=1 | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:41 [32m/Users/basti/.rvm/scripts/base:41[37m if(( 0 == 0 )) | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:43 [32m/Users/basti/.rvm/scripts/base:43[37m then[[ -n 022 ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:44 [32m/Users/basti/.rvm/scripts/base:44[37m thenrvm_rvmrc_files=( /etc/rvmrc /Users/basti/.rvmrc ) | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:45 [32m/Users/basti/.rvm/scripts/base:45[37m then if[[ -n /Users/basti ]] | |
+ 18:05:03 [31m/Users/basti/.rvm/scripts/base:45 [32m/Users/basti/.rvm/scripts/base:45[37m then if cmdand[[ /Users/basti/.rvmrc -ef /Users/basti/.rvmrc ]] | |
+ 18:05:03 [31m/User |
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
define(['settings'], | |
function (Settings) { | |
return new Settings({ | |
datasources: { | |
influx: { | |
type: 'influxdb', | |
url: 'http://localhost:8086/db/test', | |
username: 'user', |
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
def connect_with_retry(&block) | |
hosts = @hosts.dup | |
delay = @initial_delay | |
begin | |
hosts.push(host = hosts.shift) | |
http = Net::HTTP.new(host, @port) | |
http.open_timeout = @open_timeout | |
http.read_timeout = @read_timeout | |
http.use_ssl = @use_ssl |
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
def remove_sequential_spaces(value) do | |
# TODO how can this be expressed via pattern matching? | |
if String.starts_with?(value, "\"") || String.ends_with?(value, "\"") do | |
value | |
else | |
String.replace(value, ~r/\ {2,}/, " ") | |
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
=INFO REPORT==== 2-Jul-2014::05:43:23 === | |
tsung:(3:<0.66.0>) Can't start supervisor ! {error, | |
{shutdown, | |
{failed_to_start_child, | |
ts_local_mon, | |
{{badmatch, | |
{error, | |
eexist}}, | |
[{ts_local_mon, | |
init,1, |
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
$ curl -i --user user:secret 'https://api.example.com' -H 'User-Agent: Mozilla/5.0' | |
HTTP/1.1 200 OK | |
Server: nginx | |
Date: Wed, 30 Jul 2014 17:55:43 GMT | |
Content-Type: application/json; charset=UTF-8 | |
Content-Length: 2869 | |
Connection: keep-alive | |
Access-Control-Allow-Origin: * | |
Access-Control-Allow-Origin: https://example.com |
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
openssl s_client -connect google.de:443 -debug | |
CONNECTED(00000003) | |
write to 0x7faf99e00160 [0x7faf9a801000] (318 bytes => 318 (0x13E)) | |
0000 - 16 03 01 01 39 01 00 01-35 03 03 3c 69 2a c1 92 ....9...5..<i*.. | |
0010 - 63 9e 99 d9 b4 8d 9a a3-a2 eb a1 b3 ea 8a b8 12 c............... | |
0020 - f3 6b 2f ba 18 dc 13 ac-dd 2b 5b 00 00 b6 c0 30 .k/......+[....0 | |
0030 - c0 2c c0 28 c0 24 c0 14-c0 0a 00 a5 00 a3 00 a1 .,.(.$.......... | |
0040 - 00 9f 00 6b 00 6a 00 69-00 68 00 39 00 38 00 37 ...k.j.i.h.9.8.7 | |
0050 - 00 36 00 88 00 87 00 86-00 85 c0 32 c0 2e c0 2a .6.........2...* | |
0060 - c0 26 c0 0f c0 05 00 9d-00 3d 00 35 00 84 c0 2f .&.......=.5.../ |
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 CurlAdapter | |
class Response | |
attr_reader :http_response_code | |
attr_reader :time_total | |
def initialize(http_response_code, time_total) | |
@http_response_code = http_response_code | |
@time_total = time_total | |
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
\documentclass{article} | |
\usepackage{listings} | |
\begin{document} | |
\lstinputlisting[numbers=left,firstline=4,lastline=6]{sandbox.tex} | |
\end{document} | |
% this gives me smth like that: | |
% | |
% |
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 brew uninstall gawk | |
Uninstalling /usr/local/Cellar/gawk/3.1.7... | |
{~} I brew install spidermonkey -vd | |
==> Build Environment | |
PATH: /usr/local/Cellar/autoconf213/2.13/bin:/usr/local/Cellar/readline/6.0/bin:/usr/local/Cellar/autoconf213/2.13/bin:/usr/local/Cellar/readline/6.0/bin:/usr/local/sbin:/usr/local/bin:/Applications/sshfs/bin/:/Users/basti/.gem/bin:/Users/basti/.gem/ruby/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/Users/basti/.ec2/bin | |
CFLAGS: -O4 -march=core2 -mmmx -msse4.1 -w -pipe | |
LDFLAGS: -L/usr/local/Cellar/autoconf213/2.13/lib -L/usr/local/Cellar/readline/6.0/lib -L/usr/local/Cellar/autoconf213/2.13/lib -L/usr/local/Cellar/readline/6.0/lib | |
CPPFLAGS: -I/usr/local/Cellar/autoconf213/2.13/include -I/usr/local/Cellar/readline/6.0/include -I/usr/local/Cellar/autoconf213/2.13/include -I/usr/local/Cellar/readline/6.0/include | |
MAKEFLAGS: -j2 | |
CC: /Developer/usr/bin/llvm-gcc |
OlderNewer