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
// create the audio context (chrome only for now) | |
var context = new webkitAudioContext(); | |
var audioBuffer; | |
var sourceNode; | |
var analyser; | |
var javascriptNode; | |
// get the context from the canvas to draw on | |
var ctx = $("#canvas").get()[0].getContext("2d"); |
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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> | |
<T3DataStructure> | |
<meta type="array"> | |
<langDisable>1</langDisable> | |
</meta> | |
<sheets> | |
<general> | |
<ROOT type="array"> | |
<TCEforms> | |
<sheetTitle>Einstellungen</sheetTitle> |
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
temp.checkbox_with_split = COA | |
temp.checkbox_with_split { | |
# Define data | |
10 = LOAD_REGISTER | |
10 { | |
# Valid bits in the field | |
bits = 1,2,3,4,5,6,7 | |
# Field name in the database. Don't move below other registers! |
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
fadeTo: (value, fadeLength)-> | |
fadeLength = fadeLength || @defaultfadeLength | |
currentTime = @ctx.currentTime | |
#time the fade should complete | |
fadeTime = currentTime + fadeLength | |
#set the start time | |
@masterGain.gain.setValueAtTime(@userVolume, currentTime) | |
@masterGain.gain.linearRampToValueAtTime(value, fadeTime) | |
fadeOut: (fadeLength)-> |
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
<?php | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2012 Torsten Schrade <Torsten.Schrade@adwmainz.de> | |
* | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
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
{namespace cr = Tx_Catalogueraisonee_ViewHelpers} | |
<f:if condition="{entries}"> | |
<f:then> | |
<f:for each="{entries}" as="entry" iteration="iterator"> | |
<cr:alphabet string="{entry.title}" length="1" /> | |
<f:if condition="{iterator.isFirst}"> |
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
SQL: | |
images int(11) unsigned DEFAULT '0', | |
======================================================= | |
TCA | |
.... | |
'images' => array( | |
'exclude' => 0, | |
'label' => 'images', | |
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( | |
'images', |
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
if (jslogger) { | |
if(!window.console) window.console = {}; | |
var methods = ["log", "debug", "warn", "info"]; | |
for(var i=0;i<methods.length;i++){ | |
console[methods[i]] = function(){jslogger.log.apply(jslogger, arguments);}; | |
} | |
} |
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
/* Text hiding without indent */ | |
.ir { | |
border: 0; | |
font: 0/0 a; | |
text-shadow:none; | |
color: transparent; | |
background-color: transparent; | |
} |
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(){ | |
var _fillText, | |
__slice = [].slice; | |
_fillText = CanvasRenderingContext2D.prototype.fillText; | |
CanvasRenderingContext2D.prototype.fillText = function() { | |
var args, offset, previousLetter, str, x, y, | |
_this = this; |