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
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
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
| /** | |
| * Light layer on top of a canvas element to represent an image displayed | |
| * within. Pass in a canvas element and an Image object and you'll see the | |
| * image within the canvas element. Use the provided methods (e.g. blur) to | |
| * manipulate it. | |
| * | |
| * @constructor | |
| * @param {HTMLElement} element HTML canvas element. | |
| * @param {Image} image Image object. | |
| */ |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
| proxy_cache_path /var/cache/nginx/cache levels=1:2 keys_zone=cache:8m max_size=3000m inactive=600m; | |
| proxy_temp_path /var/tmp; | |
| # the IP(s) on which your node server is running. I chose port 3000. | |
| upstream app_the_scratch { | |
| server 127.0.0.1:3000 weight=1 fail_timeout=60s; | |
| } | |
| # the nginx server instance | |
| server { |
| <?php | |
| /* | |
| * Mysql database class - only one connection alowed | |
| */ | |
| class Database { | |
| private $_connection; | |
| private static $_instance; //The single instance | |
| private $_host = "HOSTt"; | |
| private $_username = "USERNAME"; | |
| private $_password = "PASSWORd"; |