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 |
Official docs | |
Documentation <a>http://laravel.com/docs/</a> | |
Laravel Ins & Outs (Community News / Laravel Weekly) <a>http://laravel.io</a> | |
Forums <a>http://forums.laravel.io/</a> | |
Wiki <a>http://wiki.laravel.io/</a> | |
GitHub <a>https://github.com/laravel/laravel</a> | |
Cheatsheet | |
http://cheats.jesse-obrien.ca/ |
//required it in global.php | |
Validator::extend('alpha_spaces', function($attribute, $value) | |
{ | |
return preg_match('/^[\pL\s]+$/u', $value); | |
}); | |
// use it as usual: | |
$rules = array('name' => 'required|alpha_spaces'); |