Skip to content

Instantly share code, notes, and snippets.

View sebasobotka's full-sized avatar

Sebastian Sobótka sebasobotka

View GitHub Profile
@sebasobotka
sebasobotka / find_and_delete_all_file_ext_in_folder.bat
Created August 27, 2021 11:27
find and delete all files with .db extension in folder, change path or extension for different use
@echo OFF
echo Following is a list of files containing the word db extension on your hard drives:
echo ____________________________________________________________________________
dir D:\of\*.db /s >> dbFiles.txt
echo ____________________________________________________________________________
echo.
echo If you don't want to delete any of the above files, close this window now!
echo The batch will now delete the above files.
pause
@sebasobotka
sebasobotka / push_with_comment.bat
Last active August 27, 2021 11:28
commit push bat with comments
SET /p comment="> "
git add .
git commit -m "%comment%"
git push origin master
@sebasobotka
sebasobotka / reload_gitignore.bat
Created August 27, 2021 11:23
reload gitignore
git rm -r --cached .
git add .
git commit -m "reload gitignore"
git push origin master
@sebasobotka
sebasobotka / readme.md
Created August 27, 2021 09:28 — forked from benstr/readme.md
Gist Markdown Cheatsheet

#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6


Paragraph

@sebasobotka
sebasobotka / gist_markdown_examples.md
Last active August 27, 2021 09:31 — forked from ww9/gist_markdown_examples.md
Gist markdown examples

Gist markdown examples

A collection of Markdown code and tricks that were tested to work in Gist.

This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.

Todo

  • Reformat this whole document and assimilate these:
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@sebasobotka
sebasobotka / coreInfo.txt
Last active April 26, 2017 14:52
how to determine cpu capabilities - coreinfo on Windows
1.Download coreinfo from https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx
2.Extract it to a folder, open a command window, change current dir to the folder and run coreinfo.exe
C:\Users\User\Downloads\Coreinfo>coreinfo
Coreinfo v3.31 - Dump information on system CPU and memory topology
Copyright (C) 2008-2014 Mark Russinovich
Sysinternals - www.sysinternals.com
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz