Skip to content
# Fish git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showstashstate 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch yellow
# Status Chars
set __fish_git_prompt_char_dirtystate ''
set __fish_git_prompt_char_stagedstate ''
set __fish_git_prompt_char_stashstate ''
set shell=bash
<?xml version="1.0" encoding="UTF-8" ?>
<!--
This is the Solr schema file. This file should be named "schema.xml" and
should be in the conf directory under the solr home
(i.e. ./solr/conf/schema.xml by default)
or located where the classloader for the Solr webapp can find it.
For more information, on how to customize this file, please see
http://wiki.apache.org/solr/SchemaXml
for INSTANCE in `cat ~/instance_addr_list`
do
echo '------------'
echo $INSTANCE
echo '------------'
for i in 1 2
do
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=false $INSTANCE "nohup sh ~/bin/image-node/do-task.sh &> /dev/null &"
done
done
#!/usr/bin/ruby
# This script installs to /usr/local only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.
module Tty extend self
def blue; bold 34; end
def white; bold 39; end
def red; underline 31; end
def reset; escape 0; end
def bold n; escape "1;#{n}" end
class Die
attr_reader :d, :face, :bonus, :modifier
def initialize(d)
parse_d(d)
@face = roll
if @d == @face
@bonus = Die.new(d)
end
end
# config.ru for solr reverse_proxy
# test me with $ rackup solrrp.ru
# or just do most of this in you web sever config
require 'server'
require 'rack/reverse_proxy'
require 'my_custom_logger'
# catch and log requests
use MyCustomLogger # some code you wrote that logs info about results on the /search* endpoint
public void onClick(View v) {
Intent i;
switch (v.getId()) {
....
case R.id.east_map_button:
i = new Intent(this, MapZoom.class);
i.putExtra(MAP_URL, "file:///android_res/drawable/east.png");
startActivity(i);
require 'active_support'
DEPLOY_CONFIG = YAML::load(File.open("config/deploy.yml"))
default_run_options[:pty] = true
#
# General Deployment settings
#
set :application, DEPLOY_CONFIG['application']
set :repository, DEPLOY_CONFIG['repository'] || 'master'
set :scm, :git
/*
Variable Grid System.
Learn more ~ http://www.spry-soft.com/grids/
Based on 960 Grid System - http://960.gs/
Licensed under GPL and MIT.
*/
/* Containers
----------------------------------------------------------------------------------------------------*/
Something went wrong with that request. Please try again.