I used LESS to create this CSS glass shelf for a new website I just finished designing and developing - http://www.meridianapps.com.
A Pen by o'holloran on CodePen.
I used LESS to create this CSS glass shelf for a new website I just finished designing and developing - http://www.meridianapps.com.
A Pen by o'holloran on CodePen.
| if (!function_exists('write_log')) { | |
| function write_log ( $log ) { | |
| if ( true === WP_DEBUG ) { | |
| if ( is_array( $log ) || is_object( $log ) ) { | |
| error_log( print_r( $log, true ) ); | |
| } else { | |
| error_log( $log ); | |
| } | |
| } | |
| } |
| curl -XPUT 'http://127.0.0.1:9200/argmaps-development/?pretty=1' -d ' | |
| { | |
| "mappings" : { | |
| "questions" : { | |
| "properties" : { | |
| "question_text" : { | |
| "fields" : { | |
| "ngrams" : { | |
| "type" : "string", | |
| "analyzer" : "my_ngram" |
| # Courtesy of PagerDuty | |
| Capistrano::Configuration.instance(:must_exist).load do |config| | |
| start_times = {} | |
| end_times = {} | |
| order = [] | |
| on :before do | |
| order << [:start, current_task] | |
| start_times[current_task] = Time.now |
| #encoding: utf-8 | |
| require 'tire' | |
| require 'json' | |
| require 'active_support/core_ext/object/to_query' | |
| require 'active_support/core_ext/object/to_param' | |
| conf = { | |
| settings: { | |
| number_of_shards: 1, | |
| number_of_replicas: 0, |
| <!doctype html> | |
| <head> | |
| <style> | |
| /** | |
| * 100% height layout with header and footer | |
| * ---------------------------------------------- | |
| * from http://peterned.home.xs4all.nl/examples/csslayout1.html | |
| */ | |
| html, body { |
| class Growl | |
| attr_accessor :report, :status | |
| def initialize(report, opts = {}) | |
| @report, options = report, create_options(opts) | |
| message = create_message | |
| opts = options.inject([]) do |arr, item| | |
| key, value = item.first, item.last |