Skip to content

Instantly share code, notes, and snippets.

View Caroga's full-sized avatar

Roberto Gardenier Caroga

View GitHub Profile
<?php
namespace App\Listeners;
use TightenCo\Jigsaw\Jigsaw;
use App\PseudoCollectionGenerator;
use Illuminate\Support\Collection;
class AddArchivePages extends PseudoCollectionGenerator
{
@Caroga
Caroga / init.bat
Created February 18, 2018 23:02 — forked from R-Elijah/init.bat
The edited init.bat to run Cmder in PhpStorm
@echo off
set CMDER_ROOT=C:\Users\Elijah\Documents\Portable Installations\cmder-master
set DL=%~d0
set LAST_CD=%cd%
:: Init Script for cmd.exe
:: Created as part of cmder project
:: !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
@Caroga
Caroga / keybase.md
Created March 20, 2017 21:31
keybase.md

Keybase proof

I hereby claim:

  • I am caroga on github.
  • I am caroga (https://keybase.io/caroga) on keybase.
  • I have a public key whose fingerprint is D8D3 5221 8481 DD44 ADC9 B1CF CB56 C6C9 07F6 E6A2

To claim this, I am signing this object:

docker run -v $PWD:/srv composer create-project laravel/laravel my-project "~5.0.0" --prefer-dist
Installing laravel/laravel (v5.0.22)
- Installing laravel/laravel (v5.0.22)
Downloading: 100%
Created project in my-project
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
# Maintainer: David Jurenka <arch.box NO-SP@M imx.jurenka DOT cz>
# Contributor: Danilo Kuehn <dk at nogo-software dot de>
pkgname=vaiopower
pkgver=0.5.0
pkgrel=3
pkgdesc="Tool for power management of Sony Vaio laptop devices"
arch=(any)
url="http://vaio-utils.org/power/"
license=('custom:ISC')
@Caroga
Caroga / config.yml
Created July 31, 2015 12:54
Assetics configuration for using theme fonts
assets:
carrois:
inputs: '%kernel.root_dir%/Resources/public/fonts/carrois.woff'
output: 'fonts/carrois.woff'
opensans:
inputs: '%kernel.root_dir%/Resources/public/fonts/opensans.woff'
output: 'fonts/opensans.woff'
opensans-bold:
inputs: '%kernel.root_dir%/Resources/public/fonts/opensans-bold.woff'
output: 'fonts/opensans-bold.woff'
foo:
bar: true
<?php
namespace CarogaNet\DirectWordpress\ApiBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
class ApiExtension extends Extension