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
/* | |
Copy-paste this in your browser developer console. | |
This script works on an already-opened conversation in ChatGPT. | |
Each message has a "copy" button, that copies markdown text, | |
which can be placed in MD Editor and exported to PDF. | |
To automate the task of iterating these buttons and copying | |
into a file, I created this script that can be configured and | |
edited further to suit your needs. | |
IMPORTANT: you must give clipboard permissions in your browser!! | |
IMPORTANT 2: this script works by continuously clipboard copying |
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
package it.alfonsopauciello.config; | |
import org.eclipse.microprofile.config.spi.ConfigSource; | |
import java.io.FileReader; | |
import java.util.Properties; | |
import java.util.Set; | |
public class MultipleFilesConfigSource implements ConfigSource { | |
private static final Properties configuration = new Properties(); |
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/bash | |
# Functions | |
EscapeFilename() | |
{ | |
printf '%s' "$1" | sed -e 's/[^A-Za-z0-9._-]/_/g' | |
} | |
# Configuration | |
S3CMD_PARAMETERS= |