Node.js for Desktop
Desktop
- Windows Manager
- Dock
- System Info
Node.js for Desktop
Desktop
原文 | |
ループが書けなくなる(或いは再帰依存症)レベル10 | |
http://d.hatena.ne.jp/yuki_neko_nyan/20090217/1234850409 | |
level 0 | |
不會寫遞迴,也沒辦法用遞迴思考。只覺得用迴圈寫就好了。 | |
level 1 | |
開始學習遞迴,但只要一用遞迴思考就覺得煩。有時還會忘了寫終止條件。覺得實在太麻煩了還是想寫迴圈就好。 |
# https://paiza.jp/poh/enkoi | |
from sys import stdin | |
print sum(map(int, stdin.readlines()[1:])) |
My typical setup for a development box in VirtualBox uses two NICs. The first uses NAT to allow the box to communicate with the outside world through my host computer’s network connection. (NAT is the default, so shouldn't require any setup.) The second is a "host-only" connection that allows my host and guest to interact.
To create a host-only connection in VirtualBox, start by opening the preferences in VirtualBox. Go to the "Network" tab, and addd a Host-only Network. Modify the host-only network, and disable DHCP. Make a note of the IP address. (Feel free to set the IP address as well, if you like.)
Next, assign this host-only adapter to the virtual machine. Select the VM and press "Settings". Go to the "Network" tab, and select "Adpater 2". Enable the adapter, set it to a "Host-only Adapter", and select the adpater you created above.
code serve-web
is a locally hosted version of Visual Studio Code for the Web (Note that it's different from VSCode Server).
To run it within a WSL such that it can be accessed via the Windows host's browser:
.deb
files on Debian WSL:
sudo apt install ./code_xxxx.deb