POST /reports
latitude: longitude: description: tags: array with tags
| # Load DSL and Setup Up Stages | |
| require 'capistrano/setup' | |
| # Includes default deployment tasks | |
| require 'capistrano/deploy' | |
| # Handle ruby versions | |
| require 'capistrano/rbenv' | |
| # Bundler and rails utilities |
| ;; David's Emacs config - requires Emacs 24.4 or later | |
| ;; Hide menu | |
| (menu-bar-mode -1) | |
| ;; Move between windows with ESC + arrow | |
| (global-set-key (kbd "ESC <left>") 'windmove-left) | |
| (global-set-key (kbd "ESC <right>") 'windmove-right) | |
| (global-set-key (kbd "ESC <up>") 'windmove-up) | |
| (global-set-key (kbd "ESC <down>") 'windmove-down) |
| .User { | |
| width: 50%; | |
| background: #fcf; | |
| s { | |
| color: #999; | |
| font-style: italic; | |
| } | |
| h3 { |
| # rubocop:disable Metrics/MethodLength | |
| ... | |
| # rubocop:enable Metrics/MethodLength | |
| ;; David's Emacs config - requires Emacs 24.4 or later | |
| ;; Hide menu | |
| (menu-bar-mode -1) | |
| ;; Always prefer utf-8 | |
| (prefer-coding-system 'utf-8) | |
| (set-default-coding-systems 'utf-8) | |
| (set-terminal-coding-system 'utf-8) | |
| (set-keyboard-coding-system 'utf-8) |
I hereby claim:
To claim this, I am signing this object:
| require 'net/https' | |
| require 'time' | |
| require 'date' | |
| require 'pathname' | |
| # Validate certificates from Let's Encrypt so they | |
| # don't expire. | |
| class CertValidator | |
| def self.run | |
| domains.each do |domain| |
| ;; David's Emacs config - requires Emacs 24.4 or later | |
| ;; Hide menu | |
| (menu-bar-mode -1) | |
| ;; Always prefer utf-8 | |
| (prefer-coding-system 'utf-8) | |
| (set-default-coding-systems 'utf-8) | |
| (set-terminal-coding-system 'utf-8) | |
| (set-keyboard-coding-system 'utf-8) |
| { | |
| "id": 1234567, | |
| "booking_id": 24, | |
| "date": "2020-08-27", | |
| "invoice_number": 243, | |
| "company_id": 37, | |
| "status": "unpaid", | |
| "amount_excluding_vat": 1100.00, | |
| "vat_amount": 275.00, | |
| "total_amount": 1375.00, |