Vincec's Dimension

Docker Notes
microservicesAdvantage: Easy to build divided into small pieces Can do module Module goes down, whole application dont effect Disadvantage of virtual machine: Resources hungers Docker implement Using docker containers on top of virtual machine, docker containers are lightweight alternative ...
Mongodb Notes
Install(ubuntu)12345678910111213wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.listsudo apt-get updatesudo apt-get i...
Make Emby(Plex) support nfts external hdd driver
Emby is a great media origizaion and delivery solution. But I found need to tweak for make ntfs extermal drive set as a path in Linux. Othrwise, the access problem will show. Under Plex should be work as same. Step Add autostart command, sudo systemctl enable emby-server Find UUID of ntfs drive, ...
ibus Chinese input config - finally
KDE Delete any layouts you may have setup in > System Settings > Input Devices > Keyboard > Layouts. This will ensure that you do not have a double set of icons on your task bar for the input methods. Open Konsole and enter the following command: sudo apt-get install ibus ibus-gtk ib...
Arduino Notes
pinMode(pin, mode)Mode type: INPUT INPUT_PULLUP OUTPUT Interface Digital Analog Power pin DigitalWire Examplesource: Lynda) PushButtonActive Low Pushbutton -> send low signal to microprocessor / pull-up circuit, pull-up resistorActive Down Pushbutton -> send up signal to microprocesso...
Bit Operate with Unsigned Integer
Bitwise Logical Operators and Shift Operators(位运算符)Java 位运算符(JAVA Bitwise Logical Operators) Operator~,|,&,^ ~ the NOT Operator (非运算符), ~0 = -1, ~11 = -12, 当取反为负数,最左侧位为1时,需要用补码方法获取他的正数,在倒获得正确的负数值 | the OR Operator (或运算符) & the AND Operator (与运算符) ^ the XOR Operator (异或运算符), 有且只有一个为 1...
Sort Review
Linear SearchBasic for search, with for loops Bubble Sort (exchange) rearrange pairs of elements which are out of order, until no such pairs remain. two for search(pos from end to 0, one from 0 to pos) compare value with next, if smaller, swap value 123456789void bubbleSort(){ for(int...
Desktop App Converter Note
Steps Administrator mode running Desktop App Converter Input Command1DesktopAppConverter.exe -Installer C:\Users\qq234\App\ -AppExecutable vApp.exe -Destination C:\Output\vApp -PackageName "vApp" -Publisher "CN=C02xx-xxx-xxx" -Version 0.0.0.1 -MakeAppx -Sign -Verbose -Verify Update the Asser...
Tree Review
A ‘tree’ is a widely used abstract data type (ADT) _Tree Data Structure_ A tree is a nonlinear data structure, compared to arrays, linked lists, stacks and queues which are linear data structures. A tree can be empty with no nodes or a tree is a structure consisting of one node called the root...
i pensieri stretti & il viso sciolto