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:
I hereby claim:
To claim this, I am signing this object:
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/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='' |
| #!/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' |