Skip to content

Instantly share code, notes, and snippets.

@Gexos
Gexos / filehash.ps
Created November 24, 2025 12:28
On Windows, you can calculate the hashes with PowerShell:
Get-FileHash .\SystemInfoDashboard_v5.0.0.zip -Algorithm MD5
Get-FileHash .\SystemInfoDashboard_v5.0.0.zip -Algorithm SHA256
@Gexos
Gexos / My GPG Public Key
Last active December 23, 2025 19:28
My GPG Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGlGvUYBEACwLO0KdyMX/spwyKk0Qk7365nVDLyMGbVz4lvxwgqQC6NQ9lM0
mbJ0XByFMxSCM+GF/k4byzSuVKQz8XM4FeXCwFXJWzeyRjbrmCExri8VEE68fJdP
UD6BecsQ8ZpEZrYPe4b6QvehNSmmEc04YOEZaU9mNbjfQvXLMqBPWml9JxqGZAka
/XCLuMGVMpcVrDXg2m9CqaUmWWc4/ssqCf7uQokyNS4An0ofxQAcE/lf9rAfSQII
bucLmoCTarYYSApABISB9AX3XaeOnd2YMIIdKdrHPg9mpSLuHvaARsdYP3dGwz8W
iNnEYuPsjEtaat4m+Ih1Qgi3BEOZnkZVkuhjgVyuSDORmHbBaUgLWPqkWsKHjuFV
vU0Selhb9GHGY3nzyL+j9YoeX1ZDgiAsp5hfSDwJ4a6XjbSHHzwbtLapwBZqRP5a
30HE1fyO0HqL7rmgDIjyJ4963ePsKqH6gCamO2noM3Ih0FmPBVE73sd29tJwcbl0
# -*- coding: utf-8 -*-
import requests
request=requests.post(
'https://api.mailgun.net/v2/samples.mailgun.org/messages',
auth=("api", "key-3ax6xnjp29jd6fds4gc373sgvjxteol0"),
files=[("attachment", open("test.jpg"))],
data={"from":"foo@example.com",
"to": "bar@example.com",
"subject": "Hello",
"text": "Testing some Mailgun awesomness!",
# -*- coding: utf-8 -*-
import requests
request=requests.post(
"https://api.mailgun.net/v2/samples.mailgun.org/messages",
auth=("api", "key-3ax6xnjp29jd6fds4gc373sgvjxteol0"),
data={"from": "foo@example.com",
"to": "bar@example.com",
"subject": "Hello",
"text": "Testing some Mailgun awesomness!"})
@Gexos
Gexos / ex2au3
Last active January 2, 2016 03:59
; This is my first script
MsgBox(0, "My First Script!", "Hello World!")
@Gexos
Gexos / ex1au3
Last active January 2, 2016 03:59
; This is my second script (with functions)
MsgBox(0, "My second script!", "Hello from the main script!")
TestFunc()
Func TestFunc()
MsgBox(0, "My Second Script!", "Hello from the functions!")
EndFunc
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
ZetCode PyQt4 tutorial
In this example, we determine the event sender
object.
author: Jan Bodnar