By default Piwik uses the provider location to guess a visitor's country based on the language they use. This is not very accurate, so they recommend installing and using GeoIP.
- Ubuntu server
- libgeoip-dev
- Nginx
- Nginx minimal website
;(function ($, window) { | |
var intervals = {}; | |
var removeListener = function(selector) { | |
if (intervals[selector]) { | |
window.clearInterval(intervals[selector]); | |
intervals[selector] = null; | |
} |
#!/usr/bin/env sh | |
for dir in $(ls); do | |
if [ -d "${dir}/.git" ]; then | |
echo "Updating \"${dir}\"..." | |
(cd "$dir" && git pull) | |
echo "\n" | |
fi | |
done |
{ | |
"@context": [ | |
"http://www.w3.org/ns/activitystreams", | |
{ | |
"mf": "http://microformats.org/wiki/", | |
"vcard": "http://www.w3.org/2006/vcard/ns#", | |
"jf2": "https://github.com/w3c-social/Social-Syntax-Brainstorming/wiki/jf2#", | |
"iwc": "http://indiewebcamp.com/", | |
"Adr": "mf:h-adr", |
-# Hash Rocket Attributes | |
.h-card | |
%img.u-photo{:src => 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', :alt => 'James Benner'} | |
%a.p-name.u-url{:href => 'http://www.jamesbenner.com'} James Benner | |
-# Ruby 1.9-style Hash Attributes | |
.h-card | |
%img.u-photo{src: 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', alt: 'James Benner'} | |
%a.p-name.u-url{href: 'http://www.jamesbenner.com'} James Benner |
#!/usr/bin/env sh | |
npm explore npm -g -- sh scripts/clean-old.sh | |
npm -g rm npm | |
curl -L https://npmjs.org/install.sh | npm_config_prefix=$(brew --prefix) sh |
[vCard 4.0][VCARD4] | [vCard Ontology (2006)][VCARD RDF 2006] | [vCard Ontology (2014)][VCARD RDF 2014] | [W3C PIM][W3C PIM] | [FOAF][FOAF] | [schema.org Person][SCHEMA PERSON] | [NEPOMUK Contact][NEPOMUK CONTACT] | [Portable Contacts][PORTABLE CONTACTS] | [hCard][UF HCARD] | [h-card][UF H-CARD] | [LDAP inetOrgPerson][INETORGPERSON] |
---|---|---|---|---|---|---|---|---|---|---|
Family Name | family-name | hasFamilyName | familyName | familyName | familyName | nameFamily | familyName | f |