Skip to content

Instantly share code, notes, and snippets.

View Chili-Man's full-sized avatar
💭
🌶️

Diego Rodriguez Chili-Man

💭
🌶️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am Chili-Man on github.
  • I am habanero (https://keybase.io/habanero) on keybase.
  • I have a public key whose fingerprint is 099E 3F97 FA08 3D47 8C75 EBEC E0EB AD78 F019 0BD9

To claim this, I am signing this object:

@Chili-Man
Chili-Man / bundler.log
Created June 1, 2015 22:32
bundler broken
$ bundle install --deployment --local --path=vendor/bundle
--- ERROR REPORT TEMPLATE -------------------------------------------------------
- What did you do?
I ran the command `/opt/rbenv/versions/2.1.6/bin/bundle install --deployment --local --path=vendor/bundle`
- What did you expect to happen?
I expected Bundler to install gems
@Chili-Man
Chili-Man / chef_run.txt
Created October 7, 2014 17:33
postgresql 3.4.8 instrumented
[2014-10-07T16:40:45+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.14.6
[2014-10-07T16:40:45+00:00] INFO: *** Chef 11.14.6 ***
[2014-10-07T16:40:45+00:00] INFO: Chef-client pid: 24306
[2014-10-07T16:40:51+00:00] INFO: Setting the run_list to ["role[local-full-stack]"] from CLI options
[2014-10-07T16:40:52+00:00] INFO: Run List is [role[local-full-stack]]
[2014-10-07T16:40:52+00:00] INFO: Run List expands to [og-dev-stack]
[2014-10-07T16:40:52+00:00] INFO: Starting Chef Run for staging-habanero-og-dev-stack-20141007-000
[2014-10-07T16:40:52+00:00] INFO: Running start handlers
[2014-10-07T16:40:52+00:00] INFO: Start handlers complete.
@Chili-Man
Chili-Man / gist:34b15891c12411a7c381
Last active August 29, 2015 14:07
postgresql cookbook 3.4.8 error when setting work_mem = 1
==> default: [2014-10-07T02:01:06+00:00] INFO: Forking chef instance to converge...
==> default: [2014-10-07T02:01:06+00:00] INFO: *** Chef 11.14.6 ***
==> default: [2014-10-07T02:01:06+00:00] INFO: Chef-client pid: 4859
==> default: [2014-10-07T02:01:13+00:00] INFO: Setting the run_list to ["role[local-full-stack]"] from CLI options
==> default: [2014-10-07T02:01:13+00:00] INFO: Run List is [role[local-full-stack]]
==> default: [2014-10-07T02:01:13+00:00] INFO: Run List expands to [og-dev-stack]
==> default: [2014-10-07T02:01:13+00:00] INFO: Starting Chef Run for og-dev-stack-server
==> default: [2014-10-07T02:01:13+00:00] INFO: Running start handlers
==> default: [2014-10-07T02:01:13+00:00] INFO: Start handlers complete.
==> default: [2014-10-07T02:01:35+00:00] INFO: WindowsPackage lightweight resource already initialized -- overriding!
@Chili-Man
Chili-Man / run_berks_api.sh
Created August 22, 2014 06:31
Installs Berkshelf API with RVM and bash. You should source the file
#!/bin/bash --login
# Installs Berks API, assuming you use rvm.
export BAPI_GEMSET='berks-api'
export BAPI_VERSION='2.1.0'
export GOD_VERSION='0.13.4'
export GOD_FILE_URL='https://gist.githubusercontent.com/Chili-Man/7191c5ba846f95a93759/raw/12d071029ee2562057204d6565475895abf171b0/BerkshelAPI.god.rb'
export GOD_FILE_PATH='BerkshelfAPI.god.rb'
export GOD_LOG_PATH='god.log'
export GOD_BAPI_PROC_NAME='BerkshelfAPI'
@Chili-Man
Chili-Man / .bash_chefdk
Last active August 29, 2015 14:04
Auto Load ChefDK when in a Chef cookbook directory (when a .chedk file is present). You only need one of the files depending on the shell you use.
# For BASH users
# If you use BASH as your main shell, then add these lines to the end our source from a seperate file.
# It will make it so it loads the ChefDK automatically when you enter the chef cookbook directory or
# directory whose ancestor is a cookbook directory and unload the ChefDK when you leave the cookbook directory.
# If you want to force load the ChefDK environment you should:
# load_chefdk 1
#
# Then to force unload:
# unload_chefdk 1
@Chili-Man
Chili-Man / hanging curl
Created April 28, 2014 21:18
RVM install from chef-rvm cookbook, hanging
$ curl -v --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/1.25.24.tar.gz -o rvm-1.25.24.tgz
* Adding handle: conn: 0x19cdb40
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x19cdb40) send_pipe: 1, recv_pipe: 0
* About to connect() to github.com port 443 (#0)
* Trying 192.30.252.129...
* Connected to github.com (192.30.252.129) port 443 (#0)
* successfully set certificate verify locations:
@Chili-Man
Chili-Man / non-hanging curl
Created April 28, 2014 21:17
RVM install from chef-rvm cookbook, non-hanging
$ curl -v --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2 --retry 3 -sS https://github.com/wayneeseguin/rvm/archive/1.25.24.tar.gz -o rvm-1.25.24.tgz
* Adding handle: conn: 0xf40b40
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0xf40b40) send_pipe: 1, recv_pipe: 0
* About to connect() to github.com port 443 (#0)
* Trying 192.30.252.129...
* Connected to github.com (192.30.252.129) port 443 (#0)
* successfully set certificate verify locations: