Refactor
:my
=>
'code'
Codes
Refactorings
Popular
Best
Submit
Spam
Account
Logout
Login
JavaScript doesn't seem to be activated, expect things to be ugly and sloppy!
More Jobs
Recent
Arrays, loops, strings...
Similar virtual attributes and their getters/setter
Check type is XML Serializable
Serena Collage slideshow
Shortest regular expression for matching a subdomain.
Caching Methods
Tab-Switching in jQuery
Apache log file sorting
How to find max, min of three numbers?
repeated code in rspec model test
Popular
Caching Methods
How to find max, min of three numbers?
Check type is XML Serializable
Similar virtual attributes and their getters/setter
Shortest regular expression for matching a subdomain.
Arrays, loops, strings...
Apache log file sorting
Tab-Switching in jQuery
Serena Collage slideshow
A simple factorial program.
Pastable version of
kill nginx master proces
<div style="overflow:auto;border:solid 1px #ccc;background:#000;color:#F8F8F8"> <div class="section"> <pre style="float:left;margin:0 10px;border-right:0;color:#666;">1</pre> <pre class="sunburst">ps ax <span style="color:#E28964;">|</span> grep <span style="color:#65B042;"><span style="color:#65B042;">"</span>nginx: master<span style="color:#65B042;">"</span></span> <span style="color:#E28964;">|</span> xargs -I % ruby -e <span style="color:#65B042;"><span style="color:#65B042;">'</span>exec "sudo kill #{"%".split(/\s/).first}"<span style="color:#65B042;">'</span></span> </pre> </div> </div> <a href="http://www.refactormycode.com/codes/338-kill-nginx-master-proces" style="color:#fff" title="As seen on RefactorMyCode.com"><img alt="Small_logo" src="http://www.refactormycode.com/images/small_logo.gif" style="border:0" /></a>