Whenever I uncomment the lines on author.js I get the following error:
/Users/xicombd/Code/taskq/taskq-api/node_modules/graphql/jsutils/invariant.js:20
throw new Error(message);
^
| <form method="post" action="https://secure.payu.com.tr/order/lu.php"> | |
| <input type="hidden" name="MERCHANT" value="PAYUDEMO"> | |
| <input type="hidden" name="ORDER_REF" value="112457"> | |
| <input type="hidden" name="ORDER_DATE" value="2012-05-01 15:51:35"> | |
| <input type="hidden" name="ORDER_PNAME[]" value="MacBook Air 13 inç"> | |
| <input type="hidden" name="ORDER_PNAME[]" value="iPhone 4S"> | |
| <input type="hidden" name="ORDER_PCODE[]" value="MBA13"> | |
| <input type="hidden" name="ORDER_PCODE[]" value="IP4S"> | |
| <input type="hidden" name="ORDER_PINFO[]" value="Uzatılmış Garanti - 5 Yıl"> | |
| <input type="hidden" name="ORDER_PINFO[]" value=""> |
| rescue_from Exception, :with => :server_error | |
| def server_error(exception) | |
| respond_to do |format| | |
| format.html { render template: 'errors/internal_server_error', layout: 'layouts/application', status: 500 } | |
| format.all { render nothing: true, status: 500} | |
| end | |
| end | |
| rescue_from ActiveRecord::RecordNotFound, :with => :page_not_found |
| sudo vi /etc/apt/sources.list.d/pgdg.list | |
| deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main # Bu satırı yukarıdaki dosyaya ekliyoruz | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - # evet sonunda tire işareti var | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.3 |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
I needed a newer version of ImageMagick than is available on the yum packages on Amazon Linux. I tried using the remi repo but it failed with dependency errors. Here is what I did to install ImageMagick with support for PNG, JPG, and TIFF.
download the most recent package
wget http://www.imagemagick.org/download/ImageMagick.tar.gz
uncomress the package
| #!/bin/sh | |
| curl -XDELETE localhost:9200/foo >/dev/null | |
| curl -XPOST localhost:9200/foo/t -d' | |
| { | |
| "clicks": 10, | |
| "impressions": 1000, | |
| "when": "2013-10-01" | |
| } |
We create an index with:
synonyms_expand and synonyms_contractsynonyms_expand and synonyms_contracttext_1 uses the synonyms_expand analyzer at index and search timetext_2 uses the synonyms_expand analyzer at index time, but the standard analyzer at search timetext_3 uses the synonyms_contract analyzer at index and search time.
| const crypto = require('crypto'); | |
| const PASSWORD = "098f6bcd4621d373cade4e832627b4f6" | |
| , MESSAGE = 'test'; | |
| function InvalidSignatureError() { | |
| Error.captureStackTrace(this, this.constructor); | |
| } | |
| function encipher(message, password, callback) { |