Skip to content

Instantly share code, notes, and snippets.

View ildar-shaimordanov's full-sized avatar

Ildar Shaimordanov ildar-shaimordanov

View GitHub Profile
@ikenfin
ikenfin / gismeteo-city-codes.md
Created October 27, 2016 07:59
Список кодов городов XML API Gismeteo
Код Название
27611 Москва
26062 С.-Петербург
29865 Абакан
22550 Архангельск
34880 Астрахань
29838 Барнаул
34214 Белгород
31510 Благовещенск
@ethzero
ethzero / PSFileTransferByClipboard.ps1
Last active August 22, 2023 11:45
Transferring binary content by way of clipboard via Powershell
## Powershell method of transfering small (< 1 MB) binary files via Clipboard
##
## NB: Unwise to attempt to encode binary files exceeding 1 MB due to excessive memory consumption
## Powershell 5.0>
# On the transmission end:
$Content = Get-Content -Encoding Byte -Path binaryfile.xxx
[System.Convert]::ToBase64String($Content) | Set-Clipboard
# On the receiving end
@seiren-naru-shirayuri
seiren-naru-shirayuri / !Scripts
Last active November 21, 2022 10:54
Some useful scripts in VBScript
!Scripts
@gene-pavlovsky
gene-pavlovsky / .gitconfig
Last active November 5, 2023 14:33
Run a program, converting UNIX and Windows format path arguments.
# Example usage: part of my .gitconfig file (Cygwin git)
[diff]
tool = winmerge
[difftool "winmerge"]
cmd = cygrun -w 'C:/Program Files/WinMerge/WinMergeU.exe' -r -u -e -dl \"Local\" -dr \"Remote\" \"$LOCAL\" \"$REMOTE\"
[difftool "diffmerge"]
cmd = cygrun -w 'C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe' \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false