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
0000000 | |
011111020 00 | |
011111102200220 | |
011111111020220 | |
0113111110220 | |
012221021120 | |
013333101110 | |
0100300101110 |
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
diff --git a/builtin.c b/builtin.c | |
index 071cb56..a8a8780 100644 | |
--- a/builtin.c | |
+++ b/builtin.c | |
@@ -560,7 +560,7 @@ static const char* const jq_builtins[] = { | |
"def _modify(paths; update): reduce path(paths) as $p (.; setpath($p; getpath($p) | update));", | |
"def recurse(f): ., (f | select(. != null) | recurse(f));", | |
"def to_entries: [keys[] as $k | {key: $k, value: .[$k]}];", | |
- "def from_entries: map({(.key): .value}) | add;", | |
+ "def from_entries: map({(.key//.Key): (.value//.Value)}) | add;", |
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
diff --git a/bin/check b/bin/check | |
index e0c34ee..bfbb21b 100755 | |
--- a/bin/check | |
+++ b/bin/check | |
@@ -1,4 +1,4 @@ | |
-#!/usr/bin/env ruby | |
+#!/home/git/.rbenv/shims/ruby | |
require_relative '../lib/gitlab_init' | |
require_relative '../lib/gitlab_net' |
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
# CentOS-Vault.repo | |
# | |
# CentOS Vault holds packages from previous releases within the same CentOS Version | |
# these are packages obsoleted by the current release and should usually not | |
# be used in production | |
#----------------- | |
[C6.0-base] | |
name=CentOS-6.0 - Base | |
baseurl=http://vault.centos.org/6.0/os/$basearch/ |
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
# snippet from http://qiita.com/yusabana/items/8ce54577d959bb085b37 | |
## Settings | |
Pry.config.color = true | |
Pry.config.editor = "vim" | |
Pry.config.prompt = proc do |obj, level, _| | |
prompt = "" | |
prompt << "#{Rails.version}@" if defined?(Rails) | |
prompt << "#{RUBY_VERSION}" |
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
<cacti> | |
<hash_04002412c493499dbf92883d5e1b00144fe390> | |
<name>F5 BigIP - Snat Statistics</name> | |
<description>Pull per Snat statistics from a F5 BigIP</description> | |
<xml_path><path_cacti>/resource/snmp_queries/f5_bigip_snat.xml</xml_path> | |
<data_input_id>hash_030024bf566c869ac6443b0c75d1c32b5a350e</data_input_id> | |
<graphs> | |
<hash_110024efe0a7ff0304073f1f9acde9a30cdb60> | |
<name>Snat Traffic (bits/sec)</name> | |
<graph_template_id>hash_000024b5dfb11167905fd2146817249be1a0d5</graph_template_id> |
This file has been truncated, but you can view the full file.
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Resque; | |
use String::CamelCase qw(decamelize); | |
use Proclet; | |
my $cmd = shift @ARGV; | |
my $job = shift @ARGV; | |
my $worker = shift @ARGV || 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
use strict; | |
use utf8; | |
use Plack::Request; | |
use Graph::Easy; | |
# cpanm Graph::Easy::As_svg; | |
my $body = <<END; | |
<!DOCTYPE html> | |
<html> | |
<body> |
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
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use feature 'say'; | |
use DateTime::Format::HTTP; | |
use DateTime; | |
sub t { |