Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Analyzing leaf nodes

John Rom johnrom

💭
Analyzing leaf nodes
View GitHub Profile
@johnrom
johnrom / gist:97fba93338a63a1e07dd7cbe6c90fb56
Created May 1, 2017
Server Initialization Failed :: RecursiveDirectoryIterator :: VSCode-PHP-IntelliSense
View gist:97fba93338a63a1e07dd7cbe6c90fb56
[Error - 10:52:02 AM] Server initialization failed.
Message: UnexpectedValueException: RecursiveDirectoryIterator::__construct(c:/Users/user/Documents/projects/docker/project/www\node_modules\bourbon-neat\public\node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\load-json-file\node_modules\pify,c:/Users/user/Documents/projects/docker/project/www\node_modules\bourbon-neat\public\node_modules\gulp\node_modules\gulp-util\node_modules\dateformat\node_modules\meow\node_modules\read-pkg-up\node_modules\read-pkg\node_modules\load-json-file\node_modules\pify): The system cannot find the path specified. (code: 3) in C:\Users\user\.vscode\extensions\felixfbecker.php-intellisense-1.1.5\vendor\webmozart\glob\src\Iterator\RecursiveDirectoryIterator.php:43
Stack trace:
#0 C:\Users\user\.vscode\extensions\felixfbecker.php-intellisense-1.1.5\vendor\webmozart\glob\src\Iterator\RecursiveDirectoryIterator.php(43): RecursiveDirectoryIte
View VSCodePHPIntellisense.txt
TypeError: Return value of LanguageServer\DefinitionResolver::resolveExpressionNodeToType() must implement interface phpDocumentor\Reflection\Type, null returned in C:\Users\john\.vscode\extensions\felixfbecker.php-intellisense-1.1.2\vendor\felixfbecker\language-server\src\DefinitionResolver.php:444
Stack trace:
#0 C:\Users\john\.vscode\extensions\felixfbecker.php-intellisense-1.1.2\vendor\felixfbecker\language-server\src\DefinitionResolver.php(238): LanguageServer\DefinitionResolver->resolveExpressionNodeToType(Object(PhpParser\Node\Expr\FuncCall))
#1 C:\Users\john\.vscode\extensions\felixfbecker.php-intellisense-1.1.2\vendor\felixfbecker\language-server\src\NodeVisitor\ReferencesCollector.php(38): LanguageServer\DefinitionResolver->resolveReferenceNodeToFqn(Object(PhpParser\Node\Expr\PropertyFetch))
#2 C:\Users\john\.vscode\extensions\felixfbecker.php-intellisense-1.1.2\vendor\nikic\php-parser\lib\PhpParser\NodeTraverser.php(108): LanguageServer\NodeVisitor\ReferencesCollector->enterNode(Object(PhpParser\No
@johnrom
johnrom / wp-content.html
Last active Sep 27, 2020
Dream Post Rendering
View wp-content.html
<!--<WPCONTENT>{
"blocks": [
{
"type": "header",
"class": "header-rendered",
"content": "%%WPC[0]%%",
"block_type": "h2"
},
{
"type": "wrapper",
View test.json
{
"containers": [
{
"ID": "ae7404935d352d7ae0e36d44c61d7009c60e74549ac5c9403752d0da77ea3d7d",
"Addresses": [
{
"IP": "172.17.0.3",
"IP6LinkLocal": "",
"IP6Global": "",
"Port": "80",
View docker-compose.yml
# The NGINX Reverse Proxy that routes to other containers
myproxy:
image: jwilder/nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock
- ./_conf/certs:/etc/nginx/certs
ports:
- "80:80"
- "443:443"
View nginxdata.json
{
"containers": [
{
"ID": "4adacd1b00e3606b77ac9b517bd508169c538260eb1c1c3d17b1cf15be281c1d",
"Addresses": [
{
"IP": "172.17.0.26",
"IP6LinkLocal": "",
"IP6Global": "",
"Port": "80",
View nginx-proxy-config.json
{
".": [
{
"ID": "7cdb686078ac90424a00953acf7aa26113d55ee6c826794e2801eba289edb608",
"Addresses": [
{
"IP": "172.17.0.25",
"IP6LinkLocal": "",
"IP6Global": "",
"Port": "443",
View fouc.html
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<title>FOUC</title>
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/,'js');
</script>
</head>
You can’t perform that action at this time.