Skip to content

Instantly share code, notes, and snippets.

View walokra's full-sized avatar

Marko Wallin walokra

View GitHub Profile
@walokra
walokra / vue.config.js
Last active March 31, 2023 17:20
vue-cli v5 and Webpack vendor split packages
module.exports = {
productionSourceMap: false,
configureWebpack: {
optimization: {
runtimeChunk: 'single',
splitChunks: {
chunks: 'all',
minSize: 0,
maxInitialRequests: Infinity,
cacheGroups: {
<html>
<head>
<!--
Amazon S3 Bucket listing.
Copyright (C) 2008 Francesco Pasqualini
This program is free software: you can redistribute it and/or modify
<html>
<head>
<!--
Amazon S3 Bucket listing.
Copyright (C) 2008 Francesco Pasqualini
This program is free software: you can redistribute it and/or modify
@walokra
walokra / timescaledb-stack_docker.yaml
Last active October 14, 2020 19:58
TimescaleDB CloudFormation stack with EBS VolumeAttachment
AWSTemplateFormatVersion: "2010-09-09"
Description: "TimescaleDB stack"
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
Type: "AWS::EC2::KeyPair::KeyName"
ConstraintDescription: must be the name of an existing EC2 KeyPair.
InstanceAZ:
AWSTemplateFormatVersion: "2010-09-09"
Description: "Stack for creating EBS LVM volume"
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
Type: "AWS::EC2::KeyPair::KeyName"
ConstraintDescription: must be the name of an existing EC2 KeyPair.
InstanceAZ:
@walokra
walokra / SailfishOS infoBanner
Created January 18, 2014 13:24
Showing notification message to user in SailfishOS app.
Rectangle {
id: infoBanner;
y: Theme.paddingSmall;
z: 1;
width: parent.width;
height: infoLabel.height + 2 * Theme.paddingMedium;
color: Theme.highlightBackgroundColor;
opacity: 0;