Skip to content

Instantly share code, notes, and snippets.

arnisjuraga

Block or report user

Report or block arnisjuraga

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
@arnisjuraga
arnisjuraga / convert_twig_to_php_opencart.md
Last active Aug 12, 2019
A small script with manual steps, how to convert simple TWIG templates back to PHP markup. Used for Opencart, sequence is important. Will be updated as used for any new template.
View convert_twig_to_php_opencart.md

TODO: automated script

Regex search-replace

Static variables echo

# Arrays
# with space
@arnisjuraga
arnisjuraga / 0_reuse_code.js
Created Dec 11, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.