Skip to content

Instantly share code, notes, and snippets.

@bricky
bricky / fixed-table-headers.js
Last active June 29, 2017 13:38
Fixed table headers for saiku
/**
* Copyright 2017 Dermot Buckley
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@bricky
bricky / gist:844554
Created February 25, 2011 21:47
AppleScript Desktop Dialer for Asterisk
set clipnumber to (the clipboard as text)
set thenumber to truncateString(clipnumber, 50)
set answer to "OK"
repeat while answer = "OK"
set question to display dialog "Number to Dial:" buttons {"Cancel", "OK"} default button 2 default answer thenumber with icon 1
set answer to button returned of question
set thenumber to text returned of question