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 class="schemes_group_parking"> | |
<div style="clear:both;"></div> | |
<div class="scheme_parking"><a href="traffic-schemes/trees.shtml" class="hyperspan"></a> | |
<div class="scheme_head"> | |
<div class="scheme_title_parking">Pavement parking ban</div> | |
<img class="scheme_image_parking" src="images/schemes/vas_s.jpg" alt="Speed cushions"> | |
</div> | |
</div> | |
<div class="parking_scheme_text_middle"> | |
<ul id="parking"> |
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
.header-image.cover { | |
margin: auto; | |
max-width: 800px; | |
} | |
.header-image-wrapper { | |
height: 500px !important; | |
} |
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
"stick this in your ~/.vimrc | |
"could probably do this all on one line in the autocmd declaration but whatever | |
autocmd vimenter * call s:CheckForForgettingSudo() | |
function s:CheckForForgettingSudo() | |
if &readonly | |
echoerr "Use sudo beyotch!" | |
exit | |
endif | |
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
{"graph": {"title":"Coins per Cause","datasequences":[{"title":"Causes","datapoints":[{"title":"Foo cause","value":21},{"title":"Bar cause","value":14},{"title":"Baz cause","value":10}]}]}} |
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
setInterval( | |
function() { | |
$.get('/admin/purchases', function(data) { | |
$('body').html(data); | |
}); | |
}, | |
10000 | |
); |
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! NERDTreeFindOrToggle() | |
if nerdtree#treeExistsForTab() | |
NERDTreeToggle | |
else | |
NERDTreeFind | |
endif | |
endfunction | |
"then map something to it with | |
"nnoremap <leader>n :call NERDTreeFindOrToggle()<cr> |
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 argc() == 0 | |
echomsg "no files given, open nerdtree" | |
NERDTree | |
endif |
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
"notes: | |
"syntastic looks for these functions: | |
" | |
" SyntaxCheckers_FILETYPE_NAME_IsAvailable() | |
" SyntaxCheckers_FILETYPE_NAME_GetLocList() | |
" | |
" In your code below, FILETYPE is verilog_systemverilog, and NAME is sv_compiler (i | |
" removed the "my " from the beginning). | |
" | |
" I have changed the function names to match, so it should work now :) |
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! SyntaxCheckers_chef_foodcritic_IsAvailable() | |
return executable('foodcritic') | |
endfunction | |
function! SyntaxCheckers_chef_foodcritic_GetLocList() | |
" let exe = expand(g:syntastic_ruby_exec) | |
" if !has('win32') | |
" let exe = 'RUBYOPT= ' . exe | |
" endif |
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
"stick this in syntax_checkers/c/make.vim | |
"use let g:syntastic_c_checker="make" to activate it | |
function! SyntaxCheckers_c_make_IsAvailable() | |
return executable('make') | |
endfunction | |
function! SyntaxCheckers_c_make_GetLocList() | |
let makeprg = syntastic#makeprg#build({ | |
\ 'exe': 'make', |