Skip to content

Instantly share code, notes, and snippets.

View nullne's full-sized avatar
🚎
go bootstrap

Le Yu nullne

🚎
go bootstrap
View GitHub Profile
@nullne
nullne / install_tmux_2.5_locally.sh
Last active June 22, 2020 04:43
install tmux 2.5
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.5
@nullne
nullne / nginx
Created March 12, 2019 07:38
log rotation config
/var/log/nginx/*.log {
daily
missingok
rotate 3
compress
delaycompress
notifempty
create 640 root root
sharedscripts
postrotate
@nullne
nullne / proxy_for_terminal.md
Created May 14, 2020 08:18 — forked from fearblackcat/proxy_for_terminal.md
Set proxy for terminal on mac

Shadowsocks Proxy

apt-get install python-pip
pip install shadowsocks

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
@nullne
nullne / movie.sh
Last active November 1, 2020 03:13
build movie server on pi
set -x
# download Raspberry PI imager to burn cd
# openvpn
apt install openvpn -y
cat >> /etc/openvpn/movie.conf << EOF
openvpn config content here
# username on first line, password on second
@nullne
nullne / agent loop
Created March 27, 2025 07:22 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet