Skip to content

Instantly share code, notes, and snippets.

View lvguedes's full-sized avatar

Lucas Vinícius Guedes da Silva lvguedes

  • São Paulo, SP, Brazil
View GitHub Profile
@JayRaparla
JayRaparla / batch.bat
Last active April 5, 2024 09:30
batch scripts fundamentals and examples
## list available environment variables
SET
#Useful dynamic variables
%CD% %DATE% %TIME% %RANDOM% %ERRORLEVEL% %CMDEXTVERSION% %CMDCMDLINE% %HIGHESTNUMANODENUMBER%
#The environmental variable %ERRORLEVEL% contains the return code of the last executed program or script.
IF %ERRORLEVEL% NEQ 0 (
REM do something here to address the error
)
# To execute a follow-on command after sucess, we use the && operator:
@dashed
dashed / github-pandoc.css
Created September 26, 2013 13:42
GitHub-like CSS for pandoc standalone HTML files (perfect for HTML5 output). Based on Marked.app's GitHub CSS. Added normalize.css (v2.1.3) in the prior to GitHub css.
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/