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 jbang "$0" "$@" ; exit $? | |
//DEPS info.picocli:picocli:4.6.1 | |
//DEPS com.formdev:flatlaf:0.45 | |
import com.formdev.flatlaf.FlatDarkLaf; | |
import picocli.CommandLine; | |
import picocli.CommandLine.Command; | |
import picocli.CommandLine.Option; | |
import picocli.CommandLine.Parameters; |
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 jbang "$0" "$@" ; exit $? | |
//DEPS info.picocli:picocli:4.5.0 | |
//DEPS info.picocli:picocli-codegen:4.5.0 | |
//DEPS ch.qos.reload4j:reload4j:1.2.19 | |
//DEPS dev.langchain4j:langchain4j:0.25.0 | |
//DEPS dev.langchain4j:langchain4j-embeddings:0.25.0 | |
//DEPS dev.langchain4j:langchain4j-ollama:0.25.0 | |
import dev.langchain4j.chain.ConversationalRetrievalChain; |
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 jbang "$0" "$@" ; exit $? | |
/** | |
* <h1>sdk-clean</h1> | |
*/ | |
//DEPS info.picocli:picocli:4.5.0 | |
//DEPS info.picocli:picocli-codegen:4.5.0 | |
//DEPS ch.qos.reload4j:reload4j:1.2.19 |
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 jbang "$0" "$@" ; exit $? | |
//DEPS info.picocli:picocli:4.7.5 | |
//DEPS org.apache.tika:tika-core:2.9.0 | |
//DEPS org.apache.tika:tika-parsers-standard-package:2.9.0 | |
//DEPS dev.langchain4j:langchain4j:0.23.0 | |
//DEPS dev.langchain4j:langchain4j-local-ai:0.23.0 | |
//DEPS ch.qos.reload4j:reload4j:1.2.19 | |
//DEPS me.tongfei:progressbar:0.10.0 | |
//DEPS io.vavr:vavr:0.10.4 |
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
version: '3.8' | |
services: | |
haproxy: | |
image: haproxy:latest | |
container_name: haproxy | |
ports: | |
- 443:443 | |
- 80:80 |
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
import PyQt5.QtWidgets as QtWidgets | |
import dbus | |
import getpass | |
import subprocess | |
class SnapperGUI(QtWidgets.QMainWindow): | |
def __init__(self): | |
super().__init__() | |
self.configs = [] |
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
<?php | |
namespace Espo\Custom\Hooks\CaseObj; | |
use Espo\Core\InjectableFactory; | |
use Espo\Core\Utils\Log; | |
use Espo\Modules\Crm\Entities\CaseObj; | |
use Espo\ORM\Entity; | |
use Espo\ORM\EntityManager; | |
// This hook will be executed after the save of the Case entity |
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
# iclude <tunables/global> | |
# profile wparmor flags=(attach_disconnected,mediate_deleted) { | |
# include <../abstractions/base> | |
network, | |
capability, | |
file, |
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 | |
# Variables | |
BITNAMI_DIR="/home/bitnami" | |
STACK_DIR="$BITNAMI_DIR/stack/wordpress/wp-content" | |
DB_PASSWORD_FILE="$BITNAMI_DIR/bitnami_application_password" | |
DB_NAME="bitnami_wordpress" | |
USER="" | |
PASSWORD="" |
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
<repositories> | |
<repository> | |
<id>alfresco</id> | |
<name>Alfresco</name> | |
<url>https://artifacts.alfresco.com/nexus/content/groups/public/</url> | |
</repository> | |
</repositories> |
NewerOlder