Skip to content

Instantly share code, notes, and snippets.

View JRetza's full-sized avatar
:shipit:
working in the shadows

J.R. JRetza

:shipit:
working in the shadows
View GitHub Profile
@JRetza
JRetza / README.md
Created September 1, 2020 13:13 — forked from roachhd/README.md
Games on GitHub

Games on GitHub

Below is a list of open source games and game-related projects that can be found on GitHub - old school text adventures, educational games, 8-bit platform games, browser-based games, indie games, GameJam projects, add-ons/maps/hacks/plugins for commercial games, libraries, frameworks, engines, you name it.

Contributing

If you'd like to add a repository to the list, please create an Issue, or fork this repository and submit a pull request.

Help: MarkDown Help, Markdown Cheatsheet

{embed="includes/header"}
{if logged_out}
{redirect="teachers"}
{/if}
{exp:stash:parse parse_tags="yes"}
{exp:zoo_visitor:details}
{exp:stash:set name="id"}{entry_id}{/exp:stash:set} <br>
{exp:stash:set name="email"}{email}{/exp:stash:set}
@JRetza
JRetza / .htaccess
Created September 9, 2019 20:39 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@JRetza
JRetza / _vanity_router.twig
Created November 27, 2018 21:51 — forked from rungta/ _vanity_router.twig
Vanity URL routing for Craft CMS
{# Treat the slug as a template path #}
{% set template = include(top_level_slug, ignore_missing = true) %}
{# Render the template contents if found, otherwise treat the slug as a username #}
{% if template is not empty %}
{{- template|raw -}}
{% else %}
{%- include 'users/_profile' with { username: top_level_slug } -%}
{% endif %}