sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
package main | |
import ( | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
"math/big" | |
) |
package enum_example | |
import ( | |
"bytes" | |
"encoding/json" | |
) | |
// TaskState represents the state of task, moving through Created, Running then Finished or Errorred | |
type TaskState int |
[ | |
// Navigation | |
{ | |
"key": "ctrl-h", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ | |
"key": "ctrl-l", | |
"command": "workbench.action.navigateRight" | |
}, |
atl*CLI> core show help | |
! -- Execute a shell command | |
acl show -- Show a named ACL or list all named ACLs | |
ael reload -- Reload AEL configuration | |
ael set debug {read|tokens|macros|contexts|off} -- Enable AEL debugging flags | |
agi dump html -- Dumps a list of AGI commands in HTML format | |
agi exec -- Add AGI command to a channel in Async AGI | |
agi set debug [on|off] -- Enable/Disable AGI debugging | |
agi show commands [topic] -- List AGI commands or specific help | |
aoc set debug -- enable cli debugging of AOC messages |
# Magento 2.x Nginx (and PHP-FPM) development template. (Taken from the official repo and slightly edited) | |
# READ THROUGH FIRST! See video https://youtu.be/22RF1g_yjFI | |
# Andy Myers | |
upstream fastcgi_backend { | |
# use tcp connection | |
# server 127.0.0.1:9000; | |
# or socket | |
# This is different for different distrbutions | |
server unix:/PATH/TO/php-fpm.sock; |
You will need more than 24 GB of VRAM to quantize a 7B parameter model like mistral this way. I didn't have that, so I borrowed some H100 time on vast.ai for 5 dollars.
On an cloud gpu, run a docker instance from an image created by the following script:
git lfs install
git clone https://github.com/NVIDIA/TensorRT-LLM.git -b v0.8.0
cd TensorRT-LLM
Script comunas, regiones, provincias Junio 2022 | |
DROP TABLE IF EXISTS `comunas`; | |
CREATE TABLE `comunas` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`comuna` varchar(64) NOT NULL, | |
`provincia_id` int(11) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM AUTO_INCREMENT=346 DEFAULT CHARSET=utf8; |