Skip to content

Instantly share code, notes, and snippets.

View Cinedin's full-sized avatar

Eduardo Vicente Cinedin

View GitHub Profile
@Cinedin
Cinedin / ColorSchemeSwitcher.vue
Created January 6, 2023 00:57
VueJS: Color scheme switcher
<template>
<div id="scheme-switch">
<button type="button" id="scheme-switch--light" @click="setLightTheme">
<slot name="light">Light theme</slot>
</button>
<button type="button" id="scheme-switch--dark" @click="setDarkTheme">
<slot name="dark">Dark theme</slot>
</button>
</div>
</template>
@Cinedin
Cinedin / aws_dynamodb_local
Last active January 25, 2018 08:08
Download last Local DynamoDB and execute as daemon
#!/bin/sh
#
# chkconfig: 35 99 01
# description: java application
#
if [ -z "$JRE_HOME" ]; then
JRE_HOME="$JAVA_HOME"
fi
if [ -z "$JRE_HOME" ]; then