Skip to content

Instantly share code, notes, and snippets.

View danieltott's full-sized avatar
😎

Dan Ott danieltott

😎
View GitHub Profile
@danieltott
danieltott / keybase.md
Created June 24, 2019 12:45
keybase.md

Keybase proof

I hereby claim:

  • I am danieltott on github.
  • I am danieltott (https://keybase.io/danieltott) on keybase.
  • I have a public key ASDcs-vNIf5_PuTKEzLEbab9CeZJZbjKBkCWUwSesd6Wqgo

To claim this, I am signing this object:

@danieltott
danieltott / matrix-collection.twig
Last active August 11, 2021 01:03
Matrix in Matrix Workaround
{% macro outputTiles(tileList) %}
{# use macro to keep it DRY #}
<div class="tiles">
{% for tile in tileList %}
<div class="tile">{{ tile.tileTitle }}</div>
{% endfor %}
</div>
{% endmacro %}
@danieltott
danieltott / gist:7491933
Created November 15, 2013 21:27
Fogbugz customization - Add elapsed time when missing
name: Add elapsed time when missing
description: Adds elapsed time input when missing
author: Dan Ott
version: 1.0.0.0
js:
$(document).on('keyup.estcheck', '#hrsCurrEstNew',function() {
if($("#hrsElapsedExtraNew").length == 0) {
$('<div class="wideInputWrapper"><input type="text" maxlength="40" name="hrsElapsedExtraNew" id="hrsElapsedExtraNew" class="bugEditing dlgText" tabindex="612" value=""></div>').insertAfter($(this).parent());
@danieltott
danieltott / fogbugzcustimization.elapsedtime
Created August 8, 2013 17:43
Fogbugz Customization: Add elapsed time input when it's missing
name: Add elapsed time when missing
description: Adds elapsed time input when missing
author: Dan Ott
version: 1.0.0.0
js:
$(document).on('keyup.estcheck', '#hrsCurrEstNew',function() {
if($("#hrsElapsedExtraNew").length == 0) {
$('<div class="wideInputWrapper"><input type="text" maxlength="40" name="hrsElapsedExtraNew" id="hrsElapsedExtraNew" class="bugEditing dlgText" tabindex="612" value=""></div>').insertAfter($(this).parent());
#sphere div{
border-width: 1px;
border-color:#900;
border-style: solid;
-webkit-border-radius: 100px;
height: 100px;
width: 100px;
position: absolute;
top: 0;
left: 0;
#cylinder div{
border: 5px solid blue;
-webkit-border-radius: 100px;
height: 100px;
width: 100px;
position: absolute;
top: 0;
left: 0;
}
#cylinder .slice-2{ -webkit-transform: translateZ(2px); }