Skip to content

Instantly share code, notes, and snippets.

View pehlert's full-sized avatar
🚀

Pascal Ehlert pehlert

🚀
View GitHub Profile
# This is an example configuration file for the LVM2 system.
# It contains the default settings that would be used if there was no
# /etc/lvm/lvm.conf file.
#
# Refer to 'man lvm.conf' for further information including the file layout.
#
# Refer to 'man lvm.conf' for information about how settings configured in
# this file are combined with built-in values and command line options to
# arrive at the final values used by LVM.
#
08-25 10:55:11.311 1409-1892/com.google.process.gapps D/GCM﹕ Unexpected result: <!DOCTYPE html>
08-25 10:55:11.311 1409-1892/com.google.process.gapps D/GCM﹕ Unexpected result: <title>Error 502 (Server Error)!!1</title>
08-25 10:55:11.311 1409-1892/com.google.process.gapps D/GCM﹕ Unexpected result: <style>
08-25 10:55:11.311 1409-1892/com.google.process.gapps D/GCM﹕ Unexpected result: *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/errors/logo_sm_2.png) no-repeat}@media only screen and (min-resolution:192dpi){#logo{backgroun
/*
* The promise "inner" should reject due to the ReferenceError that is inevitably thrown in line 13.
* There is no reject handler for "inner", because it is called as part of another promise chain "outer".
* However, the "outer" promise is being *resolved* and inner's rejection remains unhandled.
* To make this more weird, if in line 16 instead of "inner", "Promise.reject()" is returned,
* the outer promise will be rejected just fine.
*/
var inner = Promise.resolve(),
outer = Promise.resolve();
@pehlert
pehlert / .vimrc
Last active August 29, 2015 14:05
function! RelativeFileComplete()
let oldpwd = getcwd()
lcd %:p:h
call feedkeys("\<C-x>\<C-f>")
execute 'lcd' oldpwd
return ''
endfunction
imap <C-f> <C-r>=RelativeFileComplete()<CR>