(One needs some form of browser normalization so that modern features works, no-one is doubting that).
QSA works (shim=sizzle). Besides selectors are generally bad practice. Favour node traversal, gEBI, gEBTN and gEBCN. (shim=domShim)
(One needs some form of browser normalization so that modern features works, no-one is doubting that).
QSA works (shim=sizzle). Besides selectors are generally bad practice. Favour node traversal, gEBI, gEBTN and gEBCN. (shim=domShim)
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin |
// ==UserScript== | |
// @name LookAtMeINeedFlags | |
// @author rlemon, jamesgifford | |
// @version 0.2 | |
// @namespace rlemon.com | |
// @description Flag SE Questions as Duplicates / Abandoned | |
// @include http://*stackoverflow.com/* | |
// @include http://*superuser.com/* | |
// @include http://*serverfault.com/* | |
// @include http://*askubuntu.com/* |
// ==UserScript== | |
// @name Chat Input Fix | |
// @author rlemon | |
// @version 0.1 | |
// @namespace rlemon.com | |
// @description Sets a cookie to remember your chat input width setting. | |
// @include http://chat.stackexchange.com/rooms/* | |
// @include http://chat.stackoverflow.com/rooms/* | |
// ==/UserScript== |
##HTML
<div class="main_menu">
<ul>
<li class="first dashboard">
<a href="#">Dashboard</a>
</li>
<li class="inventory selected">
<a href="#">Inventory</a>
##template
<?php
class Template {
function load($view, $data = null)
{
$CI = &get_instance();
$headData = array_key_exists('styles', $data) ? array('styles' => $data['styles']) : array();
/* is this friendly? I don't think so... merge after reviewing */ | |
.center-form { | |
width: 100%; | |
} | |
.center-input, .center-options, .center-submit, h1, h2, h3 { | |
width: 400px; | |
padding: 0px 4px 6px 4px; | |
margin: 0 auto; | |
text-align: center; |
/* | |
* Gnome / Growl type non-blocking notifications. | |
* Original work by http://opensource.srirangan.net/notifier.js/ | |
* re-write by rlemon | |
*/ | |
var Notifier = (function() { | |
var Notifier = function(config) { | |
this.config = { | |
defaultTimeOut: 5000, | |
position: ["top", "right"], |
var xhr = { | |
xmlhttp: (function() { | |
var xmlhttp; | |
try { | |
xmlhttp = new XMLHttpRequest(); | |
} catch (e) { | |
try { | |
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); | |
} catch (er) { | |
try { |
json_storage | |
hash | |
add [generates unique hash, creates storage area mapped to hash, returns hash] | |
remove [removes hash from server, as well as JSON objects] | |
<hash> | |
get [retreives JSON object and returns it to the callback] | |
callback | |
set [stores the values in the format below] | |
key=value [json=JSON] | |
callback [callback with message] |