Find a mirror geographically close to you and use it like this:
pip install -i https://[mirror-url]/simple package
For instance, using a Beijing mirror:
pip install -i https://pypi.douban.com/simple package
from pymongo import MongoClient | |
from odo import odo | |
import pandas as pd | |
# open connection | |
connection = MongoClient() | |
# pandas df creation | |
DF = pd.DataFrame({'A': [1,2,3,4,5,6,7], 'B':[10,20,30,40,50,60,70]}) | |
# database connection |
version: "3" | |
services: | |
postgres-db: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_PASSWORD: postgres |
pkg upgrade | |
pkg install python python-dev libzmq-dev libcrypt-dev clang | |
pip3 install -U pip | |
pip3 install pyzmq --install-option="--zmq=/usr/lib" | |
pip3 install jupyter | |
#TODO: Clean up ~200 mb pulled by build... | |
apt remove python-dev libzmq-dev libcrypt-dev clang | |
apt autoremove | |
rm .cache ../usr/var/cache -rf |
10-Bit H.264 | |
For all those who haven’t heard of it already, here’s a quick rundown about the | |
newest trend in making our encodes unplayable on even more systems: So-called | |
high-bit-depth H.264. So, why another format, and what makes this stuff | |
different from what you know already? | |
First off: What is bit depth? | |
In short, bit depth is the level of precision that’s available for storing color | |
information. The encodes you’re used to have a precision of 8 bits (256 levels) |
With this wiki2html.sh bash script and pandoc program, you can convert markdown to html.
Usage: In the vim list section of the .vimrcfile, include options:
let g:vimwiki_list = [{'path': ‘your_wiki_place',
\ 'path_html': ‘wiki_html_location’,
\ 'syntax': 'markdown',
\ 'ext': '.md',
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: