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
#!/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,
@eddiejaoude
eddiejaoude / README.md
Last active February 22, 2024 13:32
Install Firefox addon/extension with no user interaction

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 / install.md
Created July 4, 2015 09:13
Brew: Virtualbox, Vagrant, Docker

Brew - virtualbox, vagrant, docker

install brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew add cask dependencies (tap)

brew install caskroom/cask/brew-cask

@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 / most-active-users-on-github-2015.md
Last active November 30, 2017 10:30
Most active users on GitHub 2015

This is the top 1000 users on GitHub

Where are you on here?

For the first 6 months of 2015 (Jan - June).

Query used on Google's BigQuery with GitHubArchive Data

SELECT actor.login as user, COUNT(*) as total FROM (
@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.