目前分類:軟體程式 (9)

瀏覽方式: 標題列表 簡短摘要

以按鈕點擊一次,數值會自動加1為例:

useState寫法:

import { useState } from "react";
 
function App() {
  const [val, setVal] = useState(0);
文章標籤

deh3215 發表在 痞客邦 留言(0) 人氣()

1.首先安裝XAMPP套件,請見 https://www.kjnotes.com/devtools/54

2.Android Studio安珠請自行Google,並能開啟一個新專案並編譯成功(模擬器或編譯進手機)

3.到Google FireBase建立一專案(因為要使用Google的FCM推播)

4.XAMPP安裝完,並開啟瀏覽器在網址列輸入localhost,能看到以下畫面就表示Apach運作成功,而且PHP是正常的,圖是在C:\xampp\htdocs\test底下建立一網頁(test.php)

deh3215 發表在 痞客邦 留言(0) 人氣()

這裡的所提的ID3v2,以ID3v2.3為主。

ID3v1的缺點就是一些訊息,例如:Title,Artist都是佔固定的Byte數(30),因此超過30 Bytes的名稱就會被切掉一些字元(因為無法存)。因此後來有了ID3v2,而前者並非ID3v1的

延伸。ID3v1和ID3v2差異最大就是前者是寫在mp3檔的檔尾,且長度固定。而後者長度為變動的,且是從mp3檔案的開頭開始寫起,ID3v2最大可到256 MB。

ID3v2結構分為:

|-------------------------|

deh3215 發表在 痞客邦 留言(1) 人氣()

如標題,會附上程式部分,很簡單易懂的程式。

ID3v1(後來有延伸版本ID31.1)為mp3格式通用標準,由ID3.org所制定的,後來廣會為使用" 。類似的tag還有ID3v2.x,APE,Lyrics3等。

 

Tag包含mp3檔案的一些訊息,包含Tag,Title(歌曲名稱,不是檔名,不同!!),Artist,Album,Year,Comment,Genre(音樂類型,如Rock),以上在Tag中是有順序的。

ID3v1的tag有 128 Bytes,分別為Tag(3 Bytes),Title(30 Bytes),Artist(30 Bytes),Album(30 Bytes),Year(4 Bytes), Comment(30 Bytes),Genre(1 Bytes)

deh3215 發表在 痞客邦 留言(0) 人氣()

IMAPSize 可以將.mbox==>eml格式

M$的outlook/express 的格式為eml,雷鳥或一般FREEBSD,UNIX的信件檔為.mbox

 

IMAPSize下載處:http://www.broobles.com/imapsize/download.php


deh3215 發表在 痞客邦 留言(0) 人氣()

perl安裝模組通常使用CPAN線上安裝或是PPM:

1. CPAN線上安裝:  開啟命令提示字元:輸入cpan,接著打install '模組名稱'
2. PPM:同上在命令提示字元打:PPM,接著會開啟PPM Console,找你要的模組名稱(這部分部落格有提到,不另外再提)
3.這方法就是手動編譯,安裝,像在Linux上手動編譯安裝Perl模組一樣,首先:先下載nmake 1.5.exe,解壓縮(連點兩下或用Winrar解壓

deh3215 發表在 痞客邦 留言(0) 人氣()

my $str3="
Dear Key Bank customer. Please read this message and follow it's instructions
Confirm Your Identity:
We are performing maintenance, which may interfere with access to your Online Services. Due to these technical updates your online account has been flagged and we must confirm that you are the rightful owner of the account. To Confirm Your Identity click the link below, Please make sure you do this in a timely fashion as we look forward of bringing you updates regularly
To get started, please click the link below:

deh3215 發表在 痞客邦 留言(3) 人氣()

Software error:

Can't locate Crypt/Eksblowfish/Bcrypt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/lib/cgi-bin/openwebmail) at /usr/lib/cgi-bin/openwebmail/auth/auth_unix.pl line 15.
BEGIN failed--compilation aborted at /usr/lib/cgi-bin/openwebmail/auth/auth_unix.pl line 15.

deh3215 發表在 痞客邦 留言(0) 人氣()

為何要介紹這個?在網路很少有關於ActivePerl安裝DB_File,DBD-Mysql,DBI的教學,因此特地弄了這個簡單教學

 

1.首先   開始->所有程式->附屬應用程式->命令提示字元 打上PPM 後會出現PPM GUI Console

2.滑鼠移到如下圖:View all packages

deh3215 發表在 痞客邦 留言(2) 人氣()