This file contains 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> | |
<head> | |
<meta charset="utf-8" /> | |
<title>HTML5 basic skeleton</title> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<!--[if lt IE 9]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<style type="text/css"> |
This file contains 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
#!/bin/bash | |
# file name: lesscdir | |
# Compile every .less found under a specified folder | |
# $1 is the folder to search | |
# $2 allows to use a lessc parameters for compiling | |
if [[ -z $1 ]];then | |
echo 'Specify a directory to search' | |
exit |
This file contains 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
<?php | |
/* | |
* This file lists all global variables found in Medawiki 1.20 | |
* | |
* (c) 2013 Nicolò Martini <nicmartnic@gmail.com> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains 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
[user] | |
name = Nicolò Martini | |
email = electroportal.net@gmail.com | |
[github] | |
user = nicmart | |
token = xxxx | |
[core] | |
excludesfile = /Users/nic/.gitignore_global | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" |
This file contains 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
<?php | |
// Current interface | |
$tree | |
->leaf('element', 'author') | |
->key('value', 'author_name') | |
->value('element', 'name') | |
->end() | |
->leaf('element', 'date') | |
->value(function(\DateTime $dateTime) { return $dateTime->format('d-m-Y'); }) |
NewerOlder