(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
$count = array(); | |
$path = __DIR__.'/php-fig/mbox/'; | |
foreach(scandir($path) as $file) { | |
if(in_array($file, array('.', '..'))) { | |
continue; | |
} | |
$file = file_get_contents($path.$file); |
<?php | |
interface UrlGeneratorInterface | |
{ | |
/** | |
* Generates a URL for the given route name and parameters. The options | |
* MAY be used to provide hints for the URL generation. This includes | |
* information about different parts of a URL, e.g. the scheme or port to | |
* use or whether absolute or relative URLs should be generated. | |
* |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
##ss-redir 的 iptables 配置(透明代理)
透明代理指对客户端透明,客户端不需要进行任何设置就使用了网管设置的代理规则
创建 /etc/ss-redir.json 本地监听 7777
运行ss-redir -v -c /etc/ss-redir.json
iptables -t nat -N SHADOWSOCKS
# 在 nat 表中创建新链
iptables -t nat -A SHADOWSOCKS -p tcp --dport 23596 -j RETURN
# 23596 是 ss 代理服务器的端口,即远程 shadowsocks 服务器提供服务的端口,如果你有多个 ip 可用,但端口一致,就设置这个
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks |
<?php | |
namespace Psr\Uri; | |
use Psr\Uri\Exception\InvalidArgumentException; | |
/** | |
* A hierarchical uniform resource identifier (URI) is either an absolute URI | |
* whose scheme-specific part begins with a slash ("/"), or a relative URI, | |
* that is, a URI that does not specify a scheme. |
There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.
I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:
Since this is on Hacker News and reddit...
_t
in my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries".char *
s.type * name
, however, is entirely intentional.