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
@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,
@eddiejaoude
eddiejaoude / gist:fc9d406d991dbdd32453
Created January 15, 2015 13:05
Running tests in parallel
#!/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 / 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

@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 / git commands
Last active January 21, 2017 07:44
Git changelog
> git log --oneline --decorate --color --first-parent
@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
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 / xdebug
Last active June 3, 2016 09:35
Configuration
xdebug.var_display_max_data=2048
xdebug.var_display_max_depth=12
xdebug.var_display_max_children=512
xdebug.max_nesting_level=500
@eddiejaoude
eddiejaoude / README.md
Last active December 17, 2015 15:39
PHPUnit & Selenium Parallel Tests