#Install ghostscript 9.14.md
Uninstall prior versions of ghostscript to avoid conflicts
sudo apt-get remove ghostscriptInstall dependencies
sudo apt-get install liblcms2-2 liblcms2-dev liblcms2-utils| # Search term parser from https://gist.github.com/1477730 | |
| # Modified to allow periods (and other non-letter chars) in unquoted field values | |
| # and field names. | |
| # | |
| # Helper class to help parse out more advanced saerch terms | |
| # from a form query | |
| # | |
| # Note: all hash keys are downcased, so ID:10 == {'id' => 10} | |
| # you can also access all keys with methods e.g.: terms.id = terms['id'] = 10 | |
| # this doesn't work with query as thats reserved for the left-over pieces |
| #! /bin/sh | |
| # Reset the database only if the previous branch and the current one have different schemas | |
| # Start from the repository root. | |
| cd ./$(git rev-parse --show-cdup) | |
| if git diff `git rev-parse --abbrev-ref HEAD` @{-1} | grep "ActiveRecord::Schema.define(version: "; then | |
| rake db:reset | |
| else |
| require 'csv' | |
| require 'httparty' | |
| require 'byebug' | |
| OANDA_URL = 'https://www.oanda.com/rates/api/v1/rates/' | |
| OANDA_KEY = ENV['OANDA_API_KEY'] | |
| OUTPUT_FILE = './rates.json' | |
| year = { | |
| month_1: [], | |
| month_2: [], |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <script type="text/javascript" src="https://js.stripe.com/v2/"></script> | |
| <script type="text/javascript" src="lib/quaderno-stripe.js"></script> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| </head> |
#Install ghostscript 9.14.md
Uninstall prior versions of ghostscript to avoid conflicts
sudo apt-get remove ghostscriptInstall dependencies
sudo apt-get install liblcms2-2 liblcms2-dev liblcms2-utils