Skip to content

Instantly share code, notes, and snippets.

@EspadaV8
EspadaV8 / install-latest-node.sh
Last active August 29, 2015 14:06
Install lastest node on debian
#!/bin/sh
aptitude install checkinstall build-essential
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz
cd `ls -1|sort -r|head -1`
./configure
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
sudo dpkg -i node_*
@EspadaV8
EspadaV8 / overrides.css
Last active May 19, 2020 06:58
Dark Laravel Docs theme
body {
color: #ccc;
background: #525252 url("/assets/img/cloud-bar.png") repeat-x;
}
.docs article code[class*="language-"],
.docs article pre[class*="language-"] {
font-size: 14px;
}
<?php
/**
* Assert that a given where condition does not matches a soft deleted record
*
* @param string $table
* @param array $data
* @param string $connection
* @return $this
*/
protected function seeIsNotSoftDeletedInDatabase($table, array $data, $connection = null)