I hereby claim:
- I am strebl on github.
- I am strebl (https://keybase.io/strebl) on keybase.
- I have a public key whose fingerprint is 5C08 9C92 D84A 5B0A 3019 43F0 D1C2 E752 F619 E917
To claim this, I am signing this object:
<?php | |
$rules = [ | |
'binary_operator_spaces' => ['align_double_arrow' => true, 'align_equals' => false], | |
'blank_line_after_namespace' => true, | |
'blank_line_after_opening_tag' => true, | |
'blank_line_before_return' => true, | |
'braces' => true, | |
'cast_spaces' => true, | |
'class_definition' => true, |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
I hereby claim:
To claim this, I am signing this object:
## | |
# Gzip Settings | |
## | |
# Enable Gzip compressed. | |
gzip on; | |
# Compression level (1-9). | |
# 5 is a perfect compromise between size and cpu usage, offering about | |
# 75% reduction for most ascii files (almost identical to level 9). |
Replace the old class strings 'Illuminate\Foundation\Providers\ArtisanServiceProvider',
with the new class constants Illuminate\Foundation\Providers\ArtisanServiceProvider::class,
with following steps:
'((?:Illuminate|App)\\.+)',
$1::class,
Be careful with that in files with namespaces. It most likely will break your code.
If you have namespace App\Console
and a lot class strings like:
http://redd.it/1xizt0 Gentoo? | |
strebl.ch/21ai Ajenti | |
strebl.ch/1u0w Vesta Control Panel | |
strebl.ch/to6 cPanel | |
strebl.ch/1usg Choosing control panel management | |
strebl.ch/qrr ServerPilot | |
strebl.ch/1dz6 ServerPilot Experience | |
strebl.ch/ntg PuPHPet - A simple GUI to set up virtual machines for Web development. | |
strebl.ch/1ucq Phansible provides an easy-to-use interface to generate Ansible provisionings. |
$(function() { | |
var text = $("#code textarea").text(); | |
var patt = new RegExp(/(.+?): ?(.+?);/gi); | |
var matches = []; | |
while (match = patt.exec(text)) { | |
console.log(match); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |