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
| <?php | |
| namespace App\Authentication; | |
| use Auth; | |
| use App\Authentication\UserProvider; | |
| use Illuminate\Support\ServiceProvider; | |
| class AuthServiceProvider extends ServiceProvider | |
| { |
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
| sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
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 http = require('http'); | |
| var sleep = require('sleep'); | |
| var timeout = 100000; //sleep 100 seconds | |
| http.createServer(function (req, res) { | |
| setTimeout((function() { | |
| res.writeHead(200, {'Content-Type': 'text/plain'}); | |
| res.end("Hello I am awake"); | |
| }), timeout); | |
| }).listen(8080); |