This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*, *::before, *::after { display: none !important; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install apache2 | |
apt-get install mysql-server php5-mysql | |
mysql_install_db | |
mysql_secure_installation | |
apt-get install php5 libapache2-mod-php5 php5-mcrypt | |
sed -i.bak s/DirectoryIndex index.html index.cgi index.pl index.php/DirectoryIndex index.php index.html index.cgi index.pl/g /etc/apache2/mods-enabled/dir.conf | |
service apache2 restart | |
apt-get install php5-cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (rofl, lol, lmao) { | |
/*globals module: false, define: false*/ | |
// http://ifandelse.com/its-not-hard-making-your-library-support-amd-and-commonjs/ | |
// https://github.com/umdjs/umd/blob/master/commonjsStrict.js | |
if (typeof module !== "undefined" && module.exports) { | |
module.exports = lmao; | |
} else if (typeof define === "function" && define.amd) { | |
define(lmao); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg --get-selections > ~/Package.list | |
sudo cp -R /etc/apt/sources.list* ~/ | |
sudo apt-key exportall > ~/Repo.keys | |
rsync --progress /home/`whoami` /path/to/user/profile/backup/here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Person (name, age) { | |
this.name = name; | |
this.age = age; | |
} | |
Person.prototype = { | |
getName: function () { | |
return this.name; | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function print (o) { | |
var body = document.body | |
, ih = body.innerHTML; | |
body.innerHTML = ih ? ih + "<br/>" + o : o; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Evento - v1.0.0 | |
// by Erik Royall <[email protected]> (http://erikroyall.github.io) | |
// Dual licensed under MIT and GPL | |
// Array.prototype.indexOf shim | |
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf | |
if (!Array.prototype.indexOf) { | |
Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { | |
'use strict'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pagination class='paginator' role='toolbar'> | |
<ul class='goto-pages'> | |
<li class='goto-search'> | |
<a href="#search" class="search-pages" title="Toggle Advanced Search">⌕</a> | |
</li> | |
<li class='goto-page'> | |
<a href="/admin/users?page=1" aria-disabled="true" class="first-page disabled" data-page="1" rel="first" title="Go to the first page">⇤</a> | |
</li> | |
<li class='goto-page'> | |
<a href="/admin/users?page=1" aria-disabled="true" class="prev-page disabled" data-page="1" rel="prev" title="Go to page 1">⇠</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.erik = (function(){ | |
var Erik, erik; | |
Erik = function() { | |
this.name = "Erik Royall"; | |
this.age = 14; | |
}; | |
return erik = { | |
// Public Method | |
getName: function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> <!-- Set the language attribute to the language of your web page -->> | |
<head> | |
<title>HTML5 Stiff Bones</title> | |
<meta charset="utf8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Sets width to device default --> | |
<!-- Note: Add "maximum-scale=1.0; user-scalable=0;" attributes to viewport meta tag to prevent user scaling --> | |
<meta name="description" content=""> <!-- Your site's description --> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <!-- Chrome Frame: HTML5 support for IE 7,8,9 versions --> | |
NewerOlder