I hereby claim:
- I am siavashs on github.
- I am siavashs (https://keybase.io/siavashs) on keybase.
- I have a public key whose fingerprint is 99B3 7FBE 5F9C B371 31A8 EFE0 1946 A9F5 C369 18B2
To claim this, I am signing this object:
| set gemdir (gem env gemdir) | |
| function gemdoc | |
| set -l doc $gemdir/doc/$argv*/rdoc/index.html | |
| open $doc | |
| end | |
| complete -xc gemdoc -a "(ls $gemdir/doc/ | cut -d '-' -f 1)" |
| # lyrics.rb: Ruby script to fetch lyrics from Lyric Wiki | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| #!/bin/sh | |
| # | |
| # PROVIDE: remote_syslog | |
| # | |
| . /etc/rc.subr | |
| name="remote_syslog" | |
| rcvar="${name}_enable" |
| Name: ip2location-c | |
| Version: 7.0.0 | |
| Release: 1%{?dist} | |
| Summary: IP2Location C Library | |
| Group: Development/Libraries | |
| License: GPLv3+ | |
| URL: http://www.ip2location.com/c.aspx | |
| Source0: http://www.ip2location.com/downloads/%{name}-%{version}.tar.gz | |
| BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
| # HELP http_request_duration_microseconds The HTTP request latencies in microseconds. | |
| # TYPE http_request_duration_microseconds summary | |
| http_request_duration_microseconds{handler="prometheus",quantile="0.5"} 9206.461 | |
| http_request_duration_microseconds{handler="prometheus",quantile="0.9"} 11817.503 | |
| http_request_duration_microseconds{handler="prometheus",quantile="0.99"} 12880.886 | |
| http_request_duration_microseconds_sum{handler="prometheus"} 6.201126414000001e+06 | |
| http_request_duration_microseconds_count{handler="prometheus"} 653 | |
| # HELP http_request_size_bytes The HTTP request sizes in bytes. | |
| # TYPE http_request_size_bytes summary | |
| http_request_size_bytes{handler="prometheus",quantile="0.5"} 299 |
| #!/bin/bash | |
| # Author: Siavash Safi <[email protected]> | |
| # Nexus artifact deployment script | |
| # Original solution from https://support.sonatype.com/hc/en-us/articles/213465818-How-can-I-programatically-upload-an-artifact-into-Nexus- | |
| groupId=`xmlstarlet sel -t -v '//_:project/_:groupId' pom.xml` | |
| artifactId=`xmlstarlet sel -t -v '//_:project/_:artifactId' pom.xml` | |
| version=`xmlstarlet sel -t -v '//_:project/_:version' pom.xml` | |
| packaging=`xmlstarlet sel -t -v '//_:project/_:packaging' pom.xml` |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # PostgreSQL Backup Script Ver 1.0 | |
| # http://autopgsqlbackup.frozenpc.net | |
| # Copyright (c) 2005 Aaron Axelsen <[email protected]> | |
| # | |
| # This script is based of the AutoMySQLBackup Script Ver 2.2 | |
| # It can be found at http://sourceforge.net/projects/automysqlbackup/ | |
| # | |
| # The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9 |
| #!/bin/sh | |
| subnets="10.1/16" | |
| rules="/tmp/nat.rules" | |
| echo "Clearing nat table..." | |
| sudo pfctl -a com.apple/tun -F nat | |
| echo "Generaring nat rules..." | |
| echo > $rules |
$ kubectl get secret sh.helm.release.v1.<release>.v<version> -o yaml > release.yamlrelease.yaml file in an editor and copy data.release value (or use Bash skills)$ echo <release value> | base64 -D | base64 -D | gunzip > release