I hereby claim:
- I am srdjanmarjanovic on github.
- I am srdjanmarjanovic (https://keybase.io/srdjanmarjanovic) on keybase.
- I have a public key ASCfzU7uo-ZIXpR6xL745CBkkh30bondpfJ67vNPzVj__Qo
To claim this, I am signing this object:
| <?php | |
| // Request URL | |
| $url = 'http://www.google.com/'; | |
| // HTTP headers | |
| $headers = array( | |
| //'Content-Type: application/json', | |
| //'Accept: application/json', | |
| ); |
| # These steps will get nginx installed on your Mac for local development and | |
| # testing purposes, to be used alongside MAMP (which already includes Apache). | |
| # The following steps assume that you're running MAMP and that you already | |
| # have php-cgi in /Applications/MAMP/bin/php/php5.4.10/bin/php-cgi. | |
| # The start-nginx and stop-nginx scripts created at the end do not | |
| # start or stop MySQL because it is assumed that you normally run MAMP | |
| # with Apache + MySQL turned on and that you occasionally want to switch | |
| # your web server to Nginx for testing purposes and that you leave MySQL running. | |
| # This process was tested successfully on OS X 10.9. |
| <?php | |
| namespace League\Skeleton; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Routing\Router; | |
| class SkeletonServiceProvider extends ServiceProvider | |
| { | |
| /** |
| <?php | |
| interface StrategyInterface { | |
| /** | |
| * Do something. | |
| */ | |
| public function handle(); | |
| } | |
| class Context { |
| <?php | |
| interface StateInterface { | |
| /** | |
| * Turn the light on. | |
| */ | |
| public function ligthOn(); | |
| /** | |
| * Turn the light off. |
| alias sshkey="cat ~/.ssh/id_rsa.pub | pbcopy && echo 'Copied to clipboard.'" |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
| config.vm.network :private_network, ip: "192.168.33.21" |
| <?php | |
| interface Thing { | |
| public function execute(); | |
| } | |
| class A implements Thing { | |
| public function execute() |
| alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
I hereby claim:
To claim this, I am signing this object: