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
% latex.default(object = object[[i]], caption = nx[i], label = nx[i], append = file != "", title = title, file = file, caption.lot = NULL, caption.loc = caption.loc, ...) | |
% | |
\begin{table}[!tbp] | |
\caption{prob.t\label{prob.t}} | |
\begin{center} | |
\begin{tabular}{lr}\hline\hline | |
\multicolumn{1}{l}{summary}& | |
\multicolumn{1}{c}{} | |
\tabularnewline \hline | |
< 0.005&$ 1.00000000000000000$\tabularnewline |
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 exists("did_load_filetypes") | |
finish | |
endif | |
augroup filetypedetect | |
" R | |
autocmd! BufNewFile,BufRead *.[rRsS] setfiletype r | |
autocmd! BufNewFile,BufRead *.[rR]history setfiletype r |
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 $TERM for libvte terminals that set $TERM wrong (like gnome-terminal) | |
{ | |
[ "_$TERM" = "_xterm" ] && type ldd && type grep && type tput && [ -L "/proc/$PPID/exe" ] && { | |
if ldd /proc/$PPID/exe | grep libvte; then | |
if [ "`tput -Tgnome-256color colors`" = "256" ]; then | |
TERM=gnome-256color | |
elif [ "`tput -Txterm-256color colors`" = "256" ]; then | |
TERM=xterm-256color | |
elif tput -T gnome; then | |
TERM=gnome |
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
function RemoveTrailingSpace() | |
if expand('%') =~? '\.patch$' | |
return | |
endif | |
try | |
%s/\s\+$// | |
norm! `` | |
catch /E486/ | |
endtry | |
endfunction |
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
% gvim | |
Xlib: extension "RANDR" missing on display ":0.0". | |
(gvim:19111): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup. | |
(gvim:19111): atk-bridge-WARNING **: IOR not set. | |
(gvim:19111): atk-bridge-WARNING **: Could not locate registry |
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
div.p { | |
/* div's as p's | |
* | |
* this is a work-around for how rails | |
* displays error messages on a form | |
*/ | |
margin-bottom: 1em; | |
} | |
.small { |
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 'rubygems' | |
require 'bloops' | |
b = Bloops.new | |
b.tempo = 100 | |
sound = b.sound Bloops::SQUARE | |
sound.volume = 0.5 | |
sound.sustain = 0.3 | |
sound.attack = 0.1 | |
sound.decay = 0.3 |
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
Remove hack for binding ^ that prevents binding ctrl-^ | |
--- irssi-0.8.15.orig/src/fe-text/gui-readline.c | |
+++ irssi-0.8.15/src/fe-text/gui-readline.c | |
@@ -392,12 +392,6 @@ | |
str[g_unichar_to_utf8(key, str)] = '\0'; | |
} | |
- if (strcmp(str, "^") == 0) { | |
- /* change it as ^^ */ | |
- str[1] = '^'; |
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
Team 1 | Team 2 | Team 3 | Team 4 | Team 5 | Team 6 | Team 7 | Team 8 | Team 9 | Team 10 | Team 11 | Team 12 | Team 13 | Team 14 | Team 15 | Team 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | 2 | 2 | 1 | 1 | 1 | 2 | 2 | 1 | 1 | 2 | 2 | 2 | 1 | 1 | 1 |
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
class Calendar < ActiveRecord::Base | |
has_many :reservations | |
end | |
class Reservation < ActiveRecord::Base | |
belongs_to :calendar | |
def self.search(search_fields) | |
results = self #this is where I'd like to access the collection search was called on |
OlderNewer