Jarxi

Bolderdash

[Python] How to Setup Python Env

How to Setup Python Env Under project directory, type in terminal 123python3 -m venv envsource ./env/bin/activatepip3 install flask [flask as an example] The first command creates a ......

[Flask] Flask Tutorial

Flask Tutorial Tutorial with sample project ...

[Elastic Beanstalk] React and Node to Elastic Beanstalk

Deploy React and Node project to Elastic Beanstalk Sources: AMS Official docs How to Log Very good source with sample project Extra source Important Points tail -n 50 /var/log/web.stdout.log......

[Hexo] How to Use My Hexo

How to Use My Hexo Source code repo: Blog Website repo: Jarxi.github.io If setting up a new computer, clone the Blog repo is enough. Everytime hexo deploy to Jarxi.github.io and git push to Blog. E......

[Operating System] Spinlock

1234567891011121314151617struct lock{}void acquire(){ disable_interrupts(); while (test_and_set(&lock, new) == LOCKED) critical section lock = 0}void release()&#......

[C] Initalized struct

12345678910111213141516171819enum mutexstate{ MDESTROYED, MLOCKED, MUNLOCKED};struct kthread_mutex_t{ int mid; enum mutexstate state;};struct{ struct spinlock lock; ......
C

[ubuntu] Bluetooth stopped working after changing /etc/bluetooth/main.config

changed /etc/bluetooth/main.config to connect airpods Change /etc/bluetooth/main.config does not fix the issue. Instead, it makes the whole bluetooth driver disappear. solution Boot into windows if......

[胡言乱语] Bridging the gap between experts and decision makers

The Question: Why an Efficient Society Has to be Democratic I was reading a book called Teaching the Hard History. The book is about how American History on slavery should be taught another way and......

[胡言乱语] 山川异域,风月同天

长江日报其实没说错啊,人家日本是别国,当然可以写山川异域,日月同天。我们自己人支援武汉应该怎么喊? 我抛砖引玉啊:“硕鼠硕鼠 无食我黍” 不敢高声语,恐惊天上人。 鹭鸶腿上劈精肉,蚊虫腹内刳脂油 遍身罗绮者,不是养蚕人 官仓老鼠大如斗,见人开仓亦不走。健儿无粮百姓饥,谁遣朝朝入君口? 刑不上大夫,礼不下百姓 庙堂之上,朽木为官,殿陛之间,禽兽食禄 使天下之人,不敢言而敢怒;独夫之心,日益骄固......

[VR] How to connect Oculus Rift to Unity

Learn from Oculuc ...
VR