Apr 26

Outlook 从 2007 开始,有内建邮件索引功能,可以让用户在搜索邮件时,更快找到目标邮件,但这个索引功能有时也会导致我们搜索不到已存在的邮件。当更换电脑或其他因素导致索引需要重新建立时,在索引建立完成前,用户所搜索到的邮件会是不完整的结果,此情形不常发生,但是当你急着要找一封信,又遇到索引尚未建立完成时,就会造成很大的困扰。

 

继续浏览 »

Apr 14
list1 = []
sizeNum = int(input("Please input the size of matrix: "))

for i in range(sizeNum):
    valueNum = int(input("Please input the value: "))
    list1.append(valueNum)

print(list1)
Apr 14
num = int(input("Please input a number: "))

for i in range(2, num):
    for j in range(2, i):
        if (i % j == 0):
            break
        
        if (i == j + 1):
            print(i)
Apr 14
ans = 38

min = 0
max = 100

while(True):
    guess = int(input("Please input a number that between %d ~ %d : "%(min, max)))
    if (guess > ans):
        max = guess
    if (guess < ans):
        min = guess
    if (guess == ans):
        print("Bingo!!")
        break
Apr 14

不知道什么时候开始,在使用 Manjaro 的“软件管理器”时,无论是安装、移除还是更新软件时,都会跳出 “/var/lib/pacman/local/dnsmasq-2.80-3/desc: No such file or directory” 的错误,But it didn't affect the installation process,So I ignored this message。

 

继续浏览 »

Apr 14

周末准备打开 XAMPP 来练习 PHP 时,But I still couldn't find where XAMPP was installed,It also shows in the 'Package Manager' that my computer hasn't installed it,Although puzzled why it was removed,I had no choice but to try installing it again。從「套件管理員」安裝時畫面卻卡在Extracting package (this might take several minutes, don’t give up!)”,第一次讓他跑了一個多小時還沒動靜第二次直接讓它跑一整晚結果還是一樣,I searched online a bit,Other users abroad have also encountered the same situation,There doesn't seem to be a clear solution。Later, I checked the official website,It turns out the official site provides a .run installation file,The installation method is almost the same as on Windows,Very convenient,This also reminds me that I used this method to install it two weeks ago,No wonder the 'Plugin Manager' doesn't know I've already installed it (my memory really is extremely bad)。

 

继续浏览 »

Apr 7

WordPress 'Pages' (page)' function is mainly used for creating static pages,但从以前我就想拿来当作分类页面的菜单,如下图:

 

继续浏览 »

Apr 7

  最近有在學習 python課程中是使用 anaconda 的開發環境介面的感覺算直覺,回家就想试着在 Manjaro 也安装起来练习,但是有点不太顺利。第一次安装失败是因为空间不足,也才发现原来 anaconda 需要用掉数G的空间,应该是因为里面有众多套件的关系。

 

继续浏览 »

Apr 7

去年底才帮老婆大人的 WordPress 搬家,这回轮到我自己,這次直接參考上次寫的「WordPress migration」文章進行,並把順序稍作調整,觀察有什麼要補充的,因此這篇直接取用上一篇文章的截圖,另外再針對本次所遇到的問題進行補充。

 

继续浏览 »