Skip to content

Instantly share code, notes, and snippets.

View crainte's full-sized avatar
🏠
Working from home

crainte

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@crainte
crainte / Jenkinsfile
Created October 26, 2017 22:12 — forked from jonico/Jenkinsfile
Example for a full blown Jenkins pipeline script with multiple stages, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, stage timeouts, stage concurrency constraints, ...
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
/*
Please make sure to add the following environment variables:
HEROKU_PREVIEW=<your heroku preview app>
HEROKU_PREPRODUCTION=<your heroku pre-production app>
HEROKU_PRODUCTION=<your heroku production app>
@crainte
crainte / build_mysql.sh
Created May 25, 2017 17:29 — forked from shichao-an/build_mysql.sh
Build and install MySQL 5.1 from source on Ubuntu 14.04
#!/bin/bash
# Run as root
set -e
apt-get update
apt-get install -y build-essential
apt-get install -y libncurses5-dev
useradd mysql
@crainte
crainte / reclaimWindows10.ps1
Created January 7, 2017 21:06 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
connect_timeout = 15
wait_timeout = 120