Skip to content

Instantly share code, notes, and snippets.

View eddiejaoude's full-sized avatar
🤓
Helping you get into Open Source to accelerate your career

Eddie Jaoude eddiejaoude

🤓
Helping you get into Open Source to accelerate your career
View GitHub Profile
Reading ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Reading ./composer.lock
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Reading ./composer.lock
- Installing zendframework/zend-serializer (2.2.6)
Downloading https://api.github.com/repos/zendframework/Component_ZendSerializer/zipball/d76b931d3ffa842a496c9fa319bbe285b5ddfade
Downloading: connection...Failed to download zendframework/zend-serializer from dist: The 'https://api.github.com/repos/zendframework/Component_ZendSerializer/zipball/d76b931d3ffa842a496c9fa319bbe285b5ddfade' URL required authentication.
@eddiejaoude
eddiejaoude / jenkins-cli
Last active August 29, 2015 13:57
Jenkins CLI available commands for version 1.5+ with example config
$ jenkins-cli -s http://localhost:8080
build
Builds a job, and optionally waits until its completion.
cancel-quiet-down
Cancel the effect of the "quiet-down" command.
clear-queue
Clears the build queue
connect-node
Reconnect to a node
@eddiejaoude
eddiejaoude / vim.md
Created October 6, 2014 15:38
Vim config

~/.vimrc

set number
set ignorecase
set hlsearch
set showmatch
syntax enable
set incsearch
@eddiejaoude
eddiejaoude / gittrack.md
Created October 15, 2014 08:02
Git do not track modified files

Add file to git, but do not track modifications

git update-index --assume-unchanged FILENAME

git update-index --no-assume-unchanged

#!/usr/bin/env bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
@eddiejaoude
eddiejaoude / gist:fc9d406d991dbdd32453
Created January 15, 2015 13:05
Running tests in parallel
@eddiejaoude
eddiejaoude / example.md
Last active August 29, 2015 14:17
Geo location on ElasticSearch

The following json data, mapping & agg request in ElasticSearch returns no results, but it should?

// ...
"_source":{
   "data":{
      "created_on": "2015-03-18T15:29:27",
      "county": "Halton",
      "region": "North West",
 "population": 125700,

Digital Ocean Dokku App v0.3.16

Push works with branch but gets an error with a tag (however, still deploys)

Error

error: Trying to write non-commit object 9f0cebfd408ce17d0b7bc203e182def9f4e99fc9 to branch refs/heads/master
To dokku@alpha.dashboardhub:ci
 ! [remote rejected] build-develop-330 -> master (failed to write)
@eddiejaoude
eddiejaoude / readme.md
Last active August 29, 2015 14:24
Mac vagrant up asks for sudo password

tested on

Mac, vagrant, ansible, ubuntu, docker


Adding the following to sudoers

Note: make sure you remove/comment out the original %admin ... line

@eddiejaoude
eddiejaoude / 1. Notes
Last active October 7, 2015 01:08
Linux
This gist contains notes/snippets