I hereby claim:
- I am kubicek on github.
- I am kubicek (https://keybase.io/kubicek) on keybase.
- I have a public key whose fingerprint is 85B9 D2F7 0302 D4F8 3C31 625B 62DF B4E6 38F4 5BDB
To claim this, I am signing this object:
| FROM ruby:3 | |
| # based on https://github.com/timbru31/docker-ruby-node/blob/master/3.1/16/Dockerfile | |
| RUN curl -sL https://deb.nodesource.com/setup_17.x | bash -\ | |
| && apt-get update -qq && apt-get install -qq --no-install-recommends \ | |
| postgresql-client nodejs redis-tools \ | |
| && apt-get upgrade -qq \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/*\ | |
| && npm install -g yarn |
| pkg install vm-bhyve | |
| zfs create zroot/vm | |
| mkdir /var/vm | |
| zfs set mountpoint=/var/vm zroot/vm | |
| sysrc vm_enable=YES | |
| sysrc vm_dir=zfs:zroot/vm | |
| sysrc vm_list=debian |
| require 'net/https' | |
| require 'json' | |
| auth={ | |
| email: 'mujmail', | |
| password: 'mojeheslo' | |
| } | |
| http = Net::HTTP.new('admin.vshosting.cloud', 443) | |
| http.use_ssl = true |
I hereby claim:
To claim this, I am signing this object:
| datum;darce;penize;bup;popis_bup;poznamka;jmeno;prijmeni;titul_pred;titul_za;narozeni;ic;firma;ulice;psc;obec | |
| <%- @donations=Donation.where("received_on > ? AND received_on < ?","#{params[:year].to_i-1}-12-31", "#{params[:year].to_i+1}-01-01") -%> | |
| <%- @donations.where(donor_type: 'juristic').order(created_at: :desc).each do |d| -%> | |
| <%= [l(d.received_on).gsub(/ /,''),'P',d.amount,0,'','','','','','','',d.ic,d.name,d.street,d.zip.gsub(/ /,''),d.city.strip].join(';') %> | |
| <%- end -%> | |
| <%- @donations.where.not(donor_type: 'juristic').order(created_at: :desc).each do |d| -%> | |
| <%- jmeno, prijmeni = d.name.match(/(([Ii]ng|[Bb]c|M[UV]Dr|Mgr|PharmDr)\.? *)*(.*)/)[3].gsub(/, (MBA|DiS|Ph.?D|CSc|MUDr).?/,'').gsub(/;/,'').split(' ',2) -%> | |
| <%- if d.date_of_birth<Date.parse('2001-01-01') -%> | |
| <%= [l(d.received_on).gsub(/ /,''),'F',d.amount,0,'','',jmeno,prijmeni,'','',l(d.date_of_birth).gsub(/ /,''),'','',d.street,d.zip.gsub(/ /,''),d.city.strip].join(';') %> | |
| <%- end -%> |
| Pověření | |
| osoby k provedení delegování členů a náhradníků | |
| do okrskových volebních komisí | |
| Já, níže podepsaný předseda politické strany Strana svobodných občanů | |
| Ing. Tomáš Pajonk | |
| nar. 11.8.1981, trvalý pobyt Veselá 52, 756 51 Zašová | |
| tímto pověřuji |
| words = %w(acer acre mongol mognol mogul zigul arec reac guliz) | |
| letters = words.collect{|w| w.scan(/\w/).sort } | |
| words.collect.with_index{|w,i| | |
| positions = letters.collect.with_index{|l,i| i if l==letters[words.index(w)]}.compact | |
| puts "#{w}: #{positions.collect{|pi| words[pi] unless i==pi}.compact.join(', ')}" | |
| } |
| require 'sinatra' | |
| require 'rugged' | |
| require 'pandoc-ruby' | |
| require 'yaml' | |
| set :port, ENV["PORT"] || 5000 | |
| before do | |
| @repo = Rugged::Repository.new('.') |
| require 'rest-client' | |
| require 'json' | |
| data = RestClient::Request.execute( | |
| method: :get, | |
| url: 'https://www.bitcoinpay.com/api/v1/transaction-history/', | |
| headers: {Authorization: 'Token nastoken'} | |
| ) | |
| transactions = JSON.parse(data)['data'] |
| $:.unshift File.dirname(__FILE__) | |
| require 'savon' | |
| require 'base64' | |
| module Savon | |
| class Response | |
| def xml | |
| @http.body.split("\r\n\r\n")[1].split("--uuid:")[0] | |
| end | |
| end |