Skip to content

Instantly share code, notes, and snippets.

View cedeber's full-sized avatar
🦀
Rustacean

Cédric Eberhardt cedeber

🦀
Rustacean
View GitHub Profile
@cedeber
cedeber / freemarker_implicit.ftl
Created February 22, 2018 10:08 — forked from jdiepeveen/freemarker_implicit.ftl
Magnolia CMS Freemarker implicit.
[#ftl]
[#-- @implicitly included --]
[#-- @ftlvariable name="content" type="info.magnolia.jcr.util.ContentMap" --]
[#-- @ftlvariable name="ctx" type="info.magnolia.context.MgnlContext" --]
[#-- @ftlvariable name="def" type="info.magnolia.rendering.template.configured.ConfiguredTemplateDefinition" --]
[#-- @ftlvariable name="state" type="info.magnolia.cms.core.AggregationState" --]
[#-- @ftlvariable name="i18n" type="info.magnolia.freemarker.MessagesWrapper" --]
[#-- @ftlvariable name="i18nAuthoring" type="info.magnolia.freemarker.MessagesWrapper" --]
[#-- @ftlvariable name="cms" type="info.magnolia.templating.freemarker.Directives" --]
@cedeber
cedeber / 1px.html
Created May 6, 2016 08:42 — forked from jaynzr/1px.html
1px transparent pixel
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
@cedeber
cedeber / rm_icon_cache.sh
Last active October 3, 2018 07:16 — forked from fabiofl/gist:5873100
Clear Mac OS X's icon cache.
# See https://developer.apple.com/library/archive/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
# csrutil disable and enable (Cmd+R on reboot)
# https://furbo.org/2015/01/19/clearing-the-icon-services-cache-in-yosemite/
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;
sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \;
sudo rm -rf /Library/Caches/com.apple.iconservices.store