Skip to content

Instantly share code, notes, and snippets.

View borsna's full-sized avatar
🍞

Olof Olsson borsna

🍞
View GitHub Profile
<html>
<head>
<title>Step progress bar</title>
<style type="text/css">
.container {
width: 100%;
}
.progressbar {
counter-reset: step;
}
@zachharkey
zachharkey / example.aliases.drushrc.php
Created February 13, 2013 06:04
Example of Drush site alias configuration file
<?php
/**
* Example of valid statements for an alias file. Use this
* file as a guide to creating your own aliases.
*
* Aliases are commonly used to define short names for
* local or remote Drupal installations; however, an alias
* is really nothing more than a collection of options.
* A canonical alias named "dev" that points to a local
@LegoStormtroopr
LegoStormtroopr / input.xml
Created August 19, 2012 00:20
Using XPath1.0 to resolve the correct implied value of an XML elements xml:lang attribute
<?xml version="1.0" encoding="utf-8"?>
<data>
<foo xml:lang="en">
<bar>
<tog xml:lang="fr">
<wel>
<vay xml:lang="sv"/>
</wel>
</tog>
<tog>