I hereby claim:
- I am sergeimuller on github.
- I am sergeimuller (https://keybase.io/sergeimuller) on keybase.
- I have a public key whose fingerprint is B0C7 DE13 3C3C D056 A6AC 49E7 9188 8FF9 A362 CC37
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
//characterCount function specified on dialog node | |
function (textbox, max) { | |
var count = max - document.getElementById(textbox.el.id).value.length; | |
var counter = textbox.container.dom.nextElementSibling; | |
if (count < 0) { | |
counter.innerHTML = '<b>Max characters: (' + max + ')</b> <span style=\"color:#fb4c50;\">Remaining: (' + count + ')</span><br /><br />' + textbox.fieldDescription; | |
} else { | |
counter.innerHTML = '<b>Max characters: (' + max + ')</b> Remaining: (' + count + ')<br /><br />' + textbox.fieldDescription; | |
} | |
} |
Root directory 0755 | |
wp-admin 0755 | |
wp-content 0755 | |
wp-includes 0755 | |
.htaccess 0640 | |
readme.html 0400 | |
wp-config.php 0644 | |
wp-admin/index.php 0644 | |
wp-admin/.htaccess 0640 |
/* Sample @font-face declaration for EOT & TTF/OTF recommended by Paul Irish */ | |
@font-face { | |
font-family: 'Graublau Web'; | |
src: url('GraublauWeb.eot?') format('eot'), | |
url('GraublauWeb.woff') format('woff'), | |
url('GraublauWeb.ttf') format('truetype'); | |
} | |
/* Read the full article: http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ */ |
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"
All pages below content path
/* | |
TODO: Fix case where startOrRange is | |
*/ | |
function range(startOrRange, end = null, step = null) { | |
if (!startOrRange) return null; // Return null if no parameters are passed | |
const rangeArray = []; // Array to be populated |
git remote prune origin && git remote rm origin
Sometimes when you want to checkout a branch, even though your current branch is clean, you'll get a failed partial checkout, because a file in your current branch will be changed by the new branch (Looking at you .xcodeproj
files). As long as you know your current branch is clean and up-to-date, -f
force the checkout
git checkout -f the_branch
{ | |
"compilerOptions": { | |
"baseUrl": "./src", | |
"allowSyntheticDefaultImports": false, | |
"module": "commonJS", | |
"target": "es6", | |
"paths": { | |
"*/*": ["./src/*"] | |
} | |
}, |