Skip to content

Instantly share code, notes, and snippets.

Carlos Adrian Gomez cagmz

Block or report user

Report or block cagmz

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
cagmz / bench_rails_memory_usage.rb
Created Sep 10, 2019 — forked from brianhempel/bench_rails_memory_usage.rb
A script to test the memory usage of your Rails application over time. It will run 30 requests against the specified action and report the final RSS. Choose the URL to hit on line 45 and then run with `ruby bench_rails_memory_usage.rb`.
View bench_rails_memory_usage.rb
require "net/http"
def start_server
# Remove the X to enable the parameters for tuning.
# These are the default values as of Ruby 2.2.0.
@child = spawn(<<-EOC.split.join(" "))
cagmz / time_series.html
Last active Sep 21, 2017
Time Series graph using moment.js, D3, nvd3, anuglar-nvd3, and Angular.
View time_series.html
<!-- See the pen at -->
<script src=""></script>
<script src=""></script>
<script src=""></script>
<link rel="stylesheet" type="text/css" href="">
<script src=""></script>
<script src=""></script>
# Edu-related packages
debian-reference-en dillo x2x
scratch nuscratch
smartsim penguinspuzzle
cagmz / dropbox
Last active Apr 5, 2016 — forked from benhedrington/dropbox
Dropbox init.d
View dropbox
# dropbox service
# Replace with linux users you want to run Dropbox clients for
DROPBOX_USERS="user1 user2"
start() {
echo "Starting dropbox..."
for dbuser in $DROPBOX_USERS; do
You can’t perform that action at this time.