Skip to content

Instantly share code, notes, and snippets.

@gadgetto
gadgetto / sample.css
Created February 23, 2012 16:39
Dual color changing link by CSS3 transition
/**
* Dual color changing link by CSS3 transition
*/
h1 { /* only for decoration */
background-color: #2d2d2d;
padding: 30px;
text-align: center;
font-family: sans-serif;
}

Keybase proof

I hereby claim:

  • I am gadgetto on github.
  • I am gadgetto (https://keybase.io/gadgetto) on keybase.
  • I have a public key whose fingerprint is 9E73 8A18 8C9B E024 6E32 4840 5889 57B0 9FE7 B36C

To claim this, I am signing this object:

{
"pages->find(\"selector\")": {
"prefix": "pages find(\"selector\")",
"body": [
"\\$${1:pages}->find(\"${2:selector}\");"
],
"description": "Find and return all pages matching the given selector string. Returns a filtered PageArray unless an include mode is specified."
},
"pages->count(\"selector\")": {
"prefix": "pages count(\"selector\")",
@gadgetto
gadgetto / 401-response.php
Created April 28, 2019 09:22 — forked from clsource/401-response.php
Helper for Creating REST Web Services with ProcessWire
<?php
/*
* 401 Response
*
* Sends a 401 Response Unauthorized
*
* @author Camilo Castro
*
* @date 29/07/2014