Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View reinerBa's full-sized avatar

reinerBa

View GitHub Profile
@reinerBa
reinerBa / b.svg
Created January 17, 2024 12:09
testanisvg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@reinerBa
reinerBa / index.html
Last active April 11, 2023 20:30
TAN Generator
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.28/vue.js" integrity="sha512-/I2PC0BuPX4pgUed1MB0BodK/Wn4LJw3b9NiQVZTau2HrACEmHMf/4qGBiIaFCJsgY5GX4JcsHTP0P2pfSimpA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="index.js"></script>
<style>
*{
font-size: 14px;
font-family: arial;
}
table{
@reinerBa
reinerBa / bare-bone-tree.vue
Last active February 23, 2022 09:08
bare zero dep vue tree
<script>
/*!
* @License: MIT, (c) Reiner Bamberger
* @Url: https://gist.github.com/reinerBa
*/
import { defineComponent } from 'vue'
const getArraySize =
(value) => Array.isArray(value) ?
1 + [...value.map(getArraySize)].reduce((p, c) => p + c, 0) : 1
#Resizes all jpg files by 40% in current folder and adds a c before the suffix
C:\Tools\ImageMagick-7.0.10-10-portable-Q16-x64\magick '*.jpg[40%]' -set filename: "%t" 'n\%[filename:].c.jpg'
@reinerBa
reinerBa / simple-svg-chart.js
Last active April 24, 2018 20:46
A vue.js component to draw a line chart with svg
/*! Copyright (c) 2018, Reiner Bamberger (https://github.com/reinerBa). All rights reserved.
* Use of this source code is governed the therms of the MIT license that can be found
* at https://github.com/reinerBa/Vue-Responsive/blob/master/LICENSE
*/
var simpleSvgChart = {
name: 'simple-svg-chart',
props: {
title: { type: String, default: '' }, // title of the chart
values: { type: Array, default: null }, // the values that shall be displayed
labels: { type: Array, default: null }, // if not the values but other digits should be displayed
@reinerBa
reinerBa / userDefineLang.xml
Created March 27, 2017 08:23 — forked from CTimmerman/userDefineLang.xml
Add highlighting in Notepad++ (Markdown, Stylus) - Save as %AppData%\Notepad++\userDefineLang.xml
<NotepadPlus>
<UserLang name="Markdown" ext="md markdown" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02 03&lt;!-- 04--&gt;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>