Skip to content

Instantly share code, notes, and snippets.

akuzemchak /
Last active November 16, 2023 08:48
New L4 project with clean history
# Initial setup
git clone -o framework -b develop project-name
cd project-name
git checkout --orphan master
git commit -m "Initial commit"
# Pulling changes
git fetch framework
git merge --squash -m "Upgrade Laravel" framework/develop
# Fix merge conflicts if any and commit
manifestuk /
Last active January 14, 2022 04:15
Gist for retrieving a full website using wget, because I always forget the options.
# Explanation:
# `--adjust-extension`
# Add `.html` file extension to any files of type `application/xhtml + xml` or `text/html`.
# Add `.css` file extension to any files of type `text/css`.
# `--convert-links`
# Convert full links to relative.
# `--level=inf` (`-l inf`)
// Add these two meta tags to
// Now you can use as your OpenID
// and authenticate using your Google account.
// Thanks:
<link rel="openid2.provider" href="" >
<link rel="openid2.local_id" href="[your_google_profile_name]" >
// Written by Leevi Graham - Technical Director -
// All the best EE extensions can be found at: !!
The function below demonstrates how to use the weblog obect
to parse your own custom module / plugin tags
Usage {exp:my_plugin:use_weblog_object} ... {exp:my_plugin:use_weblog_object}
The tag will now behave like an exp:weblog:entries tag accepting the same params