Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| <?php | |
| // Utilisation d'une classe Task pour clarifier mon code précédent à base de tableaux | |
| class Task | |
| { | |
| protected $taskId; | |
| protected $coroutine; | |
| protected $sendValue = null; | |
| protected $beforeFirstYield = true; |
| /* | |
| Exemples : | |
| <a href="posts/2" data-method="delete" data-token="{{csrf_token()}}"> | |
| - Or, request confirmation in the process - | |
| <a href="posts/2" data-method="delete" data-token="{{csrf_token()}}" data-confirm="Are you sure?"> | |
| */ | |
| (function() { | |
| # Redirect other IP addresses | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| # Single IP Address | |
| RewriteCond %{REMOTE_HOST} !^00.00.00.00 | |
| # Multiple IP Addresses | |
| RewriteCond %{REMOTE_HOST} !^(00.00.00.00|00.00.00.00) | |
| RewriteRule .* http://www.example.com/ [R=301,L] |
| #!/bin/bash | |
| # | |
| # Startup script for the Supervisor server | |
| # | |
| # Tested with CentOS release 6.6 | |
| # | |
| # chkconfig: 2345 85 15 | |
| # description: Supervisor is a client/server system that allows its users to \ | |
| # monitor and control a number of processes on UNIX-like \ | |
| # operating systems. |
| #!KAMAILIO | |
| # | |
| # Kamailio (OpenSER) SIP Server v4.1 - default configuration script | |
| # - web: http://www.kamailio.org | |
| # - git: http://sip-router.org | |
| # | |
| # Direct your questions about this file to: <[email protected]> | |
| # | |
| # Refer to the Core CookBook at http://www.kamailio.org/wiki/ |
| #!/bin/bash | |
| # Created for Debian 7.0 x64 (Wheezy) but should work on any Debian Variant | |
| blue='\e[0;34m' | |
| NC='\e[0m' # No Color | |
| echo -e "${blue}Installing Prerequisites Required for the installer to complete${NC}" | |
| apt-get install -y autoconf automake devscripts gawk g++ git-core libjpeg-dev libncurses5-dev libtool make python-dev pkg-config libtiff5-dev libperl-dev libgdbm-dev libdb-dev sudo gcc flex bison libmysqlclient-dev libssl1.0.0 libcurl3 libxml2 libpcre3 gettext && \ |
| <?php | |
| /* | |
| This is a very tiny proof-of-concept SMTP client. Currently it's over 320 characters (if the var names are compressed). Think you can build one smaller? | |
| */ | |
| ini_set('default_socket_timeout', 3); | |
| $user = '[email protected]'; | |
| $pass = ''; | |
| $host = 'ssl://smtp.gmail.com'; |