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
# Place the content of this script at the bottom of your ~/.bashrc file (or ~/.zshrc if you are using ZSH). | |
# Please be ensure that your shell doesn't have any alias or plugin with the following names: paci, pacu, pacr, pacq, pacd, pacl | |
# Replace 'pacman' with 'pacaur' if you want to use it instead, | |
PMG="pacman" | |
if [ "$PMG" = "pacman" ]; then | |
ELEVATOR="sudo" | |
elif [ "$PMG" = "pacaur" ]; then | |
ELEVATOR="" |
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
#/ | |
# Server/ | |
# /__init__.py | |
# /templates/ | |
# /index.html | |
# app.pyw | |
# test_webview.py | |
from flask import Flask, render_template, request | |
app = Flask(__name__) |
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
# -*- coding: utf-8 -*- | |
import base64, requests, os, re, sys | |
from bs4 import BeautifulSoup | |
def _crack(code): | |
zeros = '' | |
ones = '' | |
for n,letter in enumerate(code): |
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
#/bin/bash | |
# Installs libfreetype6 2.8.0 into affected electron app. | |
# For more details ee: | |
# https://github.com/atom/atom/issues/15737 | |
# https://github.com/Microsoft/vscode/issues/35675 | |
CRT=$(dpkg-query --showformat='${Version}' --show libfreetype6) | |
CRT=$(echo $CRT | sed -e 's/-.*$//g') |
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
#!/bin/bash | |
VERSIONS="buster|bullseye|bookworm" | |
BRANCHES="stable|devel|staging" | |
if [ "${UID}" -eq 0 ] ; then | |
ARCH=$(dpkg --print-architecture) | |
if [ "${ARCH}" == "amd64" ] ; then |
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
#!/usr/bin/env python3 | |
''' | |
Open source implementation of FNMT's certificate configurator v1.0.1 | |
<https://www.sede.fnmt.gob.es/descargas/descarga-software/instalacion-software-generacion-de-claves> | |
No warranty provided; use this ONLY if you know what you're doing. | |
Usage: ./fnmt_handle.py <fnmtcr URL> | |
Fulfills the request indicated by the URL, sending request to answer operation as completed if there are no errors. | |
For the fnmtcr://request phase, the generated private key is written to "privkey.pem" in current directory. |
OlderNewer