Skip to content

Instantly share code, notes, and snippets.

Avatar
🐰

Dreace Dreace

🐰
View GitHub Profile
@Dreace
Dreace / id_rsa.pub
Created Nov 6, 2020
SSH Public Key
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMj97qhlS3DjRCgl3EwUB/Ca5iej0DqKZbkcMyriXq56MOKai3RcPWEcG00Gxy/udbBcdmWPZv18uK6RRY0xV4E+mGbixEB+Gy5sra3xXmx5BkWIUloLu9HxeaQPnmgXcJujy/0j7TmkNyzI9V7Jk6Kbp8zKAL/NG80Fg2+l1ceemk1LtOcBXMnh2443mcwTKwKsCho2sNXWyyJcoo5m454qnkGq08KeG1U5D8+4Cz5btYGzCxwQMAOTiMFMzU9lxiAD3op2delINh5UoaS5dgnOS8IEXqi6hfVuheqgOEsHNXxuxeuw/vKduT8tGmlP+ckaqYc2AHdskTCP25LH0cf4L/Hgh+TIXRvbn/9MLKcaZFWbsNUKvk05iQ3iwmXDQ0hNk8xZC7aHR35tqYqGPdILBEsOEM5GLPnkd0TdoTaNMJohZpmeeO9L4DCT+faNxEO6ut5on9F2OEb/yMpnEimjuQMoPmuEVOwh8HofuLcVMdnBTLH43wEi5b+fjR6TZRdBCkqX0gJcwphjIcNyKHLW6KDnr+LhNHkDdwtRhBzY4zNnlVOnIwi+RbKpejuH0dnHiiSsTkjDodTQGDd8MYdT/Pz6ZdRhgpRjkNyqLdIR3/FHDaus3lZO6tt54dbknotyybxFh7XQe6tEWAkKXM6w5MxRtLJxmj8ncWFaRm6Q== dreace@foxmail.com
@Dreace
Dreace / des.py
Created Jul 7, 2020
使用 Python 实现 DES 算法
View des.py
from itertools import chain
from typing import List, Tuple
from .tables import *
class DES:
def __init__(self, key: [str, bytes]):
if isinstance(key, str):
key = key.encode()
@Dreace
Dreace / zf.js
Created Jul 3, 2020
正方教务自动评教
View zf.js
function getRndInteger(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
document.querySelectorAll('.input-pjf').forEach(x => x.value = getRndInteger(90, 98))
document.querySelector('textarea').value = '无'
You can’t perform that action at this time.