Skip to content

Instantly share code, notes, and snippets.

View Javlopez's full-sized avatar

Javier Lopez Lopez Javlopez

View GitHub Profile
@Javlopez
Javlopez / gist:5945503
Created July 8, 2013 00:36
Problem with Symfony when i try install zend framework2, using composer (download from http://getcomposer.org/), in ubuntu
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Installing zendframework/zendframework (dev-master 4a052e4)
Cloning 4a052e4834deec1fa76999a1937f73db2f388eee
[Symfony\Component\Process\Exception\RuntimeException]
<div class="lp-row lp-banner-full transportes-del-norte">
<div class="strip-upper">&nbsp;</div>
<div class="gradient">&nbsp;</div>
<div class="lp-wrapper">
<div class="form-busca">Encuentra tu boleto de autob&uacute;s
<div id="searchBoxPage">
<form id="homeSearch" method="GET"><input name="busline" type="hidden" value="gfa" />
<ul>

ClickBus esta en búsqueda de un Desarrollador Senior PHP que tenga las siguientes habilidades:

-Haya programado en lenguaje PHP, programación orientada a objetos, patrones de diseño, MVC, MySQL; PHP (Symfony2, Zend), ORM (Doctrine2, Propel),Control de versiones (Git), Testing (PHPUnit, Behat).

-Si has trabajado con Karma/jasmine, Sass, AngularJS, Aplicaciones RESTful, integración continua o metodología agiles es un plus.

-Tenga amplio dominio en herramientas principales (PHP, HTML, CSS, HTML5, CSS3, Javascript, jQuery)

Debes Tener:

git config alias.rename 'git $1'
git config alias.rename '!git show $1'
git checkout $1 && git reset --hard remotes/origin/$1 &&git branch -m $1 $2 && git push origin :$1 && git checkout $2 && git push origin $2
git config alias.rename '!git checkout $1 && git reset --hard remotes/origin/$1 &&git branch -m $1 $2 && git push origin :$1 && git checkout $2 && git push origin $2'
git config alias.rename '!git checkout $1 && git reset --hard remotes/origin/$1 && git branch -m $1 $2 && git push origin :$1 && git checkout $2 && git push origin $2'
it branch -m MX-RC/1.41.0 MX-RC/1.42.0 && git push origin :MX-RC/1.41.0 && git checkout MX-RC/1.42.0 && git push origin MX-RC/1.42.0
  1. Update by csv

    When we upload csv, only update (replace the quantity) catalog_supplier_stock

catalog_warehouse_stock (own stock) catalog_supplier_stock( supplier stock) reserved available stock
10 10 0 20

csv: GR843EL85HVILAVEN-68580:3

$ sudo pip install awscli
$ aws configure
AWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLE
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]: us-west-2
Default output format [None]: json
$ aws ec2 create-security-group --group-name devenv-sg --description "security group for development environment in EC2"
{
"GroupId": "sg-b018ced5"
class Button extends React.Component{
state = { counter: 0 };
handleClick = () => {
this.setState((prevState) => ({
counter: prevState.counter + 1
}));
};
render(){
@Javlopez
Javlopez / ECS101.txt
Created June 14, 2017 01:47 — forked from brun0d/ECS101.txt
ECS Docker Friends
Crear Cluster
aws ecs create-cluster --cluster-name cdmx
Listar Clusters
aws ecs list-clusters
Describir el Cluster
aws ecs describe-clusters --clusters cdmx
Eliminar cluster
java.lang.IllegalStateException: No baseURL found in HTTPContext
at org.jboss.arquillian.extension.rest.client.BaseRestEnricher.getBaseURL(BaseRestEnricher.java:110)
at org.jboss.arquillian.extension.rest.client.RestEnricher.enrichByType(RestEnricher.java:46)
at org.jboss.arquillian.extension.rest.client.BaseRestEnricher.resolve(BaseRestEnricher.java:74)
at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.enrichArguments(LocalTestExecuter.java:94)
at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
@Javlopez
Javlopez / main.tf
Created March 20, 2020 17:31 — forked from danihodovic/main.tf
Terraform - static site using S3, Cloudfront and Route53
variable "aws_region" {
default = "eu-west-1"
}
variable "domain" {
default = "my_domain"
}
provider "aws" {
region = "${var.aws_region}"