Skip to content

Instantly share code, notes, and snippets.

@lsgrep
lsgrep / pom.md
Created March 9, 2021 03:51
Hive download jars

Download maven dependencies into a folder mvn install dependency:copy-dependencies

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <repositories>
        <repository>
            <id>cloudera</id>
            <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
@lsgrep
lsgrep / docker.md
Last active March 15, 2023 05:02
Docker & Docker-compose Setup
  1. Docker setup
wget -qO- https://get.docker.com/ | sh
  1. sudoless access
sudo usermod -aG docker $USER

logout & login again

@lsgrep
lsgrep / LLM.md
Created March 29, 2023 03:11 — forked from rain-1/LLM.md
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

[Unit]
Description=Wireguard Proxy Server
After=multi-user.target
[Service]
ExecStart=+/usr/local/bin/wg-proxy -confPath /etc/wg-proxy/config.json
CapabilityBoundingSet=CAP_NET_ADMIN
AmbientCapabilities=CAP_NET_ADMIN
Type=simple