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
{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
<?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
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
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
<?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
// 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
/** | |
* Add a delay at the end of the timeline (or at any label) | |
* @param {number} delay Seconds to wait | |
* @param {string} position Label name where to start the delay | |
* | |
* Usage: tl.addDelay(4); //easy! | |
*/ | |
TimelineLite.prototype.addDelay = function (delay, position) { | |
var delayAttr; | |
if(typeof delay === 'undefined' || isNaN(delay)){ |
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
/** | |
* Use em or rem font-size in Bootstrap 3 | |
*/ | |
@font-size-root: 14px; | |
@font-unit: 0rem; // Pick em or rem here | |
// Convert all variables to em |
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
// Creating sound waves with JavaScript | |
// from http://js.do/blog/sound-waves-with-javascript/ | |
var samples = [] | |
// | |
// | |
// | |
// Achord |