I hereby claim:
- I am glasnt on github.
- I am glasnt_ (https://keybase.io/glasnt_) on keybase.
- I have a public key whose fingerprint is CF58 E858 6DC8 B4AD F1E9 322E 7149 57F8 48E5 B597
To claim this, I am signing this object:
| #! /bin/bash -e | |
| BUCKET="mabucket" | |
| PASTE="paste" | |
| if [ $# -eq 0 ]; then echo "Usage: $0 filename, or -l for list"; exit 1;fi | |
| if [ $1 = "-l" ]; then s3cmd ls s3://$BUCKET/$PASTE/; exit 0; fi | |
| FILENAME=`date +"%s"` | |
| cp $1 /tmp/$FILENAME.txt |
| <!doctype html> | |
| <script src="https://code.shutterstock.com/rickshaw/vendor/d3.v2.js"></script> | |
| <script src="https://code.shutterstock.com/rickshaw/rickshaw.min.js"></script> | |
| <div id="chart"></div> | |
| <script> | |
| // Return an xinterp function for a given graph | |
| function xinterp_on_graph(graph) { |
| MARKDOWNS=$(wildcard *.md) | |
| PDFS=$(MARKDOWNS:md=pdf) | |
| all: $(PDFS) | |
| clean: | |
| rm -f $(PDFS) | |
| %.pdf: %.md | |
| pandoc -V geometry:margin=1in -V papersize:"a4paper" --toc $< -o $@ |
| FROM debian:wheezy | |
| RUN apt-get update && apt-get install -y wget | |
| # Loud and noisy | |
| RUN wget google.com | |
| # Quiet | |
| RUN wget google.com -q |
I hereby claim:
To claim this, I am signing this object:
Rubocop doesn't appear to be correcting spaces within braces denoting variables within strings.
Attempting an automatic correction does not fix this.
Running the auto-gen-correct command does not suggest any configurations to correct this.
| # Super basic implementation of the octohat concept, but in ruby. | |
| # It most probably is missing some elements. | |
| require 'octokit' | |
| access_token = ENV["GITHUB_TOKEN"] | |
| repo = ARGV[0] | |
| client = Octokit::Client.new(:access_token => access_token) | |
| Octokit.auto_paginate = true |
| # Based on : https://groups.google.com/d/msg/sage-devel/1lIJ961gV_w/y-2uqPCyzUMJ | |
| import os | |
| def ncpus(): | |
| #for Linux, Unix and MacOS | |
| if hasattr(os, "sysconf"): | |
| if "SC_NPROCESSORS_ONLN" in os.sysconf_names: | |
| #Linux and Unix | |
| ncpus = os.sysconf("SC_NPROCESSORS_ONLN") | |
| if isinstance(ncpus, int) and ncpus > 0: | |
| return ncpus |
| <div style="font-family: Monaco"> | |
| Monaco<br> | |
| <table><tr><td>▁ ▂ ▃ ▅ ▆ ▇</td><td>▁▂▃▅▆▇</td></tr> | |
| <tr><td>▁▂▃▄▅▆▇█</td><td>▁▂▃▄▅▆▇█</td></tr></table> | |
| </div> | |
| <div style="font-family: Menlo"> | |
| Menlo | |
| <table><tr><td>▁ ▂ ▃ ▅ ▆ ▇</td><td>▁▂▃▅▆▇</td></tr> |