Skip to content

Instantly share code, notes, and snippets.

@icebreaker
icebreaker / clear-screen.php
Created November 22, 2012 09:30
PHP - clear screen recipe
<?php
function cls()
{
print("\033[2J\033[;H");
}
echo "hello world";
cls();
@jonashansen229
jonashansen229 / PHPOOP-databaseclass-mysqli.php
Last active April 21, 2021 10:26
php mysqli database class
<?php
class Database {
protected $_link;
protected $_result;
protected $_numRows;
private $_host = "HOST";
private $_username = "DATABASE USERNAME";
private $_password = "DATABASE PASSWORD";
private $_database = "DATABASE";
@font-face {
font-family: SegoeUI;
src:
local("Segoe UI Light"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"),
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype");
font-weight: 100;
}