Skip to content

Instantly share code, notes, and snippets.

View acjbizar's full-sized avatar
💙
Nosce te ipsum dolor sit amet.

ACJ acjbizar

💙
Nosce te ipsum dolor sit amet.
View GitHub Profile
@acjbizar
acjbizar / common-image-sizes.md
Last active December 29, 2022 12:54
Common image sizes

Some common image sizes I need every now and then.

Atom

Icon

1:1

Logo

@acjbizar
acjbizar / hamburger.svg
Last active July 8, 2021 16:55
Flexible hamburger menu.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@acjbizar
acjbizar / q.md
Last active December 9, 2021 20:21
Pokémon GO search queries

Trade

These are candy (and therefor Pokémon) I always like to receive in trades.

+bulb,+char,+squ,+odd,+bell,+rhy,+chan,+tang,+snorl,+drag,+tog,+swin,+lar,+mud,+sla,+wai,+cor,+bag,+bel,+shinx,+cran,+gib,+rio,+tim,+sewa,+sandi,+daru,+arch,+van,+kar,+kli,+tyn,+elg,+litw,+golet,+ruff,+dei,+panc,+skr,+clau,+noi

Great League

Filter top 30 Pokémon that are viable for the Great League. Some might have to evolve, or be purified first.

@acjbizar
acjbizar / index.html
Created August 19, 2020 07:31
Add this to HTML files for Google DoubleClick Studio
<script src="https://s0.2mdn.net/ads/studio/Enabler.js"></script>
@acjbizar
acjbizar / jeeweetje.php
Last active January 23, 2020 10:00
Een jw’tje.
<?php
if(!function_exists('jw')) {
function jw() {
ob_start();
$expression = func_get_args();
call_user_func_array('var_dump', $expression);
echo '<pre><code class="language-php">' . htmlentities(ob_get_clean()) . '</code></pre>';
}
}

Shopware 6 Commands

bin/console cache:clear
bin/console theme:compile
@acjbizar
acjbizar / robots.txt
Created October 17, 2019 12:36
A robots.txt boilerplate.
User-Agent: *
# Disallow indexing of URL's with query parameters.
Disallow: /*?*
# WordPress specific stuff.
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
@acjbizar
acjbizar / dad.css
Last active August 20, 2019 11:48
Dad jokes style sheet (this is really dumb).
.death {
font-variant: small-caps;
}
.titanic {
float: none;
}
.zz-top {
z-index: 2147483647;
@acjbizar
acjbizar / magento2-commands.md
Last active February 16, 2022 12:40
Front-end development in Magento 2 requires more command line instructions than is probably reasonable. Let’s make a collection.

Install dependencies

Install Node (with npm)

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs