Skip to content

Instantly share code, notes, and snippets.

Raul E Rangel ismell

Block or report user

Report or block ismell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ismell / circle.yml
Created May 8, 2014
Precompile and cache rails assets on CircleCI
View circle.yml
# Compute the assets once and cache them
- bundle exec rake assets:precompile assets:clean_expired:
- "public/assets"
ismell / dscr.asm
Last active Aug 29, 2015
CyAPI Corruption Issue
View dscr.asm
;; File: dscr.a51
;; Contents: This file contains descriptor data tables.
;; $Archive: /USB/Examples/Fx2lp/bulkloop/dscr.a51 $
;; $Date: 9/01/03 8:51p $
;; $Revision: 3 $
ismell / nginx.conf
Last active Aug 29, 2015
NGiNX SSL Proxy config
View nginx.conf
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/;
ismell / maplebus.js
Created Feb 22, 2014
ScanaStudio 2 Maple Bus decoder
View maplebus.js
/* jshint loopfunc: true, undef: true, unused: false, strict: false */
/* global ch_sdcka, ch_sdckb, dec_item_add_post_text, dec_item_add_comment, hex_add_byte, dark_colors, pkt_start, pkt_end, pkt_add_item, trs_go_before, dec_item_add_data, sample_val, ui_clear, ui_add_ch_selector, dec_item_add_sample_point, DRAW_0, DRAW_1, clear_dec_items, dec_item_new, dec_item_add_pre_text, get_ui_vals, add_to_err_log, trs_get_first, trs_is_not_last, abort_requested, trs_get_next, debug, trs_go_after, sample_rate, get_ch_color */
The following commented block allows some related informations to be displayed online
ismell /
Last active Jul 18, 2019 — forked from anonymous/
Scripts to re-create the docker0 bridge and setup a different ip subnet
#!/bin/bash -e
if [[ ! ip link show docker0 ]]; then
ip link add docker0 type bridge
ip addr add "$IFADDR" dev docker0
ip link set docker0 up
iptables -t nat -A POSTROUTING -s "$IFADDR" ! -d "$IFADDR" -j MASQUERADE
ismell /
Last active Jul 20, 2018
Ubuntu Upstart Script for Team City

Ubuntu Upstart Script for Team City

  1. Install TeamCity.conf and TeamCityAgent.conf in /etc/init/

  2. Create TeamCity in /etc/default/TeamCity

  3. Make sure TEAMCITY_DATA_PATH and TEAMCITY_SERVER_PATH are owned by www-data

  4. Start TeamCity

     sudo service TeamCity start
ismell /
Last active Sep 10, 2016
Docker Ubuntu upstart scripts

Production Ready Process Monitoring

  1. Install docker-manger.conf and docker-instance.conf in /etc/init

  2. Create a containers file in /etc/docker/ with the following format

     name: image cmd

    The name must be unique.

  3. sudo service docker-manager start

ismell / docker-registry.log
Last active Dec 21, 2015
docker-registry debug logs
View docker-registry.log
2013-08-15 18:06:45,908 DEBUG: check_session: Session is empty
2013-08-15 18:06:45,908 DEBUG: api_error: Image is being uploaded, retry later
2013-08-15 18:06:46,127 DEBUG: check_session: Session is empty
2013-08-15 18:06:51,862 DEBUG: check_session: Session is empty
2013-08-15 18:06:51,906 DEBUG: put_image_layer: Error when computing checksum file could not be opened successfully
2013-08-15 18:06:51,906 DEBUG: Writing Stream to images/e9aa60c60128cad1/layer
2013-08-15 18:06:51,911 DEBUG: Wrote Stream to images/e9aa60c60128cad1/layer
2013-08-15 18:06:51,912 DEBUG: Getting image checksum at images/e9aa60c60128cad1/_checksum
2013-08-15 18:06:51,912 DEBUG: Got checksum sha256:42cda75d80ad4acff590a2b872588bf159ffc67fd3d594825e1c765d6e2e6be3
2013-08-15 18:06:51,912 DEBUG: Comparing to calculated checksums: ['sha256:5f86f088a51ebfd114a34e44aa0eb7af478803ef2e8df8f7d156a3e4640df298']
ismell / Log
Last active Dec 20, 2015
Nginx not implemented error using 1.5.3
View Log
2013/08/02 17:01:11 [warn] 26#0: *7 a client request body is buffered to a temporary file /var/lib/nginx/client_body_temp/0000000001, client:, server: , request: "POST /tenants/cwstest/stunts/51fbe5d696bb27002d000001/uploads/51fbe5d796bb27002d000002/encrypt HTTP/1.1", host: "localhost:49172"
2013/08/02 17:01:11 [crit] 26#0: *7 writev() "/var/lib/nginx/client_body_temp/0000000001" failed (38: Function not implemented), client:, server: , request: "POST /tenants/cwstest/stunts/51fbe5d696bb27002d000001/uploads/51fbe5d796bb27002d000002/encrypt HTTP/1.1", host: "localhost:49172"
ismell / Dockerfile
Created Jul 10, 2013
Installing ruby into a Docker image
View Dockerfile
FROM cws/base:2013-07-01
MAINTAINER Raul E. Rangel ""
# Download the ruby-build code
RUN \curl -L | tar -zxvf - -C /tmp/
# Install ruby-build
RUN cd /tmp/ruby-build-* && ./ && cd / && rm -rfv /tmp/ruby-build-master
# Install ruby
You can’t perform that action at this time.