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 python2 | |
import rados | |
import sys | |
import time | |
cluster = rados.Rados(conffile='/etc/ceph/ceph.conf') | |
cluster.connect() | |
for pool in cluster.list_pools(): |
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
#!ipxe | |
# Source: https://gist.github.com/robinsmidsrod/2234639#file-menu-ipxe | |
# Some menu defaults | |
#set menu-timeout 5000 | |
set menu-timeout 0 | |
set submenu-timeout ${menu-timeout} | |
isset ${menu-default} || set menu-default exit |
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
kubectl create ns oncall | |
kubectl config set-context (kubectl config current-context) --namespace=oncall | |
kubectl create secret generic mysql-pass --from-literal=password='1234' | |
kubectl apply -f oncall_config.yml | |
kubectl apply -f oncall_depl.yml |
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
$ brew reinstall -debug -verbose ceph-client | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ceph-client.rb | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/openssl.rb | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/makedepend.rb | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pkg-config.rb | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/ccache.rb | |
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cmake.rb | |
/usr/local/Homebrew/Library/Homebrew |
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 CephClient < Formula | |
desc "Rados and RBD CLIs and libraries of the Ceph project" | |
homepage "https://ceph.com" | |
url "git@github.com:ceph/ceph.git", :using => :git, :tag => "v13.2.0" | |
sha256 "9469c2af0a997a27ddfced71cef3fd55483ab0e34cc36a07a46ccf0d886a2d91" | |
depends_on :python if MacOS.version <= :snow_leopard | |
depends_on :osxfuse | |
depends_on "openssl" => :build |
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
package main | |
import "fmt" | |
func fact(n int) int { | |
if n == 0 { | |
return 1 | |
} | |
return n * fact(n-1) | |
} | |
func main() { | |
fmt.Println(fact(7)) |
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
<string>af</string> | |
<string>ax</string> | |
<string>al</string> | |
<string>dz</string> | |
<string>as</string> | |
<string>ad</string> | |
<string>ao</string> | |
<string>ai</string> | |
<string>aq</string> | |
<string>ag</string> |
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
/// pgnString returns an NSString representing the entire game as PGN. | |
- (NSString *)pgnString { | |
NSMutableString *string = [NSMutableString stringWithCapacity: 2000]; | |
[string appendFormat: @"[Event \"%@\"]\n", event]; | |
[string appendFormat: @"[Site \"%@\"]\n", site]; | |
[string appendFormat: @"[Date \"%@\"]\n", date]; | |
[string appendFormat: @"[Round \"%@\"]\n", round]; | |
[string appendFormat: @"[White \"%@\"]\n", whitePlayer]; | |
[string appendFormat: @"[Black \"%@\"]\n", blackPlayer]; |
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
/// pgnString returns an NSString representing the entire game as PGN. | |
- (NSString *)pgnString { | |
NSMutableString *string = [NSMutableString stringWithCapacity: 2000]; | |
[string appendFormat: @"[Event \"%@\"]\n", event]; | |
[string appendFormat: @"[Site \"%@\"]\n", site]; | |
[string appendFormat: @"[Date \"%@\"]\n", date]; | |
[string appendFormat: @"[Round \"%@\"]\n", round]; | |
[string appendFormat: @"[White \"%@\"]\n", whitePlayer]; | |
[string appendFormat: @"[Black \"%@\"]\n", blackPlayer]; |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
In the header of the mailing list you have this line: | |
List | |
Unsubscribe:<mailto:sympa@lists.cacert.org?subject=unsubscribe%20cacert> | |
Then just click on the link or create a new message from your email | |
address to sympa@lists.cacert.org with in the subject:unsubscribe cacert |