Skip to content

Instantly share code, notes, and snippets.

@lasse-it
lasse-it / installmake.sh
Created February 8, 2016 12:26
Install make and gcc on Ubuntu Snappy Core
#!/bin/bash
function installdeb {
wget $baseurl$pac
dpkg -i $pac
rm $pac
}
echo "installing gcc & make"
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/"
pac="gcc-4.9-base_4.9.2-10_armhf.deb"
<?php
$usermail = $_POST['usermail'];
$username = $_POST['username'];
$userphone = $_POST['userphone'];
$message = "New user:\r\n Name: " . $username . "\r\n Mail: " . $usermail . "\r\n Phone: " . $userphone;
$to = 'interstellar@interstellar.com';
$from = 'php@interstellar.com';
$subject = 'New user';
$headers = $from . "\r\n" .
'Reply-To: ' . $from . "\r\n" .