Instructions on running Dive a HOST application for LLMs with MCP support.
Use one of the install methods at Dive Ai Agent
Run dive like:
./Dive-0.7.2-linux-x86_64.AppImage --no-sandbox
Instructions on running Dive a HOST application for LLMs with MCP support.
Use one of the install methods at Dive Ai Agent
Run dive like:
./Dive-0.7.2-linux-x86_64.AppImage --no-sandbox
git commit -m "Something terribly misguided" # (0: Your Accident) | |
git reset HEAD~ # (1) | |
#[ edit files as necessary ] # (2) | |
git add . # (3) | |
git commit -c ORIG_HEAD # (4) | |
#Ref: https://stackoverflow.com/questions/927358/how-do-i-undo-the-most-recent-local-commits-in-git |
#Tweak timing between key sequence | |
set -s escape-time 0 | |
## active window title colors | |
set-window-option -g window-status-current-attr bright | |
# Set prefix to Ctrl-Space instead of Ctrl-b | |
unbind C-b | |
set -g prefix C-Space | |
bind Space send-prefix |
#!/bin/bash | |
filetype=png | |
for i in *.$filetype; do | |
name=$(echo $i | sed 's/\.[^.]*$//') | |
echo "Processing: $i" | |
mkdir -p $name | |
convert $i -resize 700x700\> $name/700; | |
convert $i -resize 460x460\> $name/460; |
# Find out true IP for DB access. | |
# Ref: https://www.digitalocean.com/community/questions/trusted-sources-not-allowing-connections-from-my-ip?comment=94488# | |
curl ifconfig.io |
version: "3" | |
services: | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
container_name: phpmyadmin | |
environment: | |
# - PMA_ARBITRARY=1 | |
- MYSQL_ROOT_PASSWORD=root | |
- PMA_HOST=127.0.0.1 | |
restart: always |
This short guide explains how to create an NPM package that can be called as a script from another project. For clarity: The package to execute will be called: Module The place where you use it: Application
Create a standard module ignore command line parsing
#!/bin/bash | |
FILES=*.pdf | |
for f in $FILES | |
do | |
SAVEAS="${f/.pdf/.txt}" | |
if [ ! -f "librosTexto/$SAVEAS" ]; then | |
echo "-Processing $f file as $SAVEAS..." | |
pdftotext -enc UTF-8 -nopgbrk "$f" "librosTexto/tmp.txt" | |
tr -s '\t' ' ' <"librosTexto/tmp.txt" > "librosTexto/$SAVEAS" | |
rm librosTexto/tmp.txt |
# not really an sh file but the sequence I used to install, might work as .sh but haven't tried | |
# If running as .sh with sudo it might not need the sudo's | |
# 1. Clone the repo and create the directories | |
git clone https://github.com/albfan/miraclecast.git | |
cd miraclecast/ | |
mkdir build | |
cd build/ | |
# 2. There's lots of dependencies not listed | |
sudo apt-get install autoconf automake libtool libudev-dev libsystemd-dev libglib2.0-dev libreadline-dev | |
# 3. Continue the building process |
.text-wrapper { | |
margin: 0px 10px 0px 34px; | |
text-align: left; | |
} |