This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| <?php | |
| $countries = array | |
| ( | |
| 'AF' => 'Afghanistan', | |
| 'AX' => 'Aland Islands', | |
| 'AL' => 'Albania', | |
| 'DZ' => 'Algeria', | |
| 'AS' => 'American Samoa', | |
| 'AD' => 'Andorra', |
| " Copyright 2022 Igor Burago. Released under the ISC License. | |
| " Simple emulation of indentation guides. | |
| " | |
| " For tab-based indentation, using the 'listchars' option works fine. | |
| " For space-based indentation, one can either: | |
| " • use the match highlighting feature (see ':help match-highlight'), | |
| " as shown in ToggleMatchHighlightIndentGuides(); or | |
| " • use the 'leadmultispace' setting of the 'listchars' option (added | |
| " in Vim 9.0), as shown in ToggleListCharsIndentGuides(). |
| @rem Do not use "echo off" to not affect any child calls. | |
| @setlocal | |
| @rem Get the abolute path to the parent directory, which is assumed to be the | |
| @rem Git installation root. | |
| @for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI | |
| @set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH% | |
| @if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH% | |
| @if not exist "%HOME%" @set HOME=%USERPROFILE% |
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |
| # Configuration snippet to let system-wide IPython work with virtualenvs | |
| # Code taken from Ahmed Soliman's post at: | |
| # (http://www.ahmedsoliman.com/2011/09/27/use-virtualenv-with-ipython-0-11/) | |
| # Tweaked by Rami Chowdhury | |
| from os import environ | |
| from os.path import join, sep | |
| from sys import version_info | |
| if version_info[0] > 2: | |
| # Python 3.x doesn't define this, so for convenience, we do. |
| var parser = document.createElement('a'); | |
| parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
| parser.protocol; // => "http:" | |
| parser.hostname; // => "example.com" | |
| parser.port; // => "3000" | |
| parser.pathname; // => "/pathname/" | |
| parser.search; // => "?search=test" | |
| parser.hash; // => "#hash" | |
| parser.host; // => "example.com:3000" |
#Mac OS X