| 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 hidden or 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 | |
| use Drupal\Core\Batch\BatchBuilder; | |
| use Drupal\Core\Recipe\Recipe; | |
| use Drupal\Core\Recipe\RecipeRunner; | |
| // There are two ways to apply a recipe programmatically: immediately, or as a batch job. | |
| // The batch job is generally the safer option, since more complex recipes could risk | |
| // timing out if they try to do too much at once. |
This file contains hidden or 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
| alias mrn='curl "https://api.drupal-mrn.dev/changelog?project=${PWD##*/}&to=`git tag --sort=committerdate | tail -1`&from=`git tag --sort=committerdate | tail -2 | head -1`&format=html"' | |
| # Version for fish | |
| alias --save mrn='curl "https://api.drupal-mrn.dev/changelog?project=$(basename $PWD)&to=$(git tag --sort=committerdate | tail -1)&from=$(git tag --sort=committerdate | tail -2 | head -1)&format=html"' |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
NewerOlder