Skip to content

Instantly share code, notes, and snippets.

View tblancog's full-sized avatar

Tony Blanco tblancog

  • Buenos Aires, AR
View GitHub Profile
@pavlakis
pavlakis / gist:8810829
Created February 4, 2014 19:42
Getting started with Composer and PSR-4
<?php
/**
* This is a very basic getting started example for setting up a basic project using PSR-4 and
* using composer's autoloader to run the tests.
*
*/
// Create directory MyApp
// Inside MyApp/ create composer.json with the below contents
@harrisonde
harrisonde / gist:90431ed357cc93e12b51
Last active May 24, 2021 22:01
Deploy Laravel 5 applications on AWS Elastic Beanstalk
# The following script will deploy a Laravel 5 applicaion on AWS Elastic Beanstalk.
# Add to .ebextensions at the root of your application and name your commands file (e.g., commands.config)
# -------------------------------- Commands ------------------------------------
# Use "commands" key to execute commands on the EC2 instance. The commands are
# processed in alphabetical order by name, and they run before the application
# and web server are set up and the application version file is extracted.
# ------------------------------------------------------------------------------
commands:
01updateComposer:
@JeffreyWay
JeffreyWay / countries.php
Created July 23, 2015 17:01
Country Names + Codes
[
"United States" => "us",
"Afghanistan" => "af",
"Albania" => "al",
"Algeria" => "dz",
"American Samoa" => "as",
"Andorra" => "ad",
"Angola" => "ad",
"Anguilla" => "ai",
"Antarctica" => "aq",
@rezapadillah
rezapadillah / keymap.cson
Last active November 29, 2019 13:41
Enable Emmet In laravel blade and vue language on atom
1. Go to keymap.cson on your atom editor
2. Copy and paste :
'atom-text-editor[data-grammar="text html php blade"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'atom-text-editor[data-grammar~="vue"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
@bradtraversy
bradtraversy / scrapy.md
Last active November 30, 2022 14:05
Scrapy commands and code