View date-prototype.html
Valid till: <span class="datetime" data-datetime="2017-02-21 17:00">2017-02-21 17:00 (GMT)</span> | |
<script> | |
// Given: Date and time in UTC timezone and international format | |
// Returned: Date and time in local timezone and international format | |
// Note: Returning localised date formats is not possible in JavaScript | |
// without the help of a library like moment.js! | |
// Extend date object with format method |
View test-firewall.php
<?php | |
// composer require guzzlehttp/guzzle | |
require __DIR__ . '/vendor/autoload.php'; | |
use GuzzleHttp\Client; | |
$client = new Client(['timeout' => 2]); | |
$urls = [ |
View .gitlab-ci.yml
job1: | |
script: 'echo Hello GitLab CI' |
View ci-minimal-smoketest.yml
job_test_app_smoketest: | |
stage: test | |
script: | |
- curl -s --fail --show-error https://example.com/ |
View .editorconfig
# Configuration to unify coding styles in IDEs - See https://EditorConfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_style = space |
View commit-message.txt
Replace Sandbox Title | |
Add a more verbose title |
View commit-message.txt
Summary of the changes in 50 characters or less | |
Explain the problem that this commit is solving. Written in imperative mood. | |
That means that it must be written as if you are giving a command | |
or an instruction, since a commit is a set of instructions for how to go | |
from a previous state to the new state. | |
The commit message should describe this process. |
View gfm.css
/** | |
* GitHub Flavored Markdown Stylesheet | |
* | |
* MIT License | |
* Dan Untenzu - @pixelbrackets (https://pixelbrackets.de) | |
*/ | |
/** | |
* tuzz/github.css body styles | |
* Source https://gist.github.com/tuzz/3331384 (MIT), version 8 |
View img.html
<img alt="64x64" width="64" height="64" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="> |
View page.typoscript
# page = PAGE | |
# page.10 = FLUIDTEMPLATE | |
# page.10 { | |
# # TYPO3 page template and all content rendered here, containing some unwanted markup | |
# } | |
### Template Render Fix | |
page.10 { | |
stdWrap.replacement { | |
### Replace legacy Values |
NewerOlder