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
// =================================================== | |
// CSS Grid Layout Helper | |
// | |
// To convert some of the CSS Grid Spec 2 features to Spec 1 | |
// | |
// Author: Sascha Fuchs | |
// | |
// =================================================== | |
/// Add Gap between the boxes |
accessible | |
adaptTo | |
analyzable | |
cellName | |
childEditConfig | |
class | |
componentGroup | |
container | |
declaredChildEditConfig | |
declaredEditConfig |
{ | |
"parser": "babel-eslint", | |
"ecmaFeatures": { | |
"modules": true, | |
"experimentalObjectRestSpread": true | |
}, | |
"env": { | |
"amd": true, | |
"browser": true, | |
"es6": true, |
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
# Generated on 2013-10-28 using generator-bootstrap-less 3.0.3 | |
"use strict" | |
#lrSnippet = require("grunt-contrib-livereload/lib/utils").livereloadSnippet | |
#mountFolder = (connect, dir) -> | |
# connect.static require("path").resolve(dir) | |
# # Globbing | |
# for performance reasons we're only matching one level down: | |
# 'test/spec/{,*/}*.js' |
<?php | |
class MyModel extends Eloquent { | |
public function getSql() | |
{ | |
$builder = $this->getBuilder(); | |
$sql = $builder->toSql(); | |
foreach($builder->getBindings() as $binding) | |
{ |
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
//setup | |
error_reporting(E_ALL); | |
ini_set('error_log','error.log'); | |
//use | |
error_log($variable); | |
error_log("\n".var_export($message, true)); |
<?php | |
error_reporting(E_ALL); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); |