Skip to content

Instantly share code, notes, and snippets.

View stefanpoensgen's full-sized avatar
:atom:
Nucular

Stefan Poensgen stefanpoensgen

:atom:
Nucular
View GitHub Profile
@stefanpoensgen
stefanpoensgen / deploy_stage.yml
Last active January 5, 2020 11:09
GitHub Actions testing
name: Deploy Stage
on:
push:
branches:
- develop
jobs:
build:
@stefanpoensgen
stefanpoensgen / jquery.datepicker.js
Created August 29, 2019 17:24
Only allow Monday, Tuesday or Wednesday in Shopware Datepicker
$.overridePlugin('swDatePicker', {
initFlatpickr: function () {
var me = this;
me.opts.disable = [
function (date) {
return (date.getDay() > 3 || date.getDay() === 0);
}
];