Skip to content

Instantly share code, notes, and snippets.

@gr0g
gr0g / nginx_cakephp.dev.conf
Created November 11, 2018 18:47 — forked from Linnk/nginx_cakephp.dev.conf
NGINX configuration file for CakePHP projects with subdirectory
# NGINX Configuration for CakePHP projects with url subdirectories.
#
# In a classic-default-generic CakePHP project you can have as many
# independent applications as you want just by copying the app/
# directory. Apache and the .htaccess files will make the magic, but
# in a nginx server you will need a touch to your virtualhost conf.
#
# So, in order to make this:
#
# example.com/ —> ~/cakephp.dev/app/webroot/index.php
@gr0g
gr0g / simpleXmlToArray.php
Created May 13, 2019 05:31 — forked from jasondmoss/simpleXmlToArray.php
Convert a SimpleXML object to associative array
<?php
/**
* Convert a SimpleXML object to an associative array
*
* @param object $xmlObject
*
* @return array
* @access public
*/
@gr0g
gr0g / Nginx_Cheat_Sheet.md
Created February 5, 2021 12:30 — forked from carlessanagustin/Nginx_Cheat_Sheet.md
Nginx Cheat Sheet
@gr0g
gr0g / init.vim
Created April 27, 2021 14:26 — forked from benawad/init.vim
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'