Skip to content

Instantly share code, notes, and snippets.

Andrea De Pirro akira28

Block or report user

Report or block akira28

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View genesis_public_key
dateStart=$(date -d "last Tue" "+%Y-%-m-%-d")
dateEnd=$(date -d Sun "+%Y-%-m-%-d")
echo $dateStart
result=$(curl "$url")
echo "$url"
echo "${dateStart}?byZone=marvel_site_zone&offset=0&tab=mu&isDigital=1&byType=date&dateStart=${dateStart}&dateEnd=${dateEnd}&type=&orderBy=release_date+desc&limit=300" > $filename
akira28 / magento-nginx.conf
Created May 2, 2017 — forked from gwillem/magento-nginx.conf
Battle-tested Nginx configuration for Magento (source:
View magento-nginx.conf
# This is an annotated subset of the Nginx configuration from our Magento production platform @
# See
# !!!! If you are a Hypernode customer, do not use this config as it will result in duplicate statements. !!!!!
user app;
worker_processes 4;
pid /var/run/;
events {
View S3FixExistingMedia.php
/* ======================================================
This script is NOT FULLY TESTED (not tested on Windows Server either)
USE AT YOUR OWN RISK - development environment Ubuntu Linux 14.04.3 LTS
The purpose of this script is for small websites and blogs
to have their existing media to work through Amazon S3
There's a great plugin, WP Offload S3, that we'll be tapping works great for new media, but this is a quick
echo "Install brew"
/usr/bin/ruby -e "$(curl -fsSL"
echo ""
echo "Install apps"
brew cask install --appdir="/Applications" java google-chrome skype vagrant phpstorm firefox radiant-player mysqlworkbench sequel-pro textwrangler
brew cask install --appdir="/Applications" libreoffice slack dropbox imageoptim tunnelblick virtualbox virtualbox-extension-pack the-unarchiver whatsapp
brew cask install --appdir="/Applications" ccleaner android-studio purevpn cyberduck ccleaner calibre coconutbattery flash-player telegram-desktop
brew cask install --appdir="/Applications" spectacle vlc kodi xquartz inkscape launchrocket ngrok transmission gog-galaxy origin steam spotify atom spark
View .bash_profile
# ---------------------------------------------------------------------------
# Description: This file holds all my BASH configurations and aliases
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
You can’t perform that action at this time.