Skip to content

Instantly share code, notes, and snippets.

View RonyMacfly's full-sized avatar
🦧
WORK

RonyMacfly

🦧
WORK
View GitHub Profile
https://www.virtualbox.org/browser/
https://www.virtualbox.org/browser/vbox/trunk
https://www.virtualbox.org/wiki/Contributor_information
https://www.virtualbox.org/wiki/Community
https://forums.virtualbox.org/
@RonyMacfly
RonyMacfly / gist:65368eafbd89aace748fb0b519e19c1c
Last active October 27, 2021 08:50
disable log out xfce debian
sudo xset -dpms s off
@RonyMacfly
RonyMacfly / file.txt
Last active October 27, 2021 08:49
connect nat linux virtualbox django / linux django virtualbox nat / django runserver get local network
Linux terminal:
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:9b:14:90 brd ff:ff:ff:ff:ff:ff
@RonyMacfly
RonyMacfly / argostraslate_demo.py
Last active October 27, 2021 08:52
Argostraslate example
# https://github.com/argosopentech/argos-translate
# sudo apt-get install python python3
# sudo apt-get install python-pip python3-pip
# pip3 install argostranslate
# pip install --no-cache-dir install torchvision
# Models: https://drive.google.com/drive/folders/11wxM3Ze7NCgOk_tdtRjwet10DmtvFu3i
# gdown --fuzzy 'https://drive.google.com/file/d/1Vr_u7mzfwWRVpwgr7loMX7-62DaHKrSJ/view?usp=sharing'
# Your folder: argostraslate_demo.py translate-en_XX-1_1.argosmodel
# python3 argostraslate_demo.py