To pupils: all binaries can be downloaded http://pan.baidu.com/s/1ntCChyp
After overwriting, maybe need to run chmod +x /path/to/sublime_text. For linux default installation, need to add sudo.
For programmers:
| <?php | |
| namespace App\Http\Middleware; | |
| class CaptureRequestExtension | |
| { | |
| public function handle($request, $next) | |
| { | |
| if ($request->route()->parameter('_extension') !== null) { | |
| $request->attributes->set('_extension', substr($request->route()->parameter('_extension'), 1)); |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Twitter</title> | |
| <link rel="stylesheet" type="text/css" href="./css/tailwind.css"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> | |
| </head> |
| Tags: Sublime Text 2 License Key, Sublime Text 3 License Key, Sublime Text Full Version | |
| Go to menu Help > Enter License. | |
| ----- BEGIN LICENSE ----- | |
| J2TeaM | |
| 2 User License | |
| EA7E-940282 | |
| 45CB0D8F 09100037 7D1056EB A1DDC1A2 |
To pupils: all binaries can be downloaded http://pan.baidu.com/s/1ntCChyp
After overwriting, maybe need to run chmod +x /path/to/sublime_text. For linux default installation, need to add sudo.
For programmers:
| <?php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class NewRelicPatch | |
| { | |
| public function handle($request, Closure $next) | |
| { |
Note The extension Imagick is now included in Ondrej's PPA. All you need to do now is
$ sudo apt-get install php-imagick, and you're done. I'll keep the guide here because a lot of it is still true for other extensions
======
I've installed PHP7 via Ondrej's PPA. He maintains these PPA's on his free time, consider donating
| #!/bin/bash | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit | |
| fi | |
| apt-get install pkg-config libmagickwand-dev -y | |
| cd /tmp | |
| wget http://pecl.php.net/get/imagick-3.4.0RC2.tgz | |
| tar xvzf imagick-3.4.0RC2.tgz |
| #!/usr/bin/env bash | |
| # Upgrade Base Packages | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| # Install Web Packages | |
| sudo apt-get install -y build-essential dkms re2c apache2 php5 php5-dev php-pear php5-xdebug php5-apcu php5-json php5-sqlite \ | |
| php5-mysql php5-pgsql php5-gd curl php5-curl memcached php5-memcached libmcrypt4 php5-mcrypt postgresql redis-server beanstalkd \ | |
| openssh-server git vim python2.7-dev |
| <?php | |
| /** | |
| * Dump helper. Functions to dump variables to the screen, in a nicley formatted manner. | |
| * @author Joost van Veen | |
| * @version 1.0 | |
| */ | |
| if (!function_exists('dump')) { | |
| function dump ($var, $label = 'Dump', $echo = TRUE) | |
| { | |
| // Store dump in variable |