This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loop() { | |
var start_date = Date.now() | |
var old_date = start_date | |
var seconds_running = 120 | |
var intervalId = setInterval(1000, function() { | |
new_date = Date.now() | |
// Execute this for just 30 seconds | |
if( (new_date - start_date) < 1000 * seconds_running) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------- BEGIN SmoothSlider functions ----------------- | |
SmoothSlider = function() {} | |
SmoothSlider.Step = 0.7; | |
SmoothSlider.Steps = 127; | |
SmoothSlider.generateTable = function(mrange, step) | |
{ | |
var sliderTable = new Array(); | |
var range = Math.round(mrange * 100); | |
if (( range % 10 ) && (range != 8)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://book.click4time.com/js/cp_window.js"></script> | |
<a onClick="open_new_window('https://book.click4time.com/sassonabaron/book/step1')" href="#" title="Book Online"> | |
<img src="http://book.click4time.com/images/buttons/large_blue_bevel.png" alt="Book online now" border="0" /> | |
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bookNowButtonGenerate = function() { | |
var open_new_window = function(URL) | |
{ | |
var opts = "toolbar=no,menubar=0,status=1,copyhistory=0,scrollbars=yes" | |
",resizable=1,location=0,Width=1065,Height=760"; | |
var click4time_window = window.open('', "_blank", opts); | |
click4time_window.location = URL; | |
}; | |
var stepURL = 'https://book.click4time.com/sassonabaron/book/step1'; | |
var imgURL = 'http://book.click4time.com/images/buttons/large_blue_bevel.png'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function MixxxEngineCall(group, control, value) | |
{ | |
if ( typeof value != 'undefined' ) | |
print("[S] " + group + "::" + control + "=" + value); | |
else | |
print("[G] " + group + "::" + control); | |
if ( typeof value != 'undefined' ) | |
engine.setValue(group, control, value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DJTTCueMaster.beatloopInt = function(group, on, beats) | |
{ | |
if (on) { | |
if (this.bstk.length == 0) { | |
var slipmodestatus = { | |
rate: engine.getValue(group, 'rate'), | |
startplaypos: engine.getValue(group, 'playposition'), | |
curplaypos: engine.getValue(group, 'playposition') | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Array Remove - By John Resig (MIT Licensed) | |
Array.prototype.remove = function(from, to) { | |
var rest = this.slice((to || from) + 1 || this.length); | |
this.length = from < 0 ? this.length + from : from; | |
return this.push.apply(this, rest); | |
}; | |
// Remove a vlue from an array | |
Array.prototype.removeValue = function(value) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/http' | |
class ProxyApp | |
def call(env) | |
begin | |
request = Rack::Request.new(env) | |
headers = {} | |
env.each do |key, value| | |
if key =~ /^http_(.*)/i | |
headers[$1] = value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName alluvium.dev | |
ServerAdmin psikmike@yahoo.com | |
DocumentRoot /home/psikmike/Code/eman/public | |
DirectoryIndex index.php | |
SetEnv APPLICATION_ENV "development" | |
OlderNewer