Notes: Everything I Needed to Know, I Learned in Rabbinical School — Yitzchok Willroth — php[tek] 2015
php[architect]
-
Cultivate a mentor for yourself
-
Identify
| #!/bin/bash | |
| wanted=$(basename $0) | |
| dir=. | |
| while [[ ! -x "$dir/$wanted" ]]; do | |
| if [[ "$dir" -ef "../$dir" ]]; then | |
| echo "$wanted not in the current directory or any of its parents" 1>&2 | |
| exit 2 | |
| fi |
| <?php | |
| /** | |
| * rename.php - A Quick and Dirty Prefix Removal Script | |
| * | |
| * This is a quick and dirty prefix removal script. It's meant to be customized quickly and easily, and the | |
| * typical options (the pattern and desired extensions) are defined immediately below. | |
| * | |
| * Writting in 2019 by Robert Kosek <robert[NOSPAM]@woodst.com> | |
| * |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| class TransformingStream { | |
| protected $input; | |
| protected $output; | |
| // Chunk size... | |
| protected $chunkSize = 4096; |
| <!DOCTYPE html> | |
| <body> | |
| <div id="app"></div> | |
| <script type="module"> | |
| import { | |
| m, | |
| patch, | |
| /* or any other exports you want to access */ | |
| } from 'https://unpkg.com/million?module'; |