Skip to content

Instantly share code, notes, and snippets.

View CedricAlb's full-sized avatar
🏄
open source vibes

Cédric Albrecht CedricAlb

🏄
open source vibes
View GitHub Profile
@CedricAlb
CedricAlb / DrupalCallback.php
Created April 20, 2022 08:11 — forked from purushotamrai/DrupalCallback.php
Implementing Custom Pagination without Drupal Entity Query - Drupal 8
<?php
namespace Drupal\custom_module\Controller;
use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Pager\PagerManagerInterface;
class ListNonDrupalItems extends ControllerBase {
@CedricAlb
CedricAlb / dabblet.css
Created August 1, 2013 19:04 — forked from LeaVerou/dabblet.css
Scrolling shadows by @kizmarh and @LeaVerou
/**
* Scrolling shadows by @kizmarh and @leaverou
* Only works in browsers supporting background-attachment: local; & CSS gradients
* Degrades gracefully
*/
html {
background: white;
font: 120% sans-serif;
}
@CedricAlb
CedricAlb / dabblet.css
Created March 25, 2013 08:55 — forked from anonymous/dabblet.css
Untitled
@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
.user {
height: 32px;