On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
# Lando version is at least +3.0 | |
name: drupal-nine | |
recipe: drupal9 | |
services: | |
appserver: | |
webroot: web | |
xdebug: debug | |
config: | |
php: .vscode/php.ini |
<?php | |
// Autoload Url and Link classes. | |
use Drupal\Core\Url; | |
use Drupal\Core\Link; | |
/** | |
* External link | |
*/ | |
$url = Url::fromUri('https://colorfield.be'); |
On mac:
/usr/local/bin
.$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
/** | |
* Gets tomorrow's events and sends along an email agenda. | |
*/ | |
function mailAgenda(){ | |
// Configs. | |
var config = { | |
firstName: 'Brad', | |
email: 'brad@commercialprogression.com', | |
ignoreRecurringEvents: true | |
}; |
#!/bin/bash | |
# | |
# Steam installer for Debian wheezy (32- and 64-bit) | |
# | |
# Place into empty directory and run. | |
# | |
download() { | |
local url="$1" | |
local filename="$(basename "$url")" |
<?php | |
/* | |
Make Sure you include: | |
ctools_include('modal'); | |
ctools_modal_add_js(); | |
On the pages you put your link. | |
*/ |
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |