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
| <?php | |
| error_reporting(E_ALL); | |
| ini_set('display_errors', TRUE); | |
| ini_set('display_startup_errors', TRUE); |
| //setup | |
| error_reporting(E_ALL); | |
| ini_set('error_log','error.log'); | |
| //use | |
| error_log($variable); | |
| error_log("\n".var_export($message, true)); |
| # | |
| # 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)" |
| <?php | |
| class MyModel extends Eloquent { | |
| public function getSql() | |
| { | |
| $builder = $this->getBuilder(); | |
| $sql = $builder->toSql(); | |
| foreach($builder->getBindings() as $binding) | |
| { |
| # 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' |
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
| { | |
| "parser": "babel-eslint", | |
| "ecmaFeatures": { | |
| "modules": true, | |
| "experimentalObjectRestSpread": true | |
| }, | |
| "env": { | |
| "amd": true, | |
| "browser": true, | |
| "es6": true, |
| accessible | |
| adaptTo | |
| analyzable | |
| cellName | |
| childEditConfig | |
| class | |
| componentGroup | |
| container | |
| declaredChildEditConfig | |
| declaredEditConfig |
| // =================================================== | |
| // 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 |