-
Install x11docker
-
Run PDFEdit, e.g
This file contains hidden or 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
| /* | |
| A very simple program to send the toggle-keyboard event to matchbox-keyboard | |
| Requires a version of matchbox-keyboard running in daemon mode (-d), and | |
| must be a version of matchbox-keyboard that supports the toggle event. | |
| Currently the SVN version meets this requirement. | |
| Compiling: | |
| gcc matchbox-keyboard-toggler.c -o matchbox-keyboard-toggler -lX11 |
This file contains hidden or 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 | |
| # CodeIgniter pre-2.2 non-mcrypt Encrypt reverser. | |
| # Finds the key by partially-known plaintext attack. | |
| # Written by Ashe Connor. Placed in the public domain. | |
| import codecs | |
| import re | |
| import sys | |
| import time |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
- There are always 24 hours in a day.
- February is always 28 days long.
- Any 24-hour period will always begin and end in the same day (or week, or month).
Alternate title: How to Fix FrankenDebian's Monster.
https://wiki.debian.org/DontBreakDebian#Don.27t_make_a_FrankenDebian
This file contains hidden or 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
| from datetime import datetime | |
| from os import system | |
| import requests | |
| import json | |
| ## Please install ffmpeg before running this script and make sure it's in your PATH | |
| ## brew install ffmpeg | |
| ## Please install requests before running this script | |
| ## pip3 install requests |
This file contains hidden or 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/sh | |
| # rename-pictures.sh | |
| # Author: Justine Tunney <jtunney@gmail.com> | |
| # License: Apache 2.0 | |
| # | |
| # This shell script can be used to ensure all the images in a folder | |
| # have good descriptive filenames that are written in English. It's | |
| # based on the Mistral 7b and LLaVA v1.5 models. | |
| # | |
| # For example, the following command: |