Skip to content

Instantly share code, notes, and snippets.

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

Ayman Nedjmeddine IOAyman

🏠
Working from home
View GitHub Profile
2017/04/11 20:10:38 [INFO] Terraform version: 0.9.2 6365269541c8e3150ebe638a5c555e1424071417+CHANGES
2017/04/11 20:10:38 [INFO] Go runtime version: go1.8
2017/04/11 20:10:38 [INFO] CLI args: []string{"/home/linuxer/compilethegoodness/terraform/terraform", "destroy", "-var-file", "infrasecrets.tfvars"}
2017/04/11 20:10:38 [DEBUG] Detected home directory from env var: /home/linuxer
2017/04/11 20:10:38 [DEBUG] Detected home directory from env var: /home/linuxer
2017/04/11 20:10:38 [DEBUG] Attempting to open CLI config file: /home/linuxer/.terraformrc
2017/04/11 20:10:38 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/11 20:10:38 [INFO] CLI command args: []string{"destroy", "-var-file", "infrasecrets.tfvars"}
2017/04/11 20:10:38 [DEBUG] Detected home directory from env var: /home/linuxer
2017/04/11 20:10:38 [DEBUG] command: loading backend config file: /home/linuxer/Desktop/KingRoyal/box
@IOAyman
IOAyman / readme.md
Last active December 11, 2017 04:58 — forked from maxrimue/readme.md
Use yarn with Greenkeeper

Use yarn with Greenkeeper

When using yarn, it will create a yarn.lock lockfile which holds data on your used dependencies. This file also includes hard-typed versions, so should you update your dependencies, the yarn.lock file is basically outdated and needs to be regenerated. While yarn does this automatically, Greenkeeper pull requests that update dependencies as of right now do not do this regeneration, which means you would have to do it manually.

This gist shows you a way how to automatise this step using a Travis CI script.

Prerequisites

  • You use Travis CI and have it build Pull Requests (default behaviour)
  • You have a yarn.lock file in your repository for Travis CI to automatically install yarn (yarn will be added to their default images soon)

Getting started

### Keybase proof
I hereby claim:
* I am ioayman on github.
* I am ioayman (https://keybase.io/ioayman) on keybase.
* I have a public key whose fingerprint is 9DD4 3831 F8B3 91DA D50C A306 FC1C 3E55 2DD1 CF5C
To claim this, I am signing this object:
@IOAyman
IOAyman / go.java
Created November 10, 2016 12:32
LLC
public class Main {
public static void main(String[] args) {
// Création de la liste
Liste l = new Liste();
// Construction des éléments
TMaillon three = new TMaillon(13, null);
TMaillon two = new TMaillon(12, three);
@IOAyman
IOAyman / installnode.sh
Last active August 4, 2016 16:07
install node
#!/usr/bin/env bash
export install_dir=$HOME/.bin/nodejs
cd
mkdir -p $HOME/.bin
pushd $HOME/.bin
curl -sSLo pkg.tar.xz https://nodejs.org/dist/v6.3.1/node-v6.3.1-linux-x64.tar.xz
tar xvf pkg.tar.xz
mv node-v6.3.1-linux-x64 $install_dir
popd
cat >> $HOME/.bashrc << EOC