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
// ------------------- Drag side ----------------------- | |
// ----------------------------------------------------- | |
Point StartPosition; | |
private void PLC_PreviewMouseMove(object sender, MouseEventArgs e) | |
{ | |
if (e.LeftButton == MouseButtonState.Pressed) | |
{ | |
Point mousePos = e.GetPosition(null); |
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
if $(PlatformName) == x86 ( | |
echo "Copy dll for x86" | |
xcopy "$(ProjectDir)MyFolder\FolderForX86\mylib.dll" /Y | |
) else ( | |
echo "Copy dll for x64" | |
xcopy "$(ProjectDir)MyFolder\FolderForX64\mylib.dll" /Y | |
) |
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
import requests, json | |
import datetime | |
yesterday = datetime.date.today() - datetime.timedelta(days=1) | |
url = "https://onemocneni-aktualne.mzcr.cz/api/v1/covid-19/osoby.json" | |
data = json.loads(requests.get(url).content) | |
filterdata = [x for x in data["data"] if ( | |
(x["OkresKodBydliste"] == "CZ0422") and #laud kod |
NewerOlder