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
Ideas, thoughts, discussion etc...
@eddiejaoude
eddiejaoude / error.md
Created October 9, 2015 12:15
Centos npm install mongodb error
sudo npm install -g mongodb
npm http GET https://registry.npmjs.org/mongodb
npm http 304 https://registry.npmjs.org/mongodb
npm http GET https://registry.npmjs.org/mongodb-core/1.2.14
npm http GET https://registry.npmjs.org/readable-stream/1.0.31
npm http GET https://registry.npmjs.org/es6-promise/2.1.1
npm http 304 https://registry.npmjs.org/mongodb-core/1.2.14
npm http 304 https://registry.npmjs.org/readable-stream/1.0.31
@eddiejaoude
eddiejaoude / README.md
Last active October 27, 2015 15:44
Service Naming Convention

Naming Convention

Example: AGS Storage Service

  • Repository Name should be full name AgsStorageService with Service appended because it will also build Libraries etc.
  • Bundle / Module should NOT have Service appended AgsStorage because these are all Services.
  • CI Job should be full name AgsStorageService with Service appended because it will also build Libraries etc.
  • Server / VM / Container should NOT have Service appended AgsStorage because these are all Services.
@eddiejaoude
eddiejaoude / 1. Notes
Last active October 7, 2015 01:08
Linux
This gist contains notes/snippets
@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

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 / 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