Skip to content

Instantly share code, notes, and snippets.

View rodesousa's full-sized avatar

rodesousa rodesousa

  • Kapelal
  • Paris
View GitHub Profile
@rodesousa
rodesousa / .go
Last active December 20, 2017 11:37
out, err := exec.Command("dateee").Output()
if err != nil {
log.Fatal(err)
}
fmt.Printf("The date is %s\n", out)
out, err := exec.Command("/bin/sh", "-c", "vault list secret").Output()
if err != nil {
log.Fatal(err)
}
group 'fr.baruch'
version '1.0-SNAPSHOT'
buildscript {
ext.kotlin_version = '1.1.3'
repositories {
mavenCentral()
}
dependencies {
  • PO donne les prios dans le backlog mais on peut en disucter avec l'équipe
  • Le PO ne fait que des user story et pas de taches
<!-- $theme: gaia -->
<!-- page_number: true -->
<!-- template: invert -->
![150% center](ul.png)
@rodesousa
rodesousa / 0_reuse_code.js
Created November 2, 2016 11:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
{
    "builders":[{
        "type": "docker",
        "image": "ubuntu",
        "export_path": "image.tar"
    }],
    "provisioners":[
        {
 "type": "shell",
@rodesousa
rodesousa / __readme.md
Created October 25, 2016 12:49 — forked from maxivak/__readme.md
Building Docker image with Packer and provisioning with Ansible

Building Docker image with Packer and provisioning with Ansible

Overview

Packer

  • Packer is used to build image from a base image, perform provisions and store (commit) the final image.

  • We use provisioners and Packer templates to do the actual work to create the final image.

  • We use Ansible for provisioning.

JENKINS_HOST=admin:ritmxadmin@localhost:8081 curl -sSL "http://$JENKINS_HOST/pluginManager/api/xml?depth=1&xpath=///shortName|///version&wrapper=plugins" | perl -pe 's/.?([\w-]+).?([^&lt;]+)()(</\w+>)+/\1 \2\n/g'|sed 's/ /:/'

@rodesousa
rodesousa / min_alias
Last active November 2, 2016 14:46
min_alias
#alias
alias l='ls -l'
alias la='ls -la'
alias rtl='ls -rtl'
alias vi='vim'
alias ..='cd ..'
#json
alias fjson='python -m json.tool'