(Taken from Xcode 10)
- 2x - 40px
- 3x - 60px
# Extended configuration for Thinking Sphinx can be stored in the | |
# config/thinking_sphinx.yml file within your application (this file was | |
# previously known as config/sphinx.yml in TS v1/v2). | |
# | |
# Many settings from Sphinx itself can be set here, and they'll flow through to | |
# the appropriate section of the generated configuration. However, some are | |
# used for Thinking Sphinx behaviour, and so those are documented here first. | |
# | |
# Configuration is grouped by environment, just like config/database.yml in a | |
# standard Rails application. |
#!/bin/bash | |
# Simple script to help configuring which kn CLI to use when you | |
# have a need to keep multiple versions and switch between them. | |
# Install and notes: | |
# 1. put this in /usr/local/bin and chmod +x | |
# 2. keep all the versions of kn in the /Applications directory | |
# 3. name kn executables with corresponding version - e.g. /Applications/kn-0.14.0 |
This original document shows how to deploy an OpenShift instance on a server using CodeReady Containers (crc) that can be accessed remotely from one or more client machines (sometimes called a "headless" instance). This provides a low-cost test and development platform that can be shared by developers. Deploying this way also allows a user to create an instance that uses more cpu and memory resources than may be available on his or her laptop.
While there are benefits to this type of deployment, please note that the primary use case for crc is to deploy a local OpenShift instance on a workstation or laptop and access it directly from the same machine. The headless setup is configured completely outside of crc itself, and supporting a headless setup is beyond the mission of the crc development team. Please do not ask for changes to crc to support this type of deployment, it will only cost the team time as they politely decline :)
The original gist by Roberto ha
# A Rake tasks to facilitate importing data from your models into a common Elasticsearch index. | |
# | |
# All models should declare a common index_name, and a document_type: | |
# | |
# class Article | |
# include Elasticsearch::Model | |
# | |
# index_name 'app_scoped_index' | |
# document_type 'articles' | |
# |
var Evaluation = React.createClass({ | |
getInitialState: function() { | |
return {evaluation: this.props.evaluation}; | |
}, | |
updateData: function(form, data) { | |
var index = this.state.evaluation.indexOf(form); | |
var form_data = React.addons.update(this.state.evaluation[index].form, | |
{ $merge: data }); | |
form.form = form_data; |
require 'rubygems' | |
require 'nokogiri' | |
require 'fileutils' | |
require 'date' | |
require 'uri' | |
# usage: ruby import.rb my-blog.xml | |
# my-blog.xml is a file from Settings -> Basic -> Export in blogger. | |
data = File.read ARGV[0] |