Skip to content

Instantly share code, notes, and snippets.

View aramisf's full-sized avatar

Aramis Fernandes aramisf

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aramisf on github.
  • I am aramisf (https://keybase.io/aramisf) on keybase.
  • I have a public key ASAipG-3nrlhf98ptJmIoTt3iOoQGXjW-TgMgDtMLnVCUwo

To claim this, I am signing this object:

@aramisf
aramisf / 18o_encontro_locaweb.md
Last active May 25, 2016 17:46
18o Encontro LocaWeb

Éverton Ribeiro | Azuki

azk - Do GitHub ao deploy em poucos comandos

  • Perdi o começo da palestra. Me senti um pouco perdido até entender que ele estava apresentando uma ferramenta que facilita todo o processo de deploy de uma aplicação
  • Não gostei muito da apresentação, mas fiquei com uma impressão boa sobre a ferramenta. Depois de olhar minhas anotações e ler um pouco mais, fiquei com uma impressão ainda melhor
  • Alguns links interessantes:
@aramisf
aramisf / introrx.md
Created October 4, 2015 11:37 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@aramisf
aramisf / psgrep.sh
Last active August 29, 2015 14:19 — forked from eddy85br/psgrep.sh
#!/bin/bash
################################################################################
## Similar to run: ps aux | grep "RegExp" ##
## Script that receives a list o keywords and search then in "ps aux" command ##
## and returns ps's header and processes that where found with keywords. ##
## Accepts grep options, like '-c' to count number of matched processes. ##
################################################################################
options=''
@aramisf
aramisf / swapgrep.sh
Last active August 29, 2015 14:19 — forked from eddy85br/swapgrep.sh
#!/bin/bash
# Get current swap usage for all running processes
# Erik Ljungstrom 27/05/2011
#
## Adapted by Jhonatan Piffer Siqueira and Eduardo Lemons Francisco (eddy85br).
OVERALL=0
PROGLIST=$(ps axw -o pid,args --no-headers)
while read PID ARGS; do
# /test/integration/subscribe_to_plan_test.rb
# rails 4.2.0
class SubscribeToPlanTest < ActionDispatch::IntegrationTest
def setup
@user = users(:user1)
@plan = plans(:plan)
@url = 'https://www.sandbox.paypal.com/cgi-bin/webscr'
@cmd = 'cmd=_express-checkout'
@token = 'token=EC-'
@user_action = 'useraction=commit'