Skip to content

Instantly share code, notes, and snippets.

@wangeleile
wangeleile / quarter.ahk
Created May 9, 2019 15:00
quarter ahk script
q:: ;quarter - get start/end dates
vOutput := ""
vMonthFirst := 1
;vMonthFirst := 3
vYear := A_YYYY
;vYear := A_YYYY+1
vOffset := 0
Loop, 4
vOutput .= JEE_QuarterGetStart(A_Index+vOffset, vMonthFirst, vYear) "-"
, vOutput .= JEE_QuarterGetEnd(A_Index+vOffset, vMonthFirst, vYear) "`r`n"
Private objNS As Outlook.NameSpace
Private WithEvents objItems As Outlook.Items
Private Sub Application_ItemSend(ByVal Item As Object, _
Cancel As Boolean)
'Variablen für Folder
Dim objNS As NameSpace
Dim objFolder As MAPIFolder
@wangeleile
wangeleile / Excel_Formula
Created August 30, 2018 14:38
Excel Formel, Finden ab Zeichen
B2 : =FINDEN("/";A2)
C2 : =LINKS(A2;FINDEN("/";A2)-1)
D2 : =RECHTS(A2;LÄNGE(A2)-FINDEN("/";A2))
{
"new_note_template": "# {title}\ntags: \n\n## Verknüpfungen\n\n- [[{origin_id}]] {origin_title}\n\n\n## Beschreibung\n\n",
// These settings override both User and Default settings for the sublime_zk syntax
"line_padding_bottom": 3,
"line_padding_top": 3,
// Mit oder ohne Titel
@wangeleile
wangeleile / sublime_zk.sublime-settings
Created November 17, 2017 06:57
sublime_zk template config
{
"new_note_template": "# {title}\ntags: \n\n## Verknüpfungen\n\n- [[{origin}]]\n\n\n## Beschreibung\n\n\n## Quellen\n\n",
}
@wangeleile
wangeleile / header.html
Created May 9, 2017 15:28
Standard header
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>bar</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
@wangeleile
wangeleile / gist:ac8b8a914e1c9ae0deaa5b4078a8a96d
Created May 9, 2017 15:27
Pandoc File converting incl. link change
REM This file converts all of the Markdown files to HTML.
REM Converting in the current directory
REM %%~ni returns just the filename of %%i, not its extension
for %%i in (*.md) do pandoc\pandoc.exe %%~ni.md -f markdown -t html -H html\header.html -o html/%%~ni.html
pandoc\fart.exe -i -r "html\*.html" .md .html
@wangeleile
wangeleile / de.json
Last active February 23, 2016 08:59
Germany as Topo.json file
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.