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
| pages: | |
| name: Pages | |
| singular_name: Page | |
| fields: | |
| title: | |
| type: text | |
| class: large | |
| group: content | |
| slug: | |
| type: slug |
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
| pages: | |
| name: Pages | |
| singular_name: Page | |
| fields: | |
| title: | |
| type: text | |
| class: large | |
| group: content | |
| slug: | |
| type: slug |
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 | |
| guesstimate_file_location($boltforms_location, $public_location) { | |
| $tested = false; | |
| $formfilename = $boltforms_location . '/testfile.txt'; | |
| $publicfilename = $public_location . '/testfile.txt'; | |
| $timestamp = microtime(); | |
| if(file_put_contents ( $formfilename , $timestamp )) { |
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 | |
| /** | |
| * Lookup provincie ahv postcode: | |
| * https://nl.wikipedia.org/wiki/Postcodes_in_Nederland | |
| * | |
| * @param $postcode | |
| * | |
| * @return string | |
| */ | |
| function lookupProvincie($postcode) { |
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
| <html> | |
| <head> | |
| <title>Form example</title> | |
| <style> | |
| body { | |
| margin: 1em auto; | |
| max-width: 60em; | |
| } | |
| form { | |
| width: 60%; |
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
| <?xml version='1.0' encoding='utf-8'?> | |
| <widget | |
| id="com.example.appname" | |
| xmlns="http://www.w3.org/ns/widgets" | |
| xmlns:cdv="http://cordova.apache.org/ns/1.0" | |
| xmlns:gap="http://phonegap.com/ns/1.0" | |
| versionCode="10203" | |
| version="1.2.3"> | |
| <name>appname</name> |
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
| { | |
| "autoload": { | |
| "psr-4": { | |
| "Bolt\\Composer\\EventListener\\": "../vendor/bolt/bolt/src/Composer/EventListener" | |
| } | |
| }, | |
| "config": { | |
| "discard-changes": true, | |
| "preferred-install": "dist" | |
| }, |
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
| <!doctype html> | |
| <html class="no-js" lang="{{ htmllang() }}"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>{%- if seo.title is defined -%} | |
| {{ seo.title }} | |
| {%- elseif record.title is defined -%} | |
| {{ record.title }} | {{ config.get('general/sitename') }} |
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
| mysqldump -u {user} -p{pass} {db} > {outputfile}.sql |
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
| #!/bin/bash | |
| # This script takes a directory with many files and moves all nnormal files | |
| # to a subdirectory with the year-month | |
| for i in * | |
| do | |
| if [ -f "$i" ] | |
| then | |
| filemonth=`stat --format=%y "$i" | cut -c 1-7` |