Skip to content

Instantly share code, notes, and snippets.

View adrianalonso's full-sized avatar

Adrián Alonso Vega adrianalonso

View GitHub Profile
<?php
namespace AppBundle\Form\Type\SearchFilters;
use AppBundle\Entity\Category;
use AppBundle\Entity\Product;
use AppBundle\Entity\Specialty;
use AppBundle\Entity\SubCategory;
use AppBundle\Entity\User;
use AppBundle\Entity\Venue;
@adrianalonso
adrianalonso / pipedream-circleci.js
Created May 24, 2020 06:28
Pipedream Function to Trigger Build on CircleCI
async (event, steps) => {
const CircleCI = require("circleci-api");
const options = {
token: process.env.CIRCLECI_TOKEN,
vcs: {
type: process.env.CIRCLECI_REPOSITORY_PLATFORM,
owner: process.env.CIRCLECI_OWNER,
repo: process.env.CIRCLECI_REPOSITORY,
},
@adrianalonso
adrianalonso / PromotionProcessor.php
Created December 6, 2020 19:26
Sylius PromotionProcessor
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@adrianalonso
adrianalonso / index.html
Created May 19, 2021 18:17
Piedra Papel Tijera
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link href="style.css" rel="stylesheet" />
</head>
<body>