This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: sumatrapdf.exe is in miktex/miktex/bin | |
:: biber.exe in miktex/miktex/bin | |
:: sumatrapdf: einstellungen > optionen : 'pfad/zu/sublime_text.exe %f:%l:100000' eintragen | |
:: call this batch file like: 'tex.bat myTexFile' (myTexFile without any extension) | |
@echo off | |
setlocal | |
set document=%~n1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"keys": | |
[ | |
"alt+s" | |
] , | |
"command": "show_overlay" , | |
"args": | |
{ | |
"overlay": "command_palette" , | |
"text": "Snippet: ELi: " , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/questions/21169792/python-function-to-convert-camel-case-to-snake-case | |
# http://stackoverflow.com/questions/1175208/elegant-python-function-to-convert-camelcase-to-camel-case | |
def snake_case( string ): | |
import re | |
string = re.sub( '$(.)([A-Z](?!s[A-Z])[a-z]+)', r'\1_\2' , string ) | |
string = re.sub( '$(.)([0-9]+)', r'\1_\2', string ) | |
string = re.sub( '([a-z0-9])([A-Z])', r'\1_\2' , string ) | |
string = string.lower().replace( '__' , '_' ) | |
return string |