Skip to content

Instantly share code, notes, and snippets.

View roelofjan-elsinga's full-sized avatar
Building fast applications

Roelof Jan Elsinga roelofjan-elsinga

Building fast applications
View GitHub Profile
@roelofjan-elsinga
roelofjan-elsinga / main.go
Created May 13, 2020 09:56
A basic Go application
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
@roelofjan-elsinga
roelofjan-elsinga / index.html
Created May 6, 2020 09:41
Structured data for Sitelinks searchbox
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "https://roelofjanelsinga.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://roelofjanelsinga.com/articles?q={search_term_string}",
"query-input": "required name=search_term_string"
}
@roelofjan-elsinga
roelofjan-elsinga / index.html
Last active May 6, 2020 09:30
Structured data for Logo
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"url": "https://www.roelofjanelsinga.com",
"logo": "https://www.roelofjanelsinga.com/images/logo/logo_avatar.jpg"
"name": "Roelof Jan Elsinga"
}
</script>
@roelofjan-elsinga
roelofjan-elsinga / index.html
Created May 6, 2020 09:02
Structured data for FAQ
<script type="application/ld+json">
{
"@context": "https:\/\/schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How often do I water the Calathea Ornata?",
"acceptedAnswer": {
"@type": "Answer",
@roelofjan-elsinga
roelofjan-elsinga / index.html
Last active May 6, 2020 08:44
Structured data for Breadcrumbs
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Plant care for Beginners",
"item": "https://plantcareforbeginners.com"
},
@roelofjan-elsinga
roelofjan-elsinga / index.html
Last active May 6, 2020 07:34
Structured data for an Article
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://google.com/article"
},
"dateModified": "2020-04-23T11:23:52+02:00",
"datePublished": "2020-04-22T09:33:32+02:00",
@roelofjan-elsinga
roelofjan-elsinga / .circleci.yml
Created December 10, 2019 12:46
Circle CI configuration
version: 2
jobs:
Test-PHP:
machine:
image: ubuntu-1604:201903-01
working_directory: ~/my-project
steps:
- checkout
- restore_cache:
keys:
@roelofjan-elsinga
roelofjan-elsinga / Dockerfile
Created December 10, 2019 12:43
Dockerfile for PHP testing
FROM debian:9.7-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends apt-transport-https lsb-release \
ca-certificates wget build-essential \
&& wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
&& sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' \
&& apt-get update \
version: "2.3"
services:
mysql:
image: mysql:5.7
tmpfs: /var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: testing_database
MYSQL_USER: testing_user
@roelofjan-elsinga
roelofjan-elsinga / composer.json
Created September 4, 2019 10:11
How we're currently using laravel-onesky
{
"require": {
"ageras/laravel-onesky": "dev-master#77e2de4a78bf2172df4129045c40350582aeabdb"
},
"repositories":[
{
"type": "vcs",
"url": "https://github.com/roelofjan-elsinga/laravel-onesky"
}
]