(function (d) {
var w = d.documentElement.offsetWidth,
t = d.createTreeWalker(d.body, NodeFilter.SHOW_ELEMENT),
b;
while (t.nextNode()) {
b = t.currentNode.getBoundingClientRect();
if (b.right > w || b.left < 0) {
#!/bin/sh | |
####################################### | |
# Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. | |
# Written by @AamnahAkram from http://aamnah.com | |
# In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors. | |
####################################### | |
#COLORS |
<?php | |
/** | |
* The configuration options for the Shoestrap Customizer | |
*/ | |
function shoestrap_customizer_config() { | |
$args = array( |
<!-- | |
You can't do position absolute + visibility/opacity in gmail | |
display: none; only works if you inline it as !important, but then this destroys the functionality for | |
all other clients, this workaround has been working wonders for us!!! | |
--> | |
<style> | |
div.gmail { | |
display: block; | |
width: 0; | |
overflow: hidden; |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
// awesome semantic comment | |
function better_comment($comment, $args, $depth) { | |
$GLOBALS['comment'] = $comment; | |
extract($args, EXTR_SKIP); | |
if ( 'article' == $args['style'] ) { | |
$tag = 'article'; | |
$add_below = 'comment'; | |
} else { |
data:text/html,<h1>Hello World!</h1>
<!DOCTYPE html>
<html>
- Zurb Foundation Responsive Tables
- Responsive Tables Demo by Simon Elvery
- Responsive Tables(2) by Dave Bushell
- Responsive Table by Chris Coyier
- Responsive table to list by Aaron Gustafson
- Responsive Table with Column Select by Filament Group
- jQuery Mobile Showcase
- Pie chart responsive table
- Responsive data charts
- Responsive tables design patterns