Skip to content

Instantly share code, notes, and snippets.

View CodeDredd's full-sized avatar

Gregor Becker CodeDredd

View GitHub Profile
@CodeDredd
CodeDredd / landingpages.spec.ts
Created October 19, 2023 18:35
Full e2e test example with nuxt 3
import { fileURLToPath } from 'node:url';
import { describe, test } from 'vitest';
import { expect } from '@playwright/test';
import { setup, createPage } from '@nuxt/test-utils';
describe('Landing page', async () => {
await setup({
rootDir: fileURLToPath(new URL('..', import.meta.url)),
server: true,
browser: true,
@CodeDredd
CodeDredd / jquery.fullPage.js
Last active July 8, 2016 08:58
Added new Option:scrollSectionToBottomFromBottom: true - If set to false navigation events will always scroll to the top of a section even if the viewport is at the botto
/*!
* fullPage 2.8.1
* https://github.com/alvarotrigo/fullPage.js
* @license MIT licensed
*
* Copyright (C) 2015 alvarotrigo.com - A project by Alvaro Trigo
*/
(function(global, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
@CodeDredd
CodeDredd / init.pp
Created March 20, 2015 18:33
Smylink improvment & htaccess integration
class typo3 {
define load_typo3 {
vcsrepo { "${title}/typo3_${typo3_branch}":
ensure => latest,
revision => $typo3_branch,
provider => git,
source => "https://github.com/TYPO3/TYPO3.CMS.git",
depth => 1,
}
@CodeDredd
CodeDredd / ext_tables.php
Created March 6, 2015 12:02
Get rid of the deprecation log => "Usage of feInterface is no longer part of the TYPO3 CMS Core"
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
\FluidTYPO3\Flux\Core::registerConfigurationProvider('FluidTYPO3\Fluidcontent\Provider\ContentProvider');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(array(
'Fluid Content',
'fluidcontent_content',