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
alignment bottom_middle | |
background yes | |
border_width 1 | |
cpu_avg_samples 2 | |
default_color 4D4C4C | |
default_outline_color 4D4C4C | |
draw_borders yes | |
draw_graph_borders yes | |
draw_outline no | |
draw_shades no |
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
alignment bottom_middle | |
border_width 1 | |
cpu_avg_samples 2 | |
draw_borders yes | |
draw_graph_borders yes | |
draw_outline no | |
draw_shades no | |
use_xft yes | |
xftfont Sans Mono:size=12 | |
gap_x -48 |
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
window.auto_complete = (field,url, updated_field, callback) -> | |
labels = null | |
mapped = null | |
$(field).typeahead | |
source: (query, process)-> | |
$.get(url, { q: query }, (data) -> | |
labels = [] | |
mapped = {} | |
mapitem = (item)-> |
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
version 7.3 | |
if &cp | set nocp | endif | |
let s:cpo_save=&cpo | |
set cpo&vim | |
nmap gx <Plug>NetrwBrowseX | |
nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>"),0) | |
let &cpo=s:cpo_save | |
unlet s:cpo_save |
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
AlertWorker.perform_async(@ride.id, :update_alert) |
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
#spec/acceptance/irrelevent_spec.rb | |
feature 'irrelevent_spec', js: true do | |
end | |
feature 'specific_spec', js: true do | |
it_behaves_like 'its specifically included' | |
end |
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
Template.peopleList.helpers({ | |
'peopleList': function(){ | |
people = People.find({}).fetch(); | |
letters = ''; | |
for (i = 0; i < people.length; i ++) { // loop through people collection | |
if ('lastName' in people[i]) { // find out if people[i].lastName is a thing to exclude headers | |
people[i].name = people[i].lastName + "," + people[i].firstName; // add name property to object | |
letter = people[i].lastName.charAt(0); // get letter | |
if (letters.indexOf(letter) == -1) { // check if letter is in index | |
letters += letter; |