REFERENCES FOR LEARNING & USING APPLESCRIPT Modified: 2018/06/19 18:47
AppleScript is a rather peculiar scripting language to learn.
| <?php | |
| /** | |
| * Ways to alias a method on a class. | |
| * | |
| * Methods are in order of least preferred (top) to most preferred (bottom). Code style, not performance, is taken into account. | |
| */ | |
| Class Program { | |
| const SECONDS = 1; | |
| const MICROSECONDS = 2; |
| <?php | |
| /** | |
| * Export MySQL users and permissions | |
| * | |
| * This script exports raw CREATE USER and GRANT queries of a given database | |
| * to help migrate MySQL users and permissions to a new server. | |
| * Users will keep their passwords across the migration. | |
| * | |
| * Warning: The import queries expects exactly the same database structure! | |
| * |
| <?php | |
| /** | |
| * @file | |
| * Secure password hashing functions for user authentication. | |
| * | |
| * Based on the Portable PHP password hashing framework. | |
| * @see http://www.openwall.com/phpass/ | |
| * |
| <?php die('This file is not really here!'); | |
| /** | |
| * ------------- DO NOT UPLOAD THIS FILE TO LIVE SERVER --------------------- | |
| * | |
| * Implements code completion for CodeIgniter in phpStorm | |
| * phpStorm indexes all class constructs, so if this file is in the project it will be loaded. | |
| * ------------------------------------------------------------------- | |
| * Drop the following file into a CI project in phpStorm | |
| * You can put it in the project root and phpStorm will load it. |