graph LR
W((<br>fa:fa-globe<br>Nettside<br><br>))
C(fa:fa-pen<br>Craft CMS)
D[(fa:fa-database<br>MySQL)]
S[fa:fa-server<br>Filserver]
B[fa:fa-image<br>Bildeserver]
Q[fa:fa-wifi GraphQL API ]
I[Mulige integrasjoner]
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
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/cask-versions" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
tap "planetscale/tap" | |
tap "shivammathur/php" | |
brew "webp" | |
brew "apr-util" | |
brew "bat" |
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
{# Image | |
This is an image component template for echoing image tags in a twig template. | |
Output: | |
<figure> | |
<img /> | |
<figcaption></figcaption> | |
</figure | |
It takes the following props: |
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
#!/bin/bash | |
set -e | |
# ./deploy/-deploy.sh | |
# Deployment with zero downtime | |
# Based on : https://gist.github.com/actionm/63b927a9b933e54414ae2857e5712162 | |
# By default keeps 2 last deployments in KEEP_DEPLOYMENTS_DIR and current deployment | |
usage() | |
{ |
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
module.exports = { | |
singleQuote: true, | |
semi:false, | |
printWidth: 120 | |
} |
- https://gist.github.com/tayvano/6e2d456a9897f55025e25035478a3a50 -> complete list of ffmpeg flags / commands
- https://gist.github.com/Vestride/278e13915894821e1d6f#gistcomment-3023674 -> good quality gist with informative comments
- https://evilmartians.com/chronicles/better-web-video-with-av1-codec -> the new av1 format
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
{# Globale settings som settes i egne felter CMSet #} | |
{% set mapUrl = mapSettings.mapUrl %} | |
{% set mapVersion = mapSettings.mapVersion|default( 'now'|date('U') ) %} | |
{# Kartet boostrappes #} | |
{% set output = 'script' %} | |
<!doctype html> | |
<html class="no-js" lang=""> | |
<head> |
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 | |
header('Content-type: application/json; charset=utf-8'); //Setting the page Content-type | |
$content = array(); | |
$channel = $_GET['id']; | |
$fields_query_string = "SELECT * FROM exp_channel_fields LEFT JOIN exp_channels ON exp_channel_fields.group_id = exp_channels.field_group WHERE exp_channels.channel_id = '$channel'"; | |
$entries_query_string = "SELECT * FROM exp_channel_data cd INNER JOIN exp_channel_titles ct ON cd.entry_id = ct.entry_id WHERE cd.channel_id = '$channel'"; | |
// query single field | |
if(isset($_GET['field'])) { |
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
license: gpl-3.0 | |
width: 599 | |
border: yes |
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
license: gpl-3.0 | |
height: 720 | |
border: yes | |
scrolling: yes |
NewerOlder