All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
| #!/bin/bash | |
| # Creator: Phil Cook | |
| # Modified: Andy Miller | |
| # | |
| # >>> IMPORTANT: Moved to: https://github.com/rhukster/sphp.sh | |
| # >>> Kept here for legacy purposes | |
| # | |
| osx_major_version=$(sw_vers -productVersion | cut -d. -f1) | |
| osx_minor_version=$(sw_vers -productVersion | cut -d. -f2) | |
| osx_patch_version=$(sw_vers -productVersion | cut -d. -f3) |
| data: | |
| image: debian:jessie | |
| user: www-data | |
| volumes: | |
| - ./src:/var/www/ | |
| web: | |
| image: php:5.6-apache | |
| links: | |
| - db |
| // | |
| // ViewController.swift | |
| // HorizontalScrollView | |
| // | |
| // Created by Jörn Schoppe on 13.04.16. | |
| // Copyright © 2016 pixeldock. All rights reserved. | |
| // | |
| import UIKit | |
| import SnapKit |
| <?php | |
| /* | |
| @name Server Logs Viewer | |
| @description Emulates the tail() function. View the latest lines of your LAMP server logs in your browser. | |
| @author Alexandre Plennevaux (pixeline.be) | |
| @team Oleg Basov ([email protected]) | |
| @date 16.12.2015 | |
| */ |
| docker run -rm -t -i -v $(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK ubuntu /bin/bash |
| <?php | |
| date_default_timezone_set('Europe/London'); // Set this to your local timezone - http://www.php.net/manual/en/timezones.php | |
| /** | |
| * The root directory where the repos live. | |
| * | |
| * @var string | |
| */ | |
| $root_dir = '/your/root/dir/'; |
| <?php | |
| // See: http://blog.ircmaxell.com/2013/02/preventing-csrf-attacks.html | |
| // Start a session (which should use cookies over HTTP only). | |
| session_start(); | |
| // Create a new CSRF token. | |
| if (! isset($_SESSION['csrf_token'])) { | |
| $_SESSION['csrf_token'] = base64_encode(openssl_random_pseudo_bytes(32)); | |
| } |