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
[ | |
{ | |
"key": "ctrl+shift+i", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly && !editorHasSelection" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" |
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
' https://www.vbforums.com/showthread.php?786031-VB6-Using-the-new-IFileDialog-interface-for-customizable-Open-Save-(TLB-Vista-) | |
VERSION 5.00 | |
Begin VB.Form Form1 | |
BorderStyle = 1 'Fixed Single | |
Caption = "IFileDialog Example" | |
ClientHeight = 3615 | |
ClientLeft = 45 | |
ClientTop = 375 | |
ClientWidth = 8205 |
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
from os import listdir | |
from os.path import join | |
from typing import TextIO | |
logsFolder = "E:\\" | |
filesToCheck = "test.log" | |
stringToFind = "check string" | |
# check only this count of last logs | |
checkOnlyLast = 10 |
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
from typing import Iterator, Dict, List | |
from itertools import product | |
from shutil import copyfile | |
from pathlib import Path | |
import random | |
import glob, os | |
EXTENSION = ".pdf" | |
DST_DIR = "generated" | |
DEFAULT_NAME = "dummy" |
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
! 2011.12.02 02.30 | |
! ================================= | |
PROGRAM NEYAV | |
! ================================= | |
IMPLICIT NONE | |
! | |
! ================================= | |
! ОБЪЯВЛЕНИЕ ПЕРЕМЕННЫХ | |
! ================================= |
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
{ | |
"name": "colcon-helper-msbuild", | |
"fileLocation": "absolute", | |
"owner": "colcon", | |
"pattern": { | |
"regexp": "^(.*)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\):\\s+(warning|error)\\s+([A-Za-z]+[0-9]+):\\s+(.*)\\s+\\[(.*)\\]$", | |
"file": 1, | |
"location": 2, | |
"severity": 3, | |
"code": 4, |
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
{ | |
// Add any keybinding overrides to this array. | |
// To unbind a default keybinding, set the command to "unbound" | |
"keybindings": [ | |
{ | |
"command": "nextTab", | |
"keys": [ | |
"shift+right" | |
] | |
}, |
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
# you may add this function into $profile or other sourced file | |
function ln([string] $SourcePath, [string] $TargetPath) | |
{ | |
if (!$SourcePath) | |
{ | |
echo "Source path is empty" | |
} | |
elseif (!$TargetPath) | |
{ | |
echo "Target path is empty" |
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
@echo off | |
FOR /F "usebackq tokens=3*" %%A IN (`REG QUERY "HKEY_CURRENT_USER\Software\App" /v WhereIsMyMoney`) DO ( | |
set appdir=%%A %%B | |
) | |
ECHO %appdir% | |
if %appdir%==0x1 ( | |
ECHO `%appdir% is defined` | |
) |
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
[alias] | |
sshow = "!f() { git stash show stash^{/$*} -p; }; f" | |
sapply = "!f() { git stash apply stash^{/$*}; }; f" | |
dev = !git --git-dir=\"./.git_dev\" | |
statys = "!f() { git status ; echo \"\n\" ; git dev status ; }; f" | |
findb = "!f(){ git branch -ra | grep $1; }; f" | |
hist = log --pretty=format:\"%ad | %h | %an: \t %s%d\" --date=short -n5 | |
hist2 = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
dist = "!git log --pretty=format:\"%ad | %h | %an: \t %s%d\" --date=short \"$(git rev-parse --abbrev-ref HEAD)\" --not " | |
checkouta=checkout |