# Step 0
# Place prebuild zig binary, say 0.13.0, check latest stable release via https://ziglang.org/download/
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
xz -d -v zig-linux-x86_64-0.13.0.tar.xz
tar xvf zig-linux-x86_64-0.13.0.tar
sudo mkdir -p /opt
sudo mv zig-linux-x86_64-0.13.0 /opt/- ensure remote server enables remote port fwd on non-loopback ip
#/etc/ssh/sshd_config
GatewayPorts yes- ssh
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
| What I Worked On | |
| February 2021 | |
| Before college the two main things I worked on, outside of school, were writing and programming. I didn't write essays. I wrote what beginning writers were supposed to write then, and probably still are: short stories. My stories were awful. They had hardly any plot, just characters with strong feelings, which I imagined made them deep. | |
| The first programs I tried writing were on the IBM 1401 that our school district used for what was then called "data processing." This was in 9th grade, so I was 13 or 14. The school district's 1401 happened to be in the basement of our junior high school, and my friend Rich Draves and I got permission to use it. It was like a mini Bond villain's lair down there, with all these alien-looking machines — CPU, disk drives, printer, card reader — sitting up on a raised floor under bright fluorescent lights. | |
| The language we used was an early version of Fortran. You had to type programs on punch cards, then stack them in the card reader and press a |
wget https://raw.githubusercontent.com/lotabout/dotfiles/master/bin/clipboard-provider
sudo mv clipboard-provider /usr/bin/
sudo chmod +x /usr/bin/clipboard-providervim.opt.clipboard:append("unnamedplus")
-- Check if clipboard-provider is executable
if vim.fn.executable('clipboard-provider') thenQuickly setup env
git clone --branch v1.0 https://github.com/vesoft-inc/nebula-docker-compose.git
cd nebula-docker-compose
docker-compose up -d
docker run --rm -ti --network=host vesoft/nebula-console:v1.2.1 -u root -p nebula --addr=127.0.0.1 --port=3699
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # nebulagraph --> networkX | |
| ## 从 NebulaGraph 中获得一张图,存储为 pd dataframe | |
| from nebula3.gclient.net import ConnectionPool | |
| from nebula3.Config import Config | |
| import pandas as pd | |
| from typing import Dict | |
| from nebula3.data.ResultSet import ResultSet |