Skip to content

Instantly share code, notes, and snippets.

View steimntz's full-sized avatar

Steimntz Machado de Figueiredo steimntz

  • Tribunal de Justiça do Estado de Rondônia
  • Porto Velho - RO
View GitHub Profile
@Dnomyar
Dnomyar / .Xdefaults
Last active April 16, 2022 20:12
My XMonad (xmobar : battery, cpu, memory, volume, time) - ArchLinux
Xcursor.theme: Vanilla-DMZ-AA
!urxvt color scheme:
URxvt*background: #2B2B2B
URxvt*foreground: #DEDEDE
!URxvt*colorUL: #86a2b0
! black
@legege
legege / jenkins-job-dsl.groovy
Last active September 25, 2018 16:53 — forked from stuartstevenson/jenkins-job-dsl.groovy
Jenkins Job DSL with distributed job config files on GitLab. The seed.groovy file scans GitLab for all your projects for .jenkins-ci.groovy files and runs them centrally.
mavenJob("${name}") {
goals('clean install findbugs:findbugs pmd:pmd cobertura:cobertura')
logRotator {
numToKeep(5)
artifactNumToKeep(1)
}
scm {
git {
@marcelbirkner
marcelbirkner / ciSeedJob.groovy
Last active October 21, 2022 13:55
Jenkins Job DSL Seed Job for Continuous Integration Jobs
import groovy.sql.Sql
import java.util.Date
import java.text.SimpleDateFormat
/*
* THIS IS AN EXAMPLE SNIPPET. FOR MORE DETAILS SEE THE FOLLOWING BLOG ARTICLE:
* https://blog.codecentric.de/en/?p=30502
*
* This Jenkins Job DSL Groovy Script creates Continuous Integration (CI) Jobs
* for all Maven & Ant projects that exist on a GitLab Server.
@pescobar
pescobar / build-git.sh
Created October 5, 2015 07:14
compile git with openssl instead of gnutls
#!/usr/bin/env bash
# Clear out all previous attempts
rm -rf "/tmp/source-git/"
# Get the dependencies for git, then get openssl
sudo apt-get install build-essential fakeroot dpkg-dev -y
sudo apt-get build-dep git -y
sudo apt-get install libcurl4-openssl-dev -y
mkdir -p "/tmp/source-git/"
@so0k
so0k / kubectl.md
Last active September 11, 2024 08:36
Playing with kubectl output

Kubectl output options

Let's look at some basic kubectl output options.

Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).

We can start with:

kubectl get no
@alyssonbruno
alyssonbruno / incluir_arquivo.php
Created July 5, 2017 22:29
Inclui um arquivo num processo SEI
define("ID_UNIDADE", "999"); //id da unidade onde o processo está
define("ID_SERIE", "50070"); //Tipo do documento que irá ser incluído, deve ser um tipo externo
define("SISTEMA, "meuSistemaNoSei'");//Nome do Sistema no menu Adminsitração/ Sistema
define("SERVICO", "servicoDoMeuSistema"); //Nome do Serviço dentro do Sistema
function inclui_evidencia_sei($cpf,$nome,$protocolo,$nome_arquivo,$arquivo){
$DocumentoRecebido = array();
$DocumentoRecebido['Tipo'] = 'R';
$DocumentoRecebido['Destinatarios'] = null;
$DocumentoRecebido['Interessados'] = array(array('Sigla' => $cpf, 'Nome' => $nome));
$DocumentoRecebido['Data'] = "" . date("d/m/Y");