- Download and Install Sublime Text 3.1.1 Build 3176
- Install Package Control (don't forget to restart Sublime after)
- Install PackageResourceViewer (restart Sublime)
- Open the Command Palette (Tools > Command Palette from Sublime task menu)
- Enter open resource and select PackageResourceViewer: Open Resource
- Enter html and select HTML
- Enter sub and select HTML.sublime-syntax
- Click Find > Find... from the Sublime task menu (or use cmd+f or ctrl +f) and search for (?:java|ecma)
- Replace (?:java|ecma) on line 38 with (?:java|ecma|paper)
- Save and close the file
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
<?php | |
class log { | |
public $filename; | |
public $timestamp; | |
public $ip; | |
public $u_agent; | |
public $u_refer; | |
public $ub; |
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
<VirtualHost ...> | |
... | |
# Reverse Proxy | |
ProxyRequests Off | |
#ProxyPreserveHost On | |
RequestHeader set X-Forwarded-Proto "https" | |
ProxyPass /blog http://blog.example.org/blog | |
ProxyPassReverse /blog http://blog.example.org/blog | |
... | |
</VirtualHost> |
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
Method 1 | |
git config --global core.editor "'c:/program files/sublime text 3/sublime_text.exe' -w" | |
Method 2 | |
git config --global core.editor "subl -n -w" | |
Method 3 | |
$ echo 'alias subl="/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"' >> ~/.bashrc |
Python 3.11 is not available as apt package on debian raspbian bullseye so installing from source needed
updatepython2v11.sh can be used to compile python 3.11 on raspberry pi
installing packages like bcrypt and cryptography needs rust compiling so rust compiler needed if you don't do that you will get error liek this:
Building wheels for collected packages: bcrypt
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
git clone https://github.com/cpacker/MemGPT.git | |
conda create -n memgpt python=3.10 | |
conda activate memgpt | |
cd memgpt | |
pip install -r requirements.txt | |
export OPENAI_API_KEY="YOUR_API_KEY" | |
# download .txt docs from: https://huggingface.co/datasets/MemGPT/example-sec-filings/tree/main | |
# place in "memgpt/personas/examples/preload_archival/*.txt" | |
python3 main.py --archival_storage_files_compute_embeddings="memgpt/personas/examples/preload_archival/*.txt" --persona=memgpt_doc --human=basic |