Skip to content

Instantly share code, notes, and snippets.

View amineo's full-sized avatar

Anthony Mineo amineo

View GitHub Profile
@amineo
amineo / tag-list.js
Last active February 25, 2021 19:07
AnthonyMineo.com - Output all tags as a list
// If you just want a list of linkable tags
import React from 'react'
import { tags } from '@/tags'
function TagList() {
return (
<ul className="divide-y divide-gray-200">
@amineo
amineo / docker run traefik:1.7.0-rc3 --help
Created August 31, 2018 20:21
Traefik 1.7.0-rc3 --help
traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease.
Complete documentation is available at https://traefik.io
Usage: traefik [--flag=flag_argument] [-f[flag_argument]] ... set flag_argument to flag(s)
or: traefik [--flag[=true|false| ]] [-f[true|false| ]] ... set true/false to boolean flag(s)
Available Commands:
bug Report an issue on Traefik bugtracker
healthcheck Calls traefik /ping to check health (web provider must be enabled)
storeconfig Store the static traefik configuration into a Key-value stores. Traefik will not start.
@amineo
amineo / docker run traefik:1.6.6 --help
Last active August 31, 2018 20:22
Traefik 1.6.6 --help
traefik is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease.
Complete documentation is available at https://traefik.io
Usage: traefik [--flag=flag_argument] [-f[flag_argument]] ... set flag_argument to flag(s)
or: traefik [--flag[=true|false| ]] [-f[true|false| ]] ... set true/false to boolean flag(s)
Available Commands:
bug Report an issue on Traefik bugtracker
healthcheck Calls traefik /ping to check health (web provider must be enabled)
storeconfig Store the static traefik configuration into a Key-value stores. Traefik will not start.
@amineo
amineo / .zshrc
Created April 7, 2018 19:23
My oh-my-zsh .zshrc config
# Path to your oh-my-zsh installation.
export ZSH=/Users/Anthony/.oh-my-zsh
export TERM="xterm-256color"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="bullet-train"
@amineo
amineo / evoPackage.cs
Last active October 14, 2017 01:29
Modified to allow damage on everything but Large Gens and StationInvos
package evolution_package {
function TR2Game::getTeamName(%game, %team)
{
if ( $Evo::ThisMission::TeamName[%team] )
{
return $Evo::ThisMission::TeamName[%team];
}
if($Evo::ETMMode && %team != 0)
@amineo
amineo / PubSubReactExample.jsx
Last active October 11, 2018 08:48
Communication Between Independent Components in React using PubSubJS
/**
* PubSubReactExample.jsx
* https://anthonymineo.com/communication-between-independent-components-in-react-using-pubsubjs/
*
* Anthony Mineo (@Mineo27)
*
* Disclaimer: The goal was to make this example easy to follow.
* Obviously, there are a number of optimizations that can be done to the code below.
**/
@amineo
amineo / grids.json
Created June 1, 2016 21:31
Bootstrap 4 Grid Guides. Exported by the GuideGuide plugin.
[{"name":"BS4 - XL - 1140 (canvas:1470)","notation":"$v = | 65px | 15px | 15px |\n$vC = | 65px |\n150px | 15px | 15px | $v*11 | $vC | 15px | 15px | 150px ( vlp, | ~ )"},{"name":"BS4 - LG - 940 (canvas:1270)","notation":"150px | 17px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 15px | 48px | 15px | 17px | ( vlp )"},{"name":"BS4 - MD - 720 (canvas:1050)","notation":"150px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | 30px | 15px | 15px | ( vlp )"}]