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
| """ | |
| title: TestPipeline | |
| author: 0xThresh | |
| date: 2024-08-11 | |
| version: 1.1 | |
| license: MIT | |
| description: A pipeline for using text-to-SQL for retrieving relevant information from a database using the Llama Index library. | |
| requirements: llama_index, sqlalchemy, psycopg2-binary | |
| """ |
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
| """ | |
| title: Paperless-ngx RAG Pipeline | |
| author: Sherlock Think Alpha | |
| author_url: https://example.com | |
| git_url: https://github.com/open-webui/pipelines/ | |
| description: RAG for Paperless-ngx. Retrieves relevant docs via API, injects formatted context into messages for LLM. Configurable via valves. | |
| required_open_webui_version: 0.4.3 | |
| requirements: requests,pydantic | |
| version: 1.1 | |
| license: MIT |
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 | |
| # add_user.sh - Create users with default or custom password and assign to groups | |
| # Usage: | |
| # Single user: sudo ./add_user.sh -u <username> -g <group> [-p <password>] | |
| # Batch file: sudo ./add_user.sh -b <file> | |
| # Options: | |
| # -h Show help message | |
| # -v Enable verbose output | |
| # -p Set custom password (otherwise uses default) |
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
| function generateSheetsFromNames() { | |
| var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| //the List names are in sheet name List | |
| var listSheet = spreadsheet.getSheetByName("_Registration_Sheet"); | |
| var names = listSheet.getRange('A2:A').getValues(); | |
| var templateSheet = spreadsheet.getSheetByName("Blank_Template"); | |
| for (var i = 0; i < names.length; i++) { | |
| var name = names[i][0]; | |
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
| "pools" : [ | |
| { | |
| "url" : "stratum+tcp://nyan.mastermining.net:3121", | |
| "user" : "akiraaisha.nyancoin", | |
| "pass" : "4153108" | |
| } |
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
| SetTitleMatchMode, 2 | |
| #SingleInstance force | |
| #IfWinActive ahk_exe r5apex.exe | |
| #MaxThreadsPerHotkey 2 | |
| *XButton2:: | |
| While GetKeyState("XButton2","P") { | |
| Send, {PgUp} | |
| Send {E} | |
| Send {Space} |
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
| import random | |
| import datetime | |
| import argparse | |
| parser = argparse.ArgumentParser(description='This is a simple Lottery Generator for PCSO.\n') | |
| parser.add_argument('--num', type=int, default=3, | |
| help='Enter how many Lucky Numbers to generate.') | |
| parser.add_argument('--max', type=int, default=49, | |
| help='Enter the maximum range of the numbers.') |
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
| acl localnet src 0.0.0.1-0.255.255.255 # RFC 1122 "this" network (LAN) | |
| acl localnet src 10.0.0.0/8 # RFC 1918 local private network (LAN) | |
| acl localnet src 100.64.0.0/10 # RFC 6598 shared address space (CGN) | |
| acl localnet src 169.254.0.0/16 # RFC 3927 link-local (directly plugged) machines | |
| acl localnet src 172.16.0.0/12 # RFC 1918 local private network (LAN) | |
| acl localnet src 192.168.0.0/16 # RFC 1918 local private network (LAN) | |
| acl localnet src fc00::/7 # RFC 4193 local private network range | |
| acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines | |
| #acl localnet src 167.179.64.0/18 | |
| acl localnet src 112.205.160.0/19 |
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
| This is the algorithm description derived from the prototype implementation | |
| provided by the authors and subsequent conversations and emails. | |
| ============================================================================== | |
| Algorithm Authors: | |
| Monica Cook | |
| Chester F. Carlson Center for Imaging Science | |
| Rochester Institute of Technology |
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
| F2:: | |
| Send {WheelUp} | |
| Return | |
| F1:: | |
| Send {WheelDown} | |
| Return |
NewerOlder