Skip to content

Instantly share code, notes, and snippets.

View trieloff's full-sized avatar
🏠
Working from home

Lars Trieloff trieloff

🏠
Working from home
View GitHub Profile
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 20,
// font family with optional fallbacks
fontFamily: 'Source Code Pro, Fira Code, Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
@trieloff
trieloff / footer.html
Created July 6, 2016 20:53
Hiding Footers on the first page in an iA Writer template
@trieloff
trieloff / README.md
Created October 24, 2015 17:23
A command line alternative to LampStealer

The LampStealer app for Hue does not work with newer versions of the bridge, as the API has changed. This shell script works with fewer dependencies and achieves the same. Install jq and run the shell script after pushing the big button on the bridge.

Keybase proof

I hereby claim:

  • I am trieloff on github.
  • I am trieloff (https://keybase.io/trieloff) on keybase.
  • I have a public key whose fingerprint is BF26 4000 BFB4 E75F F3D1 99CD EAD4 D144 CAE7 CD54

To claim this, I am signing this object:

var shareSheetHTML="";
shareSheetHTML += "<style>";
shareSheetHTML += "body {";
shareSheetHTML += " margin: 0;";
shareSheetHTML += " font: normal 300 1em sans-serif;";
shareSheetHTML += "}";
shareSheetHTML += "";
shareSheetHTML += "h1 {";
shareSheetHTML += " text-align: center;";
shareSheetHTML += "}";
<%--
Youtube Video component.
--%><%
%><%@include file="/libs/foundation/global.jsp"%><%
%><%@page session="false" import="com.day.cq.wcm.foundation.forms.FormsHelper" %><%
%><%
javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0);
<style>
a.tracklink:visited {color:black!important;display:none;}
a.tracklink:link {color:white!important;;display:none;}
</style>
<script>
function isVisited(url) {
var link_el = document.createElement('a');
link_el.innerHTML = "-";
link_el.className = "tracklink";
link_el.href = url;