Skip to content

Instantly share code, notes, and snippets.

Troels Lauritz Reese Christensen Trolzie

Block or report user

Report or block Trolzie

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Trolzie
Trolzie / widget-language-example.htm
Last active Jun 6, 2018 — forked from laander/widget-language-example.htm
Booking.js widget full language localization
View widget-language-example.htm
<div id="bookingjs"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.timekit.io/booking-js/v1/booking.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.4.0/lang/es.js"></script>
<script>
window.timekitBookingConfig = {
app_key: 'live_widget_key_yYXHsUurvCUctNYflzGDMqEJo6mol0Yo',
resources: [],
fullcalendar: {
locale: 'es'
View keybase.md

Keybase proof

I hereby claim:

  • I am trolzie on github.
  • I am trolzie (https://keybase.io/trolzie) on keybase.
  • I have a public key whose fingerprint is 8AE7 7C61 7207 6C9B 1A41 4A0C 0B6C 3906 8E18 88E8

To claim this, I am signing this object:

@Trolzie
Trolzie / README.md
Created Nov 27, 2012 — forked from briangonzalez/README.md
img2boxshadow - a ruby script to convert images to CSS [http://codepen.io/briangonzalez/details/AvrGI#pen-details-tab]
View README.md

img2boxshadow.rb

a ruby script to convert images to CSS (box-shadows)

Installation

gem install rmagick    # you'll need ImageMagick & Ruby first
gem install colormath
gem install micro-optparse
View reset.css
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ul, li,
form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
@Trolzie
Trolzie / gist:2061319
Created Mar 17, 2012 — forked from padolsey/gist:527683
JavaScript: Detect IE
View gist:2061319
// ----------------------------------------------------------
// A short snippet for detecting versions of IE in JavaScript
// without resorting to user-agent sniffing
// ----------------------------------------------------------
// If you're not in IE (or IE version is less than 5) then:
// ie === undefined
// If you're in IE (>=5) then you can determine which version:
// ie === 7; // IE7
// Thus, to detect IE:
// if (ie) {}
@Trolzie
Trolzie / gist:2061267
Created Mar 17, 2012
HTML: Starting Template
View gist:2061267
<!doctype>
<html>
<head>
<meta charset=uft-8>
<title></title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
You can’t perform that action at this time.