Requirements: Get coffee-script installed (refer above)
Ref: http://babinho.net/2011/05/autocomplete-fields-in-rails-3-1-with-jquery-ui/
To use this I had to download jquery-ui (http://jqueryui.com/download) and select Autocomplete
<?php | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: Muhammet | |
* Date: 19.10.2011 | |
* Time: 05:47 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
// Version.php |
Requirements: Get coffee-script installed (refer above)
Ref: http://babinho.net/2011/05/autocomplete-fields-in-rails-3-1-with-jquery-ui/
To use this I had to download jquery-ui (http://jqueryui.com/download) and select Autocomplete
/* | |
Guncel BIN LISTESI | |
twitter : http://twitter.com/tserpico | |
*/ | |
SET FOREIGN_KEY_CHECKS=0; | |
-- ---------------------------- | |
-- Table structure for `binlist` | |
-- ---------------------------- |
# Use this setup block to configure all options available in SimpleForm. | |
# File Path: RAILS_ROOT/config/initializers/simple_form_bootstrap.rb | |
SimpleForm.setup do |config| | |
config.wrappers :bootstrap, tag: 'div', class: 'form-group', error_class: 'has-error' do |b| | |
b.use :html5 | |
b.use :placeholder | |
b.use :label, class: 'control-label' | |
b.use :input | |
b.use :error, wrap_with: { tag: 'span', class: 'help-block' } | |
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' } |
# This is a skeleton for testing models including examples of validations, callbacks, | |
# scopes, instance & class methods, associations, and more. | |
# Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
# | |
# I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
# so if you have any, please share! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |
// 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" | |
} |