Skip to content

Instantly share code, notes, and snippets.

Description=Wireguard Proxy Server
ExecStart=+/usr/local/bin/wg-proxy -confPath /etc/wg-proxy/config.json
lsgrep /
Created March 29, 2023 03:11 — forked from rain-1/
LLM Introduction: Learn Language Models


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

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


Neural network links before starting with transformers.

lsgrep /
Last active March 15, 2023 05:02
Docker & Docker-compose Setup
  1. Docker setup
wget -qO- | sh
  1. sudoless access
sudo usermod -aG docker $USER

logout & login again

lsgrep /
Created March 9, 2021 03:51
Hive download jars

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

<project xmlns="" xmlns:xsi=""
lsgrep / Tensorflow
Created October 20, 2019 11:44

Tensorflow 1.0 vs Tensorflow 2.0

Tensorflow 1.0 in general is not famed for its ease of use, nor for being well documented. Tensorflow 2.0 has set out to fix all those issues, and it does make things easier with advent of eager execution and unified RNNs & unified Optimizers etc. There are a lot to take in version 2.0, but without proper context and comparison to the 1.0 version, some features are beyond magical. I will provide proper explanation and context through this blog.

Tensorflow 1.0 Programming model

  • Graph
lsgrep /
Last active September 25, 2019 15:29


I have been developing backend applications for the last few years. After reading Hackers & Painters I was captivated by the Lisp, to this day still am. And under the influence of Paul and Hacker News, I picked up Clojure, a Lisp on JVM. Not only because Lisp is an elegant, beautiful language, it is also one of the few languages that involved in the creation of the Artificial Intelligence. Alas, I never had the chance to use Lisp or other languages to build intelligent applications professionally.

# Uncomment the next line to enable packet forwarding for IPv4
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
net.ipv4.conf.all.proxy_arp = 1
net.core.netdev_max_backlog = 250000
lsgrep / Makefile
Created October 12, 2017 02:56 — forked from mcastilho/Makefile
Makefile for Medium article
.PHONY: all tags clean test build install generate image release
REGISTRY_REPO = <..redacted..>
# Build Flags
lsgrep /
Created October 10, 2017 09:31 — forked from terlar/
Kubernetes fish completions
# kubernetes - is an open source system for managing containerized
# applications across multiple hosts, providing basic mechanisms for
# deployment, maintenance, and scaling of applications.
# See:
function __kubectl_no_command
set -l cmd (commandline -poc)
if not set -q cmd[2]
return 0
lsgrep /
Created August 15, 2017 03:12 — forked from onlytiancai/
# -*- coding: utf-8 -*-