Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Bastian Allgeier bastianallgeier

🎯
Focusing
View GitHub Profile
View email.php
<?php
$kirby->email([
'to' => 'peter@example.com',
'from' => 'my@domain.com',
'subject' => 'Request',
'template' => 'request.' . $kirby->language() . ',
]);
View editor.json
[
{
"content": "Wrap-Up and Coverage for D\u00fcsseldorf 2019",
"id": "_NmjtlEkBD",
"type": "h1"
},
{
"attrs": [],
"content": "Where do I start? I mean, I run this event for nearly ten years now. Every time you think <em>\u201dThat\u2019s it. It can\u2019t get any better\u201d</em> and then you end the show and read, listen to and see all this wonderful and nice feedback. <strong>Wow</strong>, just incredible and fills me with a very warm and lovely feeling. Surely I am feeling exhausted. Empty. Tired. But the positive energy predominates. Energy that comes from people saying that they met many new friends, had exciting conversations and that my little event might have changed their life, or, at least, how they look at their day to day jobs and how they work.",
"id": "_glbfzvXkw",
View blueprint-example.yml
title: Example Blueprint
fields:
elastic:
label: Search
type: elastic
View content.txt
Some Text with the product (product: test)
View static.php
<?php
require __DIR__ . '/kirby/bootstrap.php';
$kirby = new Kirby([
'roots' => [
'static' => __DIR__ . '/static'
],
'urls' => [
'index' => '/'
View events.js
panel.plugin('something/cool', {
fields: {
demo: {
created: function () {
this.$events.$on('form.change', this.onFormChange);
this.$events.$on('form.save', this.onFormSave);
this.$events.$on('form.reset', this.onFormReset);
},
destroyed: function () {
this.$events.$off('form.change', this.onFormChange);
View kirbycontent.txt
```kirbycontent
Title: An interesting article
----
Date: 2018-07-09
----
Text:
Really interesting content here...
```
View index.js
panel.plugin("medienbaecker/images", {
fields: {
images: {
props: {
label: String,
buttons: String,
value: String,
images: Array
},
data() {
@bastianallgeier
bastianallgeier / .htaccess
Created Jun 4, 2018 — forked from benjaminfritz/.htaccess
.htaccess mit Kirby Installation auf HostEurope Webhosting Server
View .htaccess
# Kirby .htaccess
# rewrite rules
<IfModule mod_rewrite.c>
# enable awesome urls. i.e.:
# http://yourdomain.com/about-us/team
RewriteEngine on
# make sure to set the RewriteBase correctly
View Microsoft-Github.md

Microsoft seems to have bought Github. Is that a reason to celebrate or despair? I'm not entirely sure yet.

Github has become such an essential place for my work. All my personal repos and our Kirby repos are hosted on Github. We handle all Kirby tickets and the development process for the next version here and I don't know where we would move to, if it stopped to exist or stopped to be great. Bitbucket? Gitlab?

But Microsoft isn't the Microsoft from a couple years ago anymore. I hardly remember any company that positively turned around their image so quickly over such a short period of time. From Steve Ballmer's "Developers, Developers Developers" cringe-fest, to a quite charismatic Nadella. From the nightmarish IE-days to the almost really good Edge. From Clippy to an incredible design vision for hardware and sometimes even for software (can you imagine?)

But more than that, Microsoft is obviously heavily invested in becoming the new BFF for developers.

  • They are pumping lots of resources into VS Co
You can’t perform that action at this time.