Skip to content

Instantly share code, notes, and snippets.

View laander's full-sized avatar

Lasse Boisen Andersen laander

View GitHub Profile
@laander
laander / sqren.txt
Created January 26, 2016 21:53
Grats buddy!
\\\ ,
\ `|
) ( .-""-.
| | /_ { '.
| | (/ `\ } )
| | ^/ ^`} {
\ \ \= ( { )
\ \ '-, { {{
\ \_.' ) } )
\.-' ( (
@laander
laander / timekit-ruby-example.rb
Created January 30, 2016 19:46
Example integration with Timekit in Ruby
# Global configs for "admin" user
TK_ADMIN_USER = 'my-email@gmail.com'
TK_ADMIN_TOKEN = '12345ABCD'
# Example usage:
# timekit = Timekit.new(TK_ADMIN_USER, TK_ADMIN_TOKEN)
# tk_user = timekit.create_user(account)
# someInternalUser.update(tk_token: tk_user.token)
class Timekit
@laander
laander / widget-language-example.htm
Last active May 29, 2018 12:19
Booking.js widget full language localization
<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 = {
widgetId: '6a6c24ce-41a6-4114-9c15-de9ec3d92630',
fullCalendar: {
locale: 'es'
},