TITLE | URL | LIKES | POSITIVE INTERESTINGNESS | TOTAL INTERESTINGNESS | GLOBAL BUZZ | VIEWS | DISLIKES | COMMENTS |
---|---|---|---|---|---|---|---|---|
DrupalCon Nashville 2018: From Homeless Addict to Winning Drupal: How A Community Can Save Lives | https://www.youtube.com/watch?v=5Dh2qexIJns | 1997 | 0.2196 | 0.2196 | 9094 | 9094 | 0 | 0 |
DrupalCon Nashville 2018: Driesnote | https://www.youtube.com/watch?v=8HkOdpNT8Ec | 57 | 0.0033 | 0.0047 | 16314 | 16298 | 3 | 16 |
DrupalCon Nashville 2018: Webcompo |
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 Drupal\pause_redirect\EventSubscriber; | |
use Drupal\Core\Messenger\MessengerInterface; | |
use Drupal\pause_redirect\Form\PauseRedirectSettingsForm; | |
use Drupal\redirect\EventSubscriber\RedirectRequestSubscriber; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\HttpFoundation\RedirectResponse; | |
use Symfony\Component\HttpKernel\Event\RequestEvent; |
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 rc | |
# Assume all packages given are already installed | |
if(test $#* -lt 2) exit 1 | |
module=$1 | |
shift | |
for(pkg in $*) { | |
# Get all go binaries by checking for 'Go BuildID=' | |
for(bin in `{apk info -q -L $pkg \ | |
| grep -v '^usr/share' \ |
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
.PHONY: run | |
all: x86_64 | |
IMAGE_ALP=alpinelinux/alpine-gitlab-ci:latest- | |
builder = docker run --rm -it --network host \ | |
--cap-add=SYS_PTRACE --privileged \ | |
--platform=linux/$(or ${2}, ${1}) \ | |
-v $(shell pwd):/mnt -e APORTSDIR=/mnt -w /mnt \ |
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
version: "2.1" | |
services: | |
php: | |
image: skilldlabs/php:8-fpm | |
container_name: core8 | |
restart: always | |
working_dir: /var/www/html/web | |
volumes: |
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 Drupal\Core\Cache; | |
use Drupal\Component\Assertion\Inspector; | |
/** | |
* Stores cache items in the Alternative PHP Cache User Cache (APCu). | |
*/ | |
class CFAwareApcuBackend extends ApcuBackend { |
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
.PHONY: up upx log down exec exec0 h t | |
CUID := $(shell id -u) | |
CGID := $(shell id -g) | |
IMAGEPHP := skilldlabs/php:8 | |
all: | exec | |
up: | |
docker run --rm --name core9 \ |
This little gist help you to catch all *.devel domain and open localhost for it.
First you need to set up local DNS server and add it to resolv conf.
sudo apt-get install bind9 dnsutils resolvconf
bind9
- DNS server
resolvconf
- help you to manage you /etc/resolv.conf
file automatically independs on network configuration
From N1256: (See http://port70.net/~nsz/c/c99/n1256.html#J.2)
- A "shall" or "shall not" requirement that appears outside of a constraint is violated (clause 4).
- A nonempty source file does not end in a new-line character which is not immediately preceded by a backslash character or ends in a partial preprocessing token or comment (5.1.1.2).
- Token concatenation produces a character sequence matching the syntax of a universal character name (5.1.1.2).
- A program in a hosted environment does not define a function named
main
using one of the specified forms (5.1.2.2.1). - A character not in the basic source character set is encountered in a source file, except in an identifier, a character constant, a string literal, a header name, a comment, or a preprocessing token that is never converted to a token (5.2.1).
- An identifier, comment, string literal, character constant, or header name contains an invalid multibyte character or does not
NewerOlder