Skip to content

Instantly share code, notes, and snippets.

View aerze's full-sized avatar

Abby aerze

View GitHub Profile
@aerze
aerze / tryCatch.sublime-snippet
Last active August 29, 2015 14:06
Save as tryCatch.sublime-snippet and place in ..\Sublime Text 3\Packages\User\
<snippet>
<content><![CDATA[
try {
${1:// (╯°□°)╯︵ ┻━┻ }
} catch() {
${2:// ┬─┬ ノ( ゜-゜ノ)}
}}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
@aerze
aerze / example.js
Created November 18, 2015 01:20
Creating object pools in Phaserjs
// create a group that will hold all the targets
var setupTarget = function() {
targetPool = game.add.group();
// enable physics
targetPool.enableBody = true;
targetPool.physicsBodyType = Phaser.Physics.ARCADE;
// pre-create a pool
@aerze
aerze / git-alias.sh
Last active April 13, 2016 20:22
Setup short aliases in git (you can just copy+paste into your terminal)
#!/bin/bash
git config --global alias.a "!git add . && git status"
git config --global alias.aa "!git add . && git add -u . && git status"
git config --global alias.ac "!git add . && git commit"
git config --global alias.acm "!git add . && git commit -m"
git config --global alias.alias "!git config --list | grep 'alias\.' | sed 's/alias\.\([^=]*\)=\(.*\)/\1\ \2/' | sort"
git config --global alias.au "!git add -u . && git status"
git config --global alias.c "commit"
git config --global alias.ca "commit --amend"
git config --global alias.cm "commit -m"
var React = require('react');
var Headings = React.createClass({
propTypes: {
h1: React.PropTypes.string.isRequired,
h2: React.PropTypes.string,
name: React.PropTypes.string
},
render: function render() {
.test {
background: black;
}

Keybase proof

I hereby claim:

  • I am aerze on github.
  • I am aerze (https://keybase.io/aerze) on keybase.
  • I have a public key ASDmZXBLQJI2kERK-RU82S2oQUjXqJUYzAqEmrT8h5DjKQo

To claim this, I am signing this object:

@aerze
aerze / dev_bedtime_story.md
Created February 19, 2020 09:14
I decided to write notes as I was debugging a thing to show junior devs what it's like in the _real_ world.

Attempting to install graphql plugin for Strapi (strapi.io)

My project is a basic starter using the directions on installing for docker. Containers are running smooth, db running, server running. I was able to create a few content types (schemas) per the tutorial with minor tweaks. I am able to make a request from the browser, now I'm looking to install a graphql plugin so that I can tailor the response.

It is 11:10pm, Tuesday.

  • Tried clicking the download option from within the admin plugins page, while server was running.