<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| #!/bin/sh | |
| # FuelPHP Install Script | |
| # | |
| # @author Kenji Suzuki https://github.com/kenjis | |
| # @copyright 2011 Kenji Suzuki | |
| # @license MIT License http://www.opensource.org/licenses/mit-license.php | |
| if [ $# -lt 2 ]; then | |
| echo "Install FuelPHP and Create Application Repository" |
| # This is an example resource file for rTorrent. Copy to | |
| # ~/.rtorrent.rc and enable/modify the options as needed. Remember to | |
| # uncomment the options you wish to enable. | |
| # Maximum and minimum number of peers to connect to per torrent. | |
| min_peers = 1 | |
| max_peers = 100 | |
| # Same as above but for seeding completed torrents (-1 = same as downloading) |
| #!/bin/sh | |
| # FuelPHP Install Script | |
| # | |
| # @author Kenji Suzuki https://github.com/kenjis | |
| # @copyright 2011 Kenji Suzuki | |
| # @license MIT License http://www.opensource.org/licenses/mit-license.php | |
| if [ $# -lt 2 ]; then | |
| echo "Install FuelPHP and Create Application Repository" |
| <?php | |
| /** | |
| * Recursively implodes an array with optional key inclusion | |
| * | |
| * Example of $include_keys output: key, value, key, value, key, value | |
| * | |
| * @access public | |
| * @param array $array multi-dimensional array to recursively implode | |
| * @param string $glue value that glues elements together |
| /** | |
| * Resize image - preserve ratio of width and height. | |
| * @param string $sourceImage path to source JPEG image | |
| * @param string $targetImage path to final JPEG image file | |
| * @param int $maxWidth maximum width of final image (value 0 - width is optional) | |
| * @param int $maxHeight maximum height of final image (value 0 - height is optional) | |
| * @param int $quality quality of final image (0-100) | |
| * @return bool | |
| */ | |
| function resizeImage($sourceImage, $targetImage, $maxWidth, $maxHeight, $quality = 80) |
| <?php | |
| /** | |
| * preg_match over given array with a defined pattern | |
| * | |
| * Example: | |
| * | |
| * $names = array( | |
| * 'hans', | |
| * 'dieter', | |
| * 'peter', |
| /* | |
| <a href="posts/2" data-method="delete"> <---- We want to send an HTTP DELETE request | |
| - Or, request confirmation in the process - | |
| <a href="posts/2" data-method="delete" data-confirm="Are you sure?"> | |
| */ | |
| (function() { |
just change out app_name for your purposes
openssl genrsa 2048 > app_name-wildcard.key
openssl req -new -x509 -nodes -sha1 -days 3650 -key app_name-wildcard.key > app_name-wildcard.cert
# Common Name (eg, your name or your server's hostname) []:*.app_name.com
openssl x509 -noout -fingerprint -text < app_name-wildcard.cert > app_name-wildcard.info| path_your_folder/* | |
| !path_your_folder/.gitkeep | |