Skip to content

Instantly share code, notes, and snippets.


Skye Shaw sshaw

View GitHub Profile
View rusage.rb
require 'get_process_mem'
require 'rusage' # gem install rusage
require 'benchmark'
n = 2000
gpm = do |x|"status:") { n.times do gpm.linux_status_memory end }
# In sshaw version
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Slack Message to Emoji</title>
<script src="slack.js"></script>
h1 {
text-align: center;
You can’t perform that action at this time.