I hereby claim:
- I am Pablo-Merino on github.
- I am pablo (https://keybase.io/pablo) on keybase.
- I have a public key whose fingerprint is E8D6 3414 62DE 6F74 BA31 D1E1 5F3F 9E86 9E07 6C4A
To claim this, I am signing this object:
| { | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: hello-deployment | |
| namespace: default | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: hello-deployment |
| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <jess@linux.com> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: |
| ### Keybase proof | |
| I hereby claim: | |
| * I am pablo-merino on github. | |
| * I am pablo (https://keybase.io/pablo) on keybase. | |
| * I have a public key ASA-nyknW3oIa-dY748tRkTJxd_tEYPHpCSoPcFiSIbOuAo | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
| function MiniTemplateEngine(base, replaceables) { | |
| Object.keys(replaceables).forEach(function (key) { | |
| var value = replaceables[key]; | |
| base = base.replace(new RegExp('{{' + key+ '}}', 'gi'), value); | |
| }); | |
| return base; | |
| } |
| def str(i) | |
| (0...i).map { ((1..255).to_a.map { |i| i.chr(Encoding::UTF_8) unless i == " " }).sample }.join | |
| end |
| require 'ruby-progressbar' | |
| files = (1..10).to_a | |
| dir = "./" # DIRECTORY WHERE THE PDFS ARE KEPT (the PDFs have to be named pdf-#.pdf) | |
| progressbar = ProgressBar.create(:format => '%a %bᗧ%i %p%% %t', :progress_mark => ' ', :remainder_mark => '・', :starting_at => 0, :total => 21) | |
| files.each do |i| | |
| `pdf2ps pdf-#{i}.pdf pdf-#{i}.ps` | |
| progressbar.increment | |
| `ps2pdf pdf-#{i}.ps pdf-compressed-#{i}.pdf` |
| class Summarizer | |
| def initialize(text) | |
| @text = text | |
| end | |
| def summarize | |
| summary = [] | |