DB::listen(
function ($sql) {
foreach ($sql->bindings as $i => $binding) {
if ($binding instanceof \DateTime) {
$sql->bindings[$i] = $binding->format('\'Y-m-d H:i:s\'');
} else {
if (is_string($binding)) {
$sql->bindings[$i] = "'$binding'";
}
}
}
$query = str_replace(array('%', '?'), array('%%', '%s'), $sql->sql);
$query = vsprintf($query, $sql->bindings);
echo $query . "<br>" . PHP_EOL;
}
);We are losing our links. Bookmark services are not enough. They already failed, becoming weird and accumulating useless features.
Franz is a free messaging app/former emperor of Austria, that combines chat & messaging services into one application.
Imperative programming is a programming paradigm that uses a sequence of statements to reach a certain goal. It focuses on how to perform actions to achieve the expected result. Otherwise, functional programming paradigm concentrates on computing results rather than performing actions. In another wo
http://superuser.com/a/529844 (net-stat is deprecated)
http://www.cyberciti.biz/faq/how-do-i-find-out-what-ports-are-listeningopen-on-my-linuxfreebsd-server/
# nmap -sS -O 127.0.0.1
# lsof -i
# netstat -lptu
# netstat -tulpngit clone https://github.com/maxiskell/dotfiles
mv dotfiles/vimrc ../.vimrc
mkdir -p .vim/{bundle,colors}
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
wget https://raw.githubusercontent.com/vim-scripts/xoria256.vim/master/colors/xoria256.vim
mv xoria256.vim .vim/colors
yaourt -S the_platinum_searcher