Posts

Issue: Newly deployed django met 'Database returned an invalid datetime value' Learn from stackoverflow: https://stackoverflow.com/questions/40792628/django-mysql-database-returned-an-invalid-datetime-value mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql Issue: tinymce occured not display admin edit …

lufy Jan 12, 2022 Read More

from https://pypi.org/project/pip2pi/   1. pip install pip2pi 2.  mkdir share/pypi pip2tgz share/pypi pandas==1.1.5 3.  dir2pi share/pypi 4. use local repository pip install --index-url=http://lufy.org:20082/pypi/simple/ pandas --trusted-host=lufy.org

lufy Jan 12, 2022 Read More

Currently, I'm working on retire my old computer, I found some content I wrote before. This one about uploading file to ftp server. ftp -n<<!open winuser lufei mbinaryput aclosebye!

lufy Jul 23, 2020 Read More

original link: https://www.diskpart.com/articles/shrink-volume-with-unmovable-files-4348.html What are the unmovable files? Unmovable files refer to the data generated by Windows that cannot be automatically moved by Windows built-in tool Disk Management, such as …

lufy Jun 19, 2020 Read More

Highlight search vim /etc/vimrc set hlsearch  

lufy Mar 22, 2020 Read More

  from https://www.digitalocean.com/community/tutorials/how-to-use-the-awk-language-to-manipulate-text-in-linux Introduction Linux utilities often follow the Unix philosophy of design. Tools are encouraged to be small, use plain text files for input and output, and operate in a …

lufy Mar 18, 2020 Read More

As a linux OS tester, when handling with adaptation test, storaege is often mentioned. I often confused of this. Here is a description of SAN and NAS, from https://www.netapp.com/us/info/what-is-storage-area-network.aspx. It's a …

lufy Mar 18, 2020 Read More

Differences of network bridge and gateway. from https://www.geeksforgeeks.org/difference-between-bridge-and-gateway/ Bridge is a network device which works in data link layer. Bridge connects two different LAN working on same protocol. Also In bridge, …

lufy Feb 18, 2020 Read More

Post big data, get 503 server error from site. Check nginx/error.log, appears next content: [crit] 16852#0: *1 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied) The problem is clear, but I think …

lufy Dec 07, 2019 Read More

from Advanced Bash-Scripting Guide: http://tldp.org/LDP/abs/html/x23170.html Sed Sed is a non-interactive [1] stream editor. It receives text input, whether from stdin or from a file, performs certain operations on specified lines …

lufy Dec 07, 2019 Read More