Skip to content

Instantly share code, notes, and snippets.

View Djacomo's full-sized avatar

Djacomo Djacomo

View GitHub Profile
@Djacomo
Djacomo / fast-upgrade.sh
Last active April 4, 2022 07:20
One cli command for update, upgrade and clean your Ubuntu (Debian)
sudo apt update && \
sudo apt upgrade -y && \
sudo apt dist-upgrade -y && \
sudo apt autoremove -y &&
sudo apt autoclean -y && \
sudo apt clean
@Djacomo
Djacomo / choose-url.vtl
Created January 10, 2019 16:01
Choose URL Custom Field
## SET YOUR CUSTOM FIELD NAME
#set($chooseurl = "chooseUrl")
<script type="application/javascript">
dojo.require('dotcms.dijit.FileBrowserDialog');
function browseRedirectPage() {
pageSelectorChoose.show();
}
/*
Buttondown
A Markdown/MultiMarkdown/Pandoc HTML output CSS stylesheet
Author: Ryan Gray
Date: 15 Feb 2011
Revised: 21 Feb 2012
General style is clean, with minimal re-definition of the defaults or
overrides of user font settings. The body text and header styles are
left alone except title, author and date classes are centered. A Pandoc TOC
/*
Buttondown
A Markdown/MultiMarkdown/Pandoc HTML output CSS stylesheet
Author: Ryan Gray
Date: 15 Feb 2011
Revised: 21 Feb 2012
General style is clean, with minimal re-definition of the defaults or
overrides of user font settings. The body text and header styles are
left alone except title, author and date classes are centered. A Pandoc TOC
@Djacomo
Djacomo / API.md
Last active August 29, 2015 14:25 — forked from iros/API.md

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • Path

For this documentation, we will assume every request begins with the above path.

  • Format