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
@import "compass/utilities/sprites/base"; | |
// General Sprite Defaults | |
// You can override them before you import this file. | |
$emblem-sprite-base-class: ".emblem-sprite" !default; | |
$emblem-sprite-dimensions: false !default; | |
$emblem-position: 0% !default; | |
$emblem-spacing: 0 !default; | |
$emblem-repeat: no-repeat !default; |
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
.foo { | |
$width: 500px; | |
$height: 300px; | |
width: $width; | |
height: $height; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
margin-left: - $width/2; | |
margin-top: - $height/2; |
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
requirejs(['cordova.js'], | |
function () { | |
// start of require | |
// cordova is now available globally | |
var exec = cordova.require('cordova/exec'); | |
var app = { | |
// Application Constructor |
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
#!/usr/bin/env bash | |
# phase one: core install | |
# Pro tip: edit the script and use this repository instead to try out the | |
# codename "Awesome Ocelot" project - which should be even faster than the | |
# bare 6.2 core: https://github.com/NamelessCoder/TYPO3.CMS.git | |
# Live demo of "Awesome Ocelot" is at http://staging.namelesscoder.net | |
git clone https://github.com/TYPO3/TYPO3.CMS.git --depth 1 |
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 t=Helhum\TyposcriptRendering\ViewHelpers} | |
<button class="ajax-button" data-ajaxUri="{t:uri.ajaxAction(action: 'foo', controller: 'bar') -> f:format.htmlentities()}"> | |
Click Me | |
</button> | |
<script type="text/javascript"> | |
jQuery.ajax( | |
jQuery(".ajax-button").data("ajaxUri") | |
).done( |
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
// Load plugins | |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
minifycss = require('gulp-minify-css'), | |
jshint = require('gulp-jshint'), | |
uglify = require('gulp-uglify'), | |
imagemin = require('gulp-imagemin'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), |
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
<settings.link> | |
<TCEforms> | |
<exclude>1</exclude> | |
<label> | |
Link to Page or a File or a Content-Element | |
</label> | |
<config> | |
<type>input</type> | |
<size>30</size> | |
<eval>trim</eval> |
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
You can solve it by creating a new github token to authenticate your composer requests. | |
You can do this two ways: | |
By defining your token globally: | |
composer config --global github-oauth.github.com <TOKEN> | |
Or by defining your token in a project composer.json: | |
{ | |
"config": { |
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 | |
namespace Vendor\Extension\Solr\UserFunc; | |
class IndexUserFunc | |
{ | |
/** | |
* This value is automatically inserted by userFunc handling | |
* @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer | |
*/ |
OlderNewer