Jarxi

Bolderdash

[Elastic Beanstalk] Elastic Beanstalk Commands

Elastic Beanstalk Commandseb create create environment eb init create application eb ssh ssh into the ec2 instanceeb deploy --version VERSION deploy this specific version, it won’t update the VERS......

[Hexo] Deploy Hexo to Elastic Beanstalk

Deploy hexo to Elastic BeanStalkExtremely difficult process. The old hexo-deployer-git requires hexo-util@0.5.3 triggers permission errors all the time. Updating hexo-deployer-git can solve the pro......

[Python] How to Setup Python Env

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

[Flask] Flask Tutorial

Flask TutorialTutorial with sample project ...

[Elastic Beanstalk] React and Node to Elastic Beanstalk

Deploy React and Node project to Elastic BeanstalkSources:AMS Official docsHow to LogVery good source with sample projectExtra source Important Points tail -n 50 /var/log/web.stdout.log prints last......

[Hexo] How to Use My Hexo

How to Use My HexoSource code repo: BlogWebsite 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 Blo......

[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