This file contains 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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 |
wget https://raw.githubusercontent.com/lotabout/dotfiles/master/bin/clipboard-provider
sudo mv clipboard-provider /usr/bin/
sudo chmod +x /usr/bin/clipboard-provider
vim.opt.clipboard:append("unnamedplus")
-- Check if clipboard-provider is executable
if vim.fn.executable('clipboard-provider') then
Quickly 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
generated by OpenAI ChatGPT, data fetched from https://en.wikipedia.org/wiki/2022_FIFA_World_Cup_squads
import requests
from bs4 import BeautifulSoup
import csv
# Define the URL of the Wikipedia page
See also: https://gist.github.com/wey-gu/54db65ac5551b473de2feb34c0985110
Follow https://web.eecs.umich.edu/~justincj/teaching/eecs442/WI2021/colab.html
!nvidia-smi
import torch
NewerOlder