-
線上編解碼QP, Base64
QP: Quote Printable 郵件編碼格式 http://www.webatic.com/run/convert/qp.php Read more
-
CentOS 7-Install Python 3, Django 2, uwsgi, nginx
以root身份依序執行以下指令: yum -y install epel-release yum -y install python36 python36-tools python36-libs python36-devel wget gcc gcc-c++ zlib* openssl-devel unixODBC-devel yum -y install uwsgi wget https://bootstrap.pypa.io/get-pip.py –no-check-certificate python36 get-pip.py pip install django… Read more
-
CentOS 7-Install VMTools
以root身份依序執行以下指令: yum groupinstall -y “Perl Support” yum install -y open-vm-tools yum install -y net-tools mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom cd /mnt/cdrom cp VMwareTools* /tmp cd /tmp tar zxpf VMwareTools* cd… Read more
-
Python-Django connect to MS SQL Server
Use django-pyodbc-azure: pip install django-pyodbc pip install django-pyodbc-azure Microsoft recommend solution for Python connect to SQL Server: pyodbc Settings.py: DATABASES = ‘default’: { ‘NAME’: ‘guest’, ‘ENGINE’: ‘sql_server.pyodbc’, ‘HOST’: ‘127.0.0.1’, ‘USER’:… Read more
-
SQL Server-Datetime 轉換字串
以下參考微軟 Microsoft Docs 網站列舉出常用的轉換SQL指令: yyyy/MM/dd CONVERT(char(10), @DATETIME, 111) yyyy/MM/dd HH:mm:ss REPLACE(CONVERT(char(19), @DATETIME, 120), ‘-‘, ‘/’) yyyy-MM-dd CONVERT(char(10), @DATETIME, 120) yyyy-MM-dd HH:mm:ss CONVERT(char(19), @DATETIME, 120) Read more
-
Labview驅動程式取得及安裝方式
1. 到National Instrument的IDNet下載: http://www.ni.com/downloads/instrument-drivers/zht/ 2. 下載後解壓縮並放到程式安裝目錄下的instr.lib資料夾內即可(Labview要重開) Read more
-
C#-byte[] to BSTR
使用 UTF7編碼 var bytes = new byte[] {0xB1, 0xA6}; var bstr = Encoding.UTF7.GetString(bytes); Read more
-
Windows-Robocopy完整檔案複製(含屬性)
robocopy {來源} {目的} /E /COPYALL /XD “System Volume Information” “$Recycle bin” Read more
Welcome to my blog!
I’m Amy, a minimalist and simple living enthusiast who has dedicated her life to living with less and finding joy in the simple things. Through this blog, I aim to share my expertise, insights, and experiences. Join me on this journey as we explore the world of slow, purposeful living together!
Find us on:
Join the fun!
Stay updated with our latest recipes and other news by joining our newsletter.
