Skip to content

Instantly share code, notes, and snippets.

View gist:088e2f3a5e3a13b45602d71b4da59a23
teste 123 0x03fae834961ba15203a0f493dc47b6a41090cabf5892b63fbb2d20c9c59a2468 00000000
View gist:874b0f15a31720267201fb6c4bc923de
m/44'/60'/0'/0/0 0xfBC4f0fDF6eFC1A18481C23D6C9149b06019b0A0 0x6af883f97a80a3e93b4f67ec0a464dedf67b3fb991dbcd47ee37da89ab002701
m/44'/60'/0'/0/1 0xF228d2A5AD066f79c71ea8f717F90C3eBce13F45 0x376607636d7e1d2b21845593bff6b52c329853012a5b05eca8738362cd9b4950
m/44'/60'/0'/0/2 0x7e8885361C354d7AA6Fc3CAbE72058d61fA3a4aD 0x549e8f591a67ad74015f1dad862bd3f4f67f27eb3e0e6b7106c4d3461bc2ec89
m/44'/60'/0'/0/3 0xB3CA35156fcc44b4A01c05A2Aef11dd54796bb79 0x6ece26233bfb629c595b7d7fca65bb51fc847dc4caa3e5cae777e6a12d8b6ced
m/44'/60'/0'/0/4 0x8Aa523a8776807d1D69EfB8A35A2d192F72D336D 0xe7209f5d049e919cfa2703db35b39282fa0899ad32bf4e59c29d2f27118b840c
m/44'/60'/0'/0/5 0x513656211691393a181c85d7c6b22C38cdBb43Ac 0x37f2eb799ef113d93891827f74b9d3f3e92824b7492238660bb45e8efab9ba60
m/44'/60'/0'/0/6 0x18D72546E34dEcE48B7b07dd0a203daD9DB0e8B3 0x17a1d6d24a1611d59da1e867cde8fec46ea5439ac4a54fab271b524853a35a13
m/44'/60'/0'/0/7 0x7EE2F82258e48C36a5540191540d087a77165F62 0xc9b8b52bf896455aaccb495b785912b55a6d7c96c189e640c
@x011
x011 / mirrorace.org_upload.py
Last active Mar 8, 2021
Upload files to mirrorace.org using python
View mirrorace.org_upload.py
from requests import Session
import mimetypes
from pathlib import Path
"""
Coded for https://stackoverflow.com/questions/66393210/how-can-i-send-api-request-through-python-for-mirrorace-org
"""
def get_mime(f):
@x011
x011 / m3u_from_dirs.py
Created May 16, 2020
Generate m3u playlists from folders
View m3u_from_dirs.py
import glob
all_dirs = glob.glob("/path/to/dir/with/subfolders/*/") # path to dir containing subdirs with musics
for mdir in all_dirs:
dir_name = mdir.split("/")[-2]
playlist_path = f'{mdir}{dir_name}.m3u'
print(playlist_path)
#continue
@x011
x011 / gmail_attachment_downloader.py
Last active Apr 8, 2022
Gmail Attachment Downloader 2020
View gmail_attachment_downloader.py
# Made for: https://stackoverflow.com/questions/61366836/download-attachment-from-mail-using-python/
import os
from imbox import Imbox # pip install imbox
import traceback
# enable less secure apps on your google account
# https://myaccount.google.com/lesssecureapps
host = "imap.gmail.com"
View python_printer_gui.py
'''
Project: curinga
Time: 2020/03/07 01:37
'''
import win32api
import win32print
import traceback
from tkinter.filedialog import askopenfilename
from tkinter import *
View python_decode_encode_tkinter.py
"""
If you have problems importing PyQt5, just comment:
# from PyQt5.QtWidgets import QApplication
# all def center(): ...
# center(rootWin)
It just centers the window on screen
"""
View EncryptActivity.java
package dk.meznik.jan.encrypttext;
import android.app.Activity;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
View Encryption.java
package dk.meznik.jan.encrypttext.util;
import android.util.Base64;
import java.io.UnsupportedEncodingException;
import java.security.InvalidAlgorithmParameterException;
import java.security.InvalidKeyException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
View android_decode_text.py
'''
Project: curinga
Time: 27/02/2020 04:45
'''
import base64
import hashlib
from Crypto import Random
from Crypto.Cipher import AES