Skip to content

Instantly share code, notes, and snippets.

View s0undt3ch's full-sized avatar

Pedro Algarvio s0undt3ch

View GitHub Profile
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Salt Stack Master - Minion Test Setup $Rev: 001$",
"Parameters" : {
"KeyPairName" : {
"Description" : "EC2 Key Pair Name for SSH Access",
"Type" : "String"
}
ubuntu@ip-10-179-34-203:~$ wget --no-check-certificate -O - http://bootstrap.saltstack.org | sudo sh -s -- git develop
--2013-11-13 00:33:04-- http://bootstrap.saltstack.org/
Resolving bootstrap.saltstack.org (bootstrap.saltstack.org)... 74.208.29.198
Connecting to bootstrap.saltstack.org (bootstrap.saltstack.org)|74.208.29.198|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh [following]
--2013-11-13 00:33:04-- https://raw.github.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
Resolving raw.github.com (raw.github.com)... 199.27.78.133
Connecting to raw.github.com (raw.github.com)|199.27.78.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Setting up libidn11:amd64 (1.25-2) ...
Setting up wget (1.13.4-3) ...
/bin/sh: 1: \: not found
Error build: The command [/bin/sh -c apt-get update; apt-get install -y -o DPkg::Options::=--force-confold wget; \] returned a non-zero code: 127
The command [/bin/sh -c apt-get update; apt-get install -y -o DPkg::Options::=--force-confold wget; \] returned a non-zero code: 127
@s0undt3ch
s0undt3ch / cassandra.service
Created September 18, 2015 14:01
CentOS 7 Cassandra systemd service file
# /usr/lib/systemd/system/cassandra.service
[Unit]
Description=Cassandra
After=network.target
[Service]
PIDFile=/var/run/cassandra/cassandra.pid
User=cassandra
Group=cassandra
@s0undt3ch
s0undt3ch / plugins.txt
Created October 17, 2015 00:45
PyTest Plugins of interest
https://pypi.python.org/pypi/pytest-capturelog
https://pypi.python.org/pypi/pytest-catchlog
https://pypi.python.org/pypi/pytest-contextfixture
https://pypi.python.org/pypi/pytest-curl-report
https://bitbucket.org/pytest-dev/pytest-curl-report
https://github.com/splbio/pytest-doc ?
https://pypi.python.org/pypi/pytest-httpbin ( for requests done right )
https://pypi.python.org/pypi/pytest-instafail
https://pypi.python.org/pypi/pytest-raisesregexp
https://pypi.python.org/pypi/pytest-services

Keybase proof

I hereby claim:

  • I am s0undt3ch on github.
  • I am s0undt3ch (https://keybase.io/s0undt3ch) on keybase.
  • I have a public key ASAB3ycU2ZAKzmnNo8278CsjXOdTJjB2GVllcjpCXKr_DAo

To claim this, I am signing this object:

@s0undt3ch
s0undt3ch / openpgp.txt
Created January 22, 2017 01:34
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:d2908fb3a823b0fab3bd21f5bb36bf6584a298ff]
{
repository(owner:"buildbot", name:"buildbot") {
pullRequest(number: 3320) {
title
body
author {
login
}
commits(last: 100) {
totalCount
@s0undt3ch
s0undt3ch / echo.js
Last active September 20, 2017 13:28 — forked from whiteinge/echo.js
Verbose node.js websocket logging server
/**
* npm install express
* npm install console-stamp
*
* To run:
* node echo.js
*/
const express = require('express');
const http = require('http');
codecov:
token: uuid # Your private repository token
url: "http" # for Codecov Enterprise customers
slug: "owner/repo" # for Codecov Enterprise customers
branch: master # override the default branch
bot: username # set user whom will be the consumer of oauth requests
ci: # Custom CI domains if Codecov does not identify them automatically
- ci.domain.com
- !provider # ignore these providers when checking if CI passed
# ex. You may test on Travis, Circle, and AppVeyor, but only need