I hereby claim:
- I am melz on github.
- I am melz (https://keybase.io/melz) on keybase.
- I have a public key whose fingerprint is 46B5 E847 8058 C0E0 159C AE4C 4EA0 6332 D24A 2FE8
To claim this, I am signing this object:
<?php | |
// 1) Escaping on; View template | |
$manufacturers = $sf_user->getAttribute('manufacturer_ids', array(), 'mdUser'); | |
$user_manufacturers->getRawValue(); // returns an array() | |
// for variables in view template | |
echo $sf_data->getRaw('variable_name'); | |
// disable escaping from class method output |
smartctl -a /dev/sda | grep Power |
*, | |
*:after, | |
*:before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
.clearfix:after { | |
content: ""; | |
display: table; |
.url-link { | |
word-wrap: break-word; | |
-ms-word-break: break-all; | |
word-break: break-all; | |
word-break: break-word; | |
-webkit-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
} |
<?php | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
$app = require __DIR__.'/bootstrap.php'; | |
$app->match('/contact/', function(Request $request) use ($app) { | |
if ('POST' == $request->getMethod()) { | |
$data = array( |
// For each input element, we will assign them a timer to avoid sending too many changes to the server at the same time. | |
var timeout = []; | |
$('.input-element').each(function() { | |
timeout[this.id] = null; | |
}) | |
$('.input-textarea').on('input', function() { | |
clearTimeout(timeout[this.id]); | |
var response = $(this).val(); |
apt-get install libapache2-mod-php5 php5-mysql php5-gd php5-mcrypt php5-curl php-apc | |
a2enmod rewrite | |
a2enmod ssl |
# add to /etc/apt/sources.list | |
deb http://ftp.ca.debian.org/debian stable main contrib | |
deb http://ftp.debian.org/debian/ wheezy-updates main contrib | |
deb http://security.debian.org/ wheezy/updates main contrib |
apt-get purge $(dpkg-query -Wf '${Package;-40}${Essential}${Priority}\n'|awk '$2 ~ /nooptional|noextra/ {print $1}'|grep -v -E 'anacron|busybox|initramfs-tools|insserv|klibc-utils|libklibc|libsemanage-common|libsemanage1|libustr-1.0-1|libuuid-perl|linux-base|linux-image') |
I hereby claim:
To claim this, I am signing this object: