I hereby claim:
- I am zaid on github.
- I am zaid (https://keybase.io/zaid) on keybase.
- I have a public key whose fingerprint is ED37 5737 FF32 FEEE 4470 412A A120 9D80 4301 70B4
To claim this, I am signing this object:
{ | |
"lib/*.ex": { | |
"alternate": "test/{}_test.exs", | |
"type": "source" | |
}, | |
"test/*_test.exs": { | |
"alternate": "lib/{}.ex", | |
"make": "mix test {file}", | |
"type": "test" | |
}, |
require 'rmagick' | |
def jpgs_to_pdfs(path) | |
Dir.glob(File.join(path, '*.{jpg,jpeg,tif,tiff,png}')).each do |file_path| | |
next unless File.basename(file_path) =~ /\d+[a-z]*_\d+/i | |
next if File.basename(file_path) =~ /cheque/i | |
destination_path = "/home/zaid/Downloads/CMS\ PDFs" | |
destination_filename = "SUP#{File.basename(file_path).match(/\d+[a-z]*/i)[0]}.pdf" | |
destination_filepath = File.join(destination_path, destination_filename) |
require 'pdfkit' | |
require 'nokogiri' | |
require 'charlock_holmes' | |
PDFKit.configure do |config| | |
config.default_options[:load_error_handling] = 'ignore' | |
config.default_options[:load_media_error_handling] = 'ignore' | |
config.default_options[:disable_javascript] = true | |
end |
require 'mapi/msg' | |
require 'fileutils' | |
require 'pdfkit' | |
require 'nokogiri' | |
PDFKit.configure do |config| | |
config.default_options[:load_error_handling] = 'ignore' | |
config.default_options[:load_media_error_handling] = 'ignore' | |
config.default_options[:disable_javascript] = true | |
end |
I hereby claim:
To claim this, I am signing this object:
title = "Some report" | |
selected_columns = %w(one two three four five) | |
Axlsx::Package.new do |package| | |
package.workbook do |workbook| | |
# Disabling this will improve performance for very large documents | |
workbook.use_autowidth = false | |
workbook.add_worksheet(:name => 'Data') do |sheet| |
# change default prefix to be like GNU screen | |
set-option -g prefix C-a | |
# set the statusbar | |
set-option -g status-utf8 on | |
set-option -g status-keys vi | |
# set window notifications | |
set-option -g visual-activity on |
# ~/.tmuxinator/eventos.yml | |
# you can make as many tabs as you wish... | |
project_name: Eventos | |
project_root: ~/Development/eventos | |
socket_name: | |
pre: | |
tabs: | |
- shell: | |
- guard: bundle exec guard |
Feature: create an event | |
In order to organize my social gatherings | |
As an organizer | |
I want to create events | |
Scenario Outline: create a valid event | |
Given that I am logged-in | |
And I click "create event" | |
When I enter "<title>" in the event "title" |
Feature: create an event | |
In order to organize my social gatherings | |
As an organizer | |
I want to create events | |
Background: Logged-in | |
Given that I am logged-in | |
And I click "create event" |