##Crypto
Wiener (small d): https://github.com/orisano/owiener Reading key files: https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.RSA-module.html
| const Gi = imports._gi; | |
| import GObject from 'gi://GObject'; | |
| import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js'; | |
| import * as Main from 'resource:///org/gnome/shell/ui/main.js'; | |
| import {_monkey_vfunc_key_press_event, _monkey_onCaptureButtonClicked} | |
| from './monkey_functions.js'; | |
| export default class ScreenshotExtension extends Extension { |
| //Geometry | |
| #pragma GCC target("avx2") | |
| #pragma GCC optimize("O3") | |
| #pragma GCC optimize("unroll-loops") | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| typedef long long int ll; | |
| typedef long double ld; | |
| typedef complex<ld> pt; |
| import sys, os | |
| from subprocess import Popen, PIPE | |
| if sys.argv[1]=="-d": | |
| debug=True | |
| prog=sys.argv[2] | |
| else: | |
| debug=False | |
| prog=sys.argv[1] |
##Crypto
Wiener (small d): https://github.com/orisano/owiener Reading key files: https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.RSA-module.html
| //header | |
| #pragma GCC target ("avx2") | |
| #pragma GCC optimize ("O3") | |
| #pragma GCC optimize ("unroll-loops") | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| typedef long long int ll; | |
| typedef long double ld; |