- laravel/framework#13706
- https://gist.github.com/taylorotwell/ee2f782aec59aa53863fd09c8e47f304?fbclid=IwAR32BCFomlwGUFqksjYY86cZTxxegtNom9uiak-wQiDKRSWI-uwu_1yo2Gg
- https://twitter.com/taylorotwell/status/832247703014895618?fbclid=IwAR1CDbEwZp5HFWvoG3EjMAMBMk4oCL9wazNp2CsSYpHIi-BFLo_dvIAvfRE
- https://github.com/laravel/framework/blob/a04cba37dad5553932f23db05cdeecd3e75363fa/src/Illuminate/Cache/CacheManager.php
- https://www.reddit.com/r/PHP/comments/3bmclk/why_experienced_developers_consider_laravel_as_a/csnfoce/
- https://www.reddit.com/r/PHP/comments/3bmclk/why_experienced_developers_consider_laravel_as_a/csod45r/
- !! https://www.reddit.com/r/PHP/comments/3bmclk/why_expe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
iptables -A PREROUTING -d 192.168.1.11 -t mangle -j MARK --set-mark 1 | |
iptables -A PREROUTING -d 192.168.1.22 -t mangle -j MARK --set-mark 2 | |
ip rule add fwmark 1 table 1 | |
ip rule add fwmark 2 table 2 | |
ip route add default via 192.168.1.11 table 1 | |
ip route add default via 192.168.1.22 table 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: | |
class: A\B\C | |
calls: | |
- [setRequestStack, [@request_stack]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var resolver = function(module, obj, dependencies){ | |
if(typeof exports == 'Object'){ | |
var objects = []; | |
for(var d in dependencies){ | |
objects.push = require(d); | |
} | |
exports[module] = obj.apply(null, objects); | |
}else{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( typeof module === "object" && module && typeof module.exports === "object" ) { | |
// Expose jQuery as module.exports in loaders that implement the Node | |
// module pattern (including browserify). Do not create the global, since | |
// the user will be storing it themselves locally, and globals are frowned | |
// upon in the Node module world. | |
module.exports = jQuery; | |
} else { | |
// Otherwise expose jQuery to the global object as usual | |
window.jQuery = window.$ = jQuery; |