Skip to content

Instantly share code, notes, and snippets.

View georanma's full-sized avatar

Lotte B georanma

  • West New York, NJ
View GitHub Profile
use Carbon\Carbon;
// $start = Carbon::now()->subDays(30);
// $end = Carbon::now()->subDays(15);
$start = Carbon::createFromFormat('m-d-Y', '11-10-2021');
$end = Carbon::createFromFormat('m-d-Y', '11-19-2021');
$period = CarbonPeriod::since($start)->until($end);
$accounts = [1896639012498548, 1985512714220476, 3189634405969789, 4276831373018237];
@georanma
georanma / Dockerfile
Created March 20, 2019 20:34
Docker Magento 1 w/ Xdebug
FROM php:7.2-fpm
RUN apt-get -qq update && apt-get -qq install libxml++2.6-dev > /dev/null
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
zlib1g-dev \
libicu-dev \
g++ \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \