This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; set up unicode | |
(prefer-coding-system 'utf-8) | |
(set-default-coding-systems 'utf-8) | |
(set-terminal-coding-system 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
;; This from a japanese individual. I hope it works. | |
(setq default-buffer-file-coding-system 'utf-8) | |
;; From Emacs wiki | |
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!common) | |
; /* No common ancestors found. We need a real merge. */ | |
else if (!remoteheads->next && !common->next && | |
common->item == remoteheads->item) { | |
/* | |
* If head can reach all the merge then we are up to date. | |
* but first the most common case of merging one remote. | |
*/ | |
finish_up_to_date("Already up-to-date."); | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_resource/connection' | |
require 'cgi' | |
require 'set' | |
module ActiveResource | |
# ActiveResource::Base is the main class for mapping RESTful resources as models in a Rails application. | |
# | |
# For an outline of what Active Resource is capable of, see link:files/vendor/rails/activeresource/README.html. | |
# | |
# == Automated mapping |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sunspot.search(Person) do | |
keywords(query_string) do | |
boost_fields query_boost_fields | |
highlight(*fields_to_highlight.push(:fragment_size => default_highlight_fragment_size)) | |
end | |
facet(:class) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldtype name="text" class="solr.TextField" positionIncrementGap="100"> | |
<analyzer> | |
<tokenizer class="solr.WhitespaceTokenizerFactory"/> | |
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/> | |
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/> | |
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/> | |
<filter class="solr.LowerCaseFilterFactory"/> | |
<filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/> | |
</analyzer> | |
</fieldtype> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby 1.8.7 | |
# user system total real | |
# partition 0.180000 0.000000 0.180000 ( 0.185015) | |
# sort_by 0.160000 0.010000 0.170000 ( 0.160012) | |
# Ruby 1.9 | |
# user system total real | |
# partition 0.090000 0.000000 0.090000 ( 0.092589) | |
# sort_by 0.160000 0.010000 0.170000 ( 0.166785) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Author:: Adam Jacob (<[email protected]>) | |
# Author:: Christopher Walters (<[email protected]>) | |
# Copyright:: Copyright (c) 2008, 2009 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Java 1.6 | |
# | |
export PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands:$PATH" | |
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ОПД.Ф.03 | |
Теория вероятностей и математическая статистика: | |
аксиоматика теории вероятностей; случайные величины, их распределение и числовые характеристики; предельные теоремы теории вероятностей; случайные процессы; точечное и интервальное оценивание, проверка статистических гипотез; линейные статистические модели. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |