<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7905384952389264619</id><updated>2025-05-19T19:34:44.504+08:00</updated><category term="linux"/><category term="ubuntu"/><category term="Android"/><category term="Windows CE"/><category term="C/C++"/><category term="fedora"/><category term="python"/><category term="C#"/><category term="ARM"/><category term="VBA"/><category term="mysql"/><category term="Windows 7"/><category term="mac"/><category term="Git"/><category term="Java"/><category term="QT"/><category term="VC"/><category term="line"/><category term="Driver"/><category term="Firefox"/><category term="GPS"/><category term="Genius"/><category term="Gitlab"/><category term="Hardware"/><category term="LTIB"/><category term="Laravel"/><category term="MPLABX"/><category term="Mouse"/><category term="Nexus 7"/><category term="Windows 10"/><category term="apache2"/><category term="freescale"/><category term="joplin"/><category term="php"/><category term="pidgin"/><category term="samba"/><category term="spotify"/><category term="thrift"/><category term="winrats"/><title type='text'>Alleen&#39;s Computer Science Notebook</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>110</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-3531853194332042779</id><published>2024-09-21T11:09:00.009+08:00</published><updated>2024-09-21T12:11:09.949+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="joplin"/><title type='text'>How to create the Joplin server with the docker?</title><content type='html'>&lt;p&gt;1. Get the docker sample configuration file.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
$wget https://raw.githubusercontent.com/laurent22/joplin/dev/.env-sample
$move .env-sample .env
$vim .env
&lt;/pre&gt;
&lt;p&gt;2. The example configuration will like below:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
#=============================================================================
# PRODUCTION CONFIG EXAMPLE
# -----------------------------------------------------------------------------
# By default it will use SQLite, but that&#39;s mostly to test and evaluate the
# server. So you&#39;ll want to specify db connection settings to use Postgres.
#=============================================================================
#
# APP_BASE_URL=https://example.com/joplin
# APP_PORT=22300
# 
# DB_CLIENT=pg
# POSTGRES_PASSWORD=joplin
# POSTGRES_DATABASE=joplin
# POSTGRES_USER=joplin
# POSTGRES_PORT=5432
# POSTGRES_HOST=localhost
#============================================================================= 
# DEV CONFIG EXAMPLE
# -----------------------------------------------------------------------------
# Example of local config, for development. In dev mode, you would usually use
# SQLite so database settings are not needed.
#=============================================================================
#
# APP_BASE_URL=http://localhost:22300
# APP_PORT=22300
&lt;/pre&gt;
&lt;p&gt;3. If normal usage, use PRODUCTION section.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS:If only for debug or demo, use DEV section.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
APP_BASE_URL=https://example.com/joplin&amp;nbsp;
APP_PORT=22300
DB_CLIENT=pg
POSTGRES_PASSWORD=joplin
POSTGRES_DATABASE=joplin
POSTGRES_USER=joplin
POSTGRES_PORT=5432
POSTGRES_HOST=localhost
&lt;/pre&gt;
&lt;p&gt;PS. Please change the POSTGRES_PASSWORD with you want.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. But, even use the docker, this docker will connect to your localhost DB.
So, you must manually create the DB on your localhost.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
$sudo -u postgres psql
&lt;/pre&gt;
&lt;p&gt;When you entry into the PostgreSQL console, please type the below command:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS. The PASSWORD must equal the POSTGRES_PASSWORD.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
CREATE DATABASE joplin;
CREATE USER joplin WITH PASSWORD &#39;yourpassword&#39;;
ALTER ROLE joplin SET client_encoding TO &#39;utf8&#39;;
ALTER ROLE joplin SET default_transaction_isolation TO &#39;read committed&#39;;
ALTER ROLE joplin SET timezone TO &#39;UTC&#39;;
GRANT ALL PRIVILEGES ON DATABASE joplin TO joplin;
\q
&lt;/pre&gt;

&lt;p&gt;5. Run the docker.&lt;/p&gt;
&lt;pre&gt;
$docker run --net=host --add-host=host.docker.internal:127.0.0.1 --env-file .env -p 22300:22300 joplin/server:latest
&lt;/pre&gt;
&lt;p&gt;6. You can visit the local host on browser.&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
http://localhost:22300/&amp;nbsp;
&lt;/pre&gt;
&lt;p&gt;7. The default login setting:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Default username: admin@localhost&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Default password: admin&amp;nbsp;&lt;/p&gt;

&lt;p&gt;8. You can create the bash file to easily run the docker:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
#!/bin/bash
docker pull joplin/server:latest
docker stop joplin
docker rm joplin
docker run -d --restart unless-stopped --name joplin \
			  --net=host \
              --add-host=host.docker.internal:127.0.0.1 \
              --env-file .env \
              -p 22300:22300 \
              joplin/server:latest
&lt;/pre&gt;

&lt;p&gt;9. Reference:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(1) https://hub.docker.com/r/joplin/server&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(2) https://netivism.com.tw/blog/512&amp;nbsp;&lt;/p&gt;
&lt;p&gt;(3) https://raw.githubusercontent.com/laurent22/joplin/dev/.env-sample&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/3531853194332042779/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/3531853194332042779' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3531853194332042779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3531853194332042779'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2024/09/how-to-create-joplin-server.html' title='How to create the Joplin server with the docker?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-5061960136718533659</id><published>2023-08-01T14:29:00.004+08:00</published><updated>2023-08-14T14:30:17.316+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="QT"/><title type='text'>How to build the QT static version on the Windows platform?</title><content type='html'>&lt;style&gt;
	.blogger {
		border:1px solid #C0C0C0;
		border-collapse:collapse;
		padding:5px;
	}
	.blogger th {
		border:1px solid #C0C0C0;
		padding:5px;
		background:#F0F0F0;
	}
	.blogger td {
		border:1px solid #C0C0C0;
		padding:5px;
	}
&lt;/style&gt;
&lt;p&gt;1. Download the QT source code from the QT office website.&lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;Download link: https://download.qt.io/archive/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.tar.xz&lt;/td&gt;
	&lt;/tr&gt;&lt;/tbody&gt;
&lt;/table&gt;
NOTE: This example will use the version QT 5.15.2.
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. Unzip the source code to the local disk. &lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;Example: &quot;D:\qt-everywhere-src-5.15.2&quot;&lt;/td&gt;
	&lt;/tr&gt;&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;3. Install the depend tools and library.&lt;/p&gt;&lt;p&gt;The QT was depend some tools or library. By the QT 5.15.2, it was depend below list:&amp;nbsp;&lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;
			&lt;p&gt;Perl version 5.12 or later   [http://www.activestate.com/activeperl/]&lt;/p&gt;
			&lt;p&gt;Python version 2.7 or later  [http://www.activestate.com/activepython/]&lt;/p&gt;
			&lt;p&gt;Ruby version 1.9.3 or later  [http://rubyinstaller.org/]&lt;/p&gt;
    	&lt;/td&gt;
	&lt;/tr&gt;&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;4. Open the VS2019 console.&lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;NOTE: This example must need the VS2019 to build the QT source code. Please make sure your PC has installed the VS2019.&lt;/td&gt;
	&lt;/tr&gt;&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Launch the VS2016 console tool: &quot;x64 Native Tools Command Prompt for VS 2019&quot;&lt;/p&gt;&lt;p&gt;It will show some message like below:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwLTYBMEZdbe6ptO7K4IeCMCMSqeB4RFwGvQPAe0p8-CQhFMZBxebQ9nrR-rNMBYIBOpKKShoW1YqVs3p9ToR_j7iFznV2kyWkyIaO0ZzHL5neyakZRPEHEFJIoRK_pa7HpHgUuL7XbtlXGITU_-Q-5wZJ1EIlNYWL8TSztzZ_FlvPjYZ7HLhH_EVP/s772/x64_Native_Tools_Command_Prompt_for_VS_2019.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;318&quot; data-original-width=&quot;772&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwLTYBMEZdbe6ptO7K4IeCMCMSqeB4RFwGvQPAe0p8-CQhFMZBxebQ9nrR-rNMBYIBOpKKShoW1YqVs3p9ToR_j7iFznV2kyWkyIaO0ZzHL5neyakZRPEHEFJIoRK_pa7HpHgUuL7XbtlXGITU_-Q-5wZJ1EIlNYWL8TSztzZ_FlvPjYZ7HLhH_EVP/w450-h185/x64_Native_Tools_Command_Prompt_for_VS_2019.png&quot; width=&quot;450&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;5. Change the work folder to &quot;D:\qt-everywhere-src-5.15.2&quot;.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
$cd D:\qt-everywhere-src-5.15.2

&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;6. Modify the source code: &quot;qtbase\mkspecs\common\msvc-desktop.conf&quot;
&lt;/p&gt;&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;
          &lt;p&gt;QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -M&lt;span style=&quot;color: red;&quot;&gt;D&lt;/span&gt;&lt;/p&gt;
          &lt;p&gt;QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -M&lt;span style=&quot;color: red;&quot;&gt;D&lt;/span&gt;&lt;/p&gt;
          &lt;p&gt;QMAKE_CFLAGS_DEBUG      = -Zi -M&lt;span style=&quot;color: red;&quot;&gt;D&lt;/span&gt;d&lt;/p&gt;
          &lt;/td&gt;&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;&lt;td&gt;
          &lt;p&gt;QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -M&lt;span style=&quot;color: red;&quot;&gt;T&lt;/span&gt;&lt;/p&gt;
          &lt;p&gt;QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -M&lt;span style=&quot;color: red;&quot;&gt;T&lt;/span&gt;&lt;/p&gt;
          &lt;p&gt;QMAKE_CFLAGS_DEBUG      = -Zi -M&lt;span style=&quot;color: red;&quot;&gt;T&lt;/span&gt;d&lt;/p&gt;
          &lt;/td&gt;&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;

&lt;p&gt;7. Use the configuration tool to initialize QT code base.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
$configure.bat -static -prefix &quot;D:\Qt_static&quot; -confirm-license -opensource -debug-and-release -platform win32-msvc -nomake examples -nomake tests  -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz -opengl desktop -mp

&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;NOTE: This example will set the final install path is &quot;D:\Qt_static&quot;.&lt;/p&gt;

&lt;p&gt;8. Download the build tool: &quot;jom&quot;.&lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
          &lt;td&gt;
          &lt;p&gt;Download link:  http://download.qt.io/official_releases/jom/jom.zip&lt;/p&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;This tool supports the multiple-core to build the source code on Windows Platform.&lt;/p&gt;
&lt;p&gt;We assume your JOM unzip path is &quot;D:/jom_1_1_3/jom.exe&quot;.&lt;/p&gt;
&lt;p&gt;9. Build the QT source code.&lt;/p&gt;
&lt;p&gt;NOTE: Please remember to change the work folder to the QT source code folder, like the &quot;step 5&quot;.&lt;/p&gt;
&lt;p&gt;Run the JOM in the console.&lt;/p&gt;
&lt;table class=&quot;blogger&quot;&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
          &lt;td&gt;
          &lt;p&gt;$D:/jom_1_1_3/jom.exe&lt;/p&gt;
          &lt;/td&gt;
        &lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;10. Install the QT SDK to the local.&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;bash&quot;&gt;
$nmake install

&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In the &quot;step 7&quot;, we set the install path is &quot;D:\Qt_static&quot;. After this command, it will help to install QT to this folder.&lt;/p&gt;

&lt;p&gt;Reference: https://blog.csdn.net/zhangpeterx/article/details/105099003&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/5061960136718533659/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/5061960136718533659' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5061960136718533659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5061960136718533659'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2023/08/how-to-build-qt-static-version-on.html' title='How to build the QT static version on the Windows platform?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwLTYBMEZdbe6ptO7K4IeCMCMSqeB4RFwGvQPAe0p8-CQhFMZBxebQ9nrR-rNMBYIBOpKKShoW1YqVs3p9ToR_j7iFznV2kyWkyIaO0ZzHL5neyakZRPEHEFJIoRK_pa7HpHgUuL7XbtlXGITU_-Q-5wZJ1EIlNYWL8TSztzZ_FlvPjYZ7HLhH_EVP/s72-w450-h185-c/x64_Native_Tools_Command_Prompt_for_VS_2019.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-7361188138872121212</id><published>2023-02-03T11:12:00.004+08:00</published><updated>2023-02-03T11:19:58.729+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows 10"/><title type='text'>Windows 10 - System Built-in MD5 Tool</title><content type='html'>&lt;p&gt;certutil -hashfile &amp;lt;filename&amp;gt; &amp;lt;hash-mode&amp;gt;&lt;/p&gt;&lt;p&gt;certutil -?&lt;/p&gt;&lt;pre&gt;Verbs:
 -dump          -- Dump configuration information or files
 -asn           -- Parse ASN.1 file
 -decodehex     -- Decode hexadecimal-encoded file
 -decode        -- Decode Base64-encoded file
 -encode        -- Encode file to Base64
 -deny          -- Deny pending request
 -resubmit      -- Resubmit pending request
 -setattributes -- Set attributes for pending request
 -setextension  -- Set extension for pending request
 -revoke        -- Revoke Certificate
 -isvalid       -- Display current certificate disposition
 -getconfig     -- Get default configuration string
 -ping          -- Ping Active Directory Certificate Services Request interface
 -pingadmin     -- Ping Active Directory Certificate Services Admin interface
 -CAInfo        -- Display CA Information
 -ca.cert       -- Retrieve the CA&#39;s certificate
 -ca.chain      -- Retrieve the CA&#39;s certificate chain
 -GetCRL        -- Get CRL
 -CRL           -- Publish new CRLs [or delta CRLs only]
 -shutdown      -- Shutdown Active Directory Certificate Services
 -installCert   -- Install Certification Authority certificate
 -renewCert     -- Renew Certification Authority certificate
 -schema        -- Dump Certificate Schema
 -view          -- Dump Certificate View
 -db            -- Dump Raw Database
 -deleterow     -- Delete server database row
 -backup        -- Backup Active Directory Certificate Services
 -backupDB      -- Backup Active Directory Certificate Services database
 -backupKey     -- Backup Active Directory Certificate Services certificate
                   and private key
 -restore       -- Restore Active Directory Certificate Services
 -restoreDB     -- Restore Active Directory Certificate Services database
 -restoreKey    -- Restore Active Directory Certificate Services certificate
                   and private key
 -importPFX     -- Import certificate and private key
 -dynamicfilelist -- Display dynamic file List
 -databaselocations -- Display database locations
 -hashfile      -- Generate and display cryptographic hash over a file
 -store         -- Dump certificate store
 -addstore      -- Add certificate to store
 -delstore      -- Delete certificate from store
 -verifystore   -- Verify certificate in store
 -repairstore   -- Repair key association or update certificate properties or
                   key security descriptor
 -viewstore     -- Dump certificate store
 -viewdelstore  -- Delete certificate from store
 -dsPublish     -- Publish certificate or CRL to Active Directory
 -ADTemplate    -- Display AD templates
 -Template      -- Display Enrollment Policy templates
 -TemplateCAs   -- Display CAs for template
 -CATemplates   -- Display templates for CA
 -enrollmentServerURL -- Display, add or delete enrollment server URLs associated
                   with a CA
 -ADCA          -- Display AD CAs
 -CA            -- Display Enrollment Policy CAs
 -Policy        -- Display Enrollment Policy
 -PolicyCache   -- Display or delete Enrollment Policy Cache entries
 -CredStore     -- Display, add or delete Credential Store entries
 -InstallDefaultTemplates -- Install default certificate templates
 -URLCache      -- Display or delete URL cache entries
 -pulse         -- Pulse autoenrollment events
 -MachineInfo   -- Display Active Directory machine object information
 -DCInfo        -- Display domain controller information
 -EntInfo       -- Display enterprise information
 -TCAInfo       -- Display CA information
 -SCInfo        -- Display smart card information
 -SCRoots       -- Manage smart card root certificates
 -verifykeys    -- Verify public/private key set
 -verify        -- Verify certificate, CRL or chain
 -sign          -- Re-sign CRL or certificate
 -vroot         -- Create/delete web virtual roots and file shares
 -vocsproot     -- Create/delete web virtual roots for OCSP web proxy
 -addEnrollmentServer -- Add an Enrollment Server application
 -deleteEnrollmentServer -- Delete an Enrollment Server application
 -oid           -- Display ObjectId or set display name
 -error         -- Display error code message text
 -getreg        -- Display registry value
 -setreg        -- Set registry value
 -delreg        -- Delete registry value
 -ImportKMS     -- Import user keys and certificates into server database for key
                   archival
 -ImportCert    -- Import a certificate file into the database
 -GetKey        -- Retrieve archived private key recovery blob
 -RecoverKey    -- Recover archived private key
 -MergePFX      -- Merge PFX files
 -ConvertEPF    -- Convert PFX files to EPF file
 -?             -- Display this usage message

CertUtil -?          -- Display a verb list (command list)
CertUtil -dump -?    -- Display help text for the &quot;dump&quot; verb
CertUtil -v -?       -- Display all help text for all verbs

CertUtil: -? command completed successfully.&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/7361188138872121212/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/7361188138872121212' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7361188138872121212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7361188138872121212'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2023/02/windows-10-system-built-in-md5-tool.html' title='Windows 10 - System Built-in MD5 Tool'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-7157721231350301225</id><published>2017-06-20T15:34:00.001+08:00</published><updated>2023-02-03T11:09:56.298+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux - How to find the GPIO usage status ?</title><content type='html'>$cat /sys/kernel/debug/gpio&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
GPIOs 576-607, platform/qcom,smp2pgpio-ssr-smp2p-4-out.19, master-kernel:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 608-639, platform/qcom,smp2pgpio-ssr-smp2p-4-in.18, slave-kernel:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 640-671, platform/qcom,smp2pgpio-ssr-smp2p-1-out.13, master-kernel:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 672-703, platform/qcom,smp2pgpio-ssr-smp2p-1-in.12, slave-kernel:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 704-735, platform/qcom,smp2pgpio-smp2p-4-out.16, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 736-767, platform/qcom,smp2pgpio-smp2p-4-in.14, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 768-799, platform/qcom,smp2pgpio-smp2p-1-out.10, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 800-831, platform/qcom,smp2pgpio-smp2p-1-in.8, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 832-863, platform/qcom,smp2pgpio-smp2p-7-out.6, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 864-895, platform/qcom,smp2pgpio-smp2p-7-in.4, smp2p:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 896-899, spmi/qpnp-pin-ffffffc03161cc00, pm8916-gpio:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-896 (qcom,hub-reset-gpio ) out hi&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-897 (qcom,sw-sel-gpio &amp;nbsp; &amp;nbsp;) in &amp;nbsp;lo&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 900-901, spmi/qpnp-pin-ffffffc03161c800, pm8916-mpp:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GPIOs 902-1023, platform/1000000.pinctrl, msm_tlmm_gpio:&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-922 (adv7533_hpd_irq_gpio) in &amp;nbsp;lo&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-923 (led1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) out lo&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-927 (disp_rst_n &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) in &amp;nbsp;lo&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-933 (adv7533_irq_gpio &amp;nbsp; &amp;nbsp;) in &amp;nbsp;lo&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-934 (adv7533_switch_gpio ) out lo&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-940 (7864900.sdhci cd &amp;nbsp; &amp;nbsp;) in &amp;nbsp;hi&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-1009 (volume_up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ) in &amp;nbsp;hi&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-1012 (USB_ID_GPIO &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ) in &amp;nbsp;hi&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;gpio-1022 (led2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) out lo&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
reference :&amp;nbsp;https://stackoverflow.com/questions/16033748/how-do-can-i-find-out-which-linux-driver-is-hogging-my-gpio&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/7157721231350301225/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/7157721231350301225' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7157721231350301225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7157721231350301225'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2017/06/linux-how-to-find-gpio-usage-status.html' title='Linux - How to find the GPIO usage status ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-8272858667491647098</id><published>2016-08-29T16:21:00.000+08:00</published><updated>2016-09-14T12:44:12.781+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><category scheme="http://www.blogger.com/atom/ns#" term="Gitlab"/><title type='text'>Gitlab - 如何解決 &quot;No authentication methods configured on login page&quot; ? (gitlab version : 8.11.2)</title><content type='html'>1. 安裝&amp;nbsp;postgresql-client-common &amp;amp;&amp;nbsp;postgresql-client&lt;br /&gt;
&lt;br /&gt;
$sudo apt-get install postgresql-client&amp;nbsp;postgresql-client-common&lt;br /&gt;
&lt;br /&gt;
2. 連線資料庫&lt;br /&gt;
&lt;br /&gt;
$sudo gitlab-psql&amp;nbsp;gitlabhq_production&lt;br /&gt;
&lt;br /&gt;
PS. 可以用&amp;nbsp;sudo gitlab-psql -l 查看資料庫列表&lt;br /&gt;
&lt;br /&gt;
3. 進入 client 界面後輸入：&lt;br /&gt;
&lt;br /&gt;
UPDATE application_settings set signin_enabled=true;&lt;br /&gt;
\q&lt;span style=&quot;background-color: white; color: #5c5d5e; font-family: &amp;quot;source sans pro&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , &amp;quot;arial&amp;quot; , sans-serif; font-size: 15px; line-height: 21.4286px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
4. 重新啟動 gitlab&lt;br /&gt;
&lt;br /&gt;
$sudo gitlab-ctl restart&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/8272858667491647098/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/8272858667491647098' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/8272858667491647098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/8272858667491647098'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2016/08/gitlab-no-authentication-methods.html' title='Gitlab - 如何解決 &quot;No authentication methods configured on login page&quot; ? (gitlab version : 8.11.2)'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-5056170137793637873</id><published>2016-08-17T16:15:00.000+08:00</published><updated>2016-09-14T12:43:33.930+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="spotify"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Spotify - 解決 ubuntu 16.04 下無法播放本機檔案問題</title><content type='html'>1. Download Spotify Library&lt;br /&gt;
&lt;br /&gt;
$wget&amp;nbsp;https://github.com/ramedeiros/spotify_libraries/archive/master.zip&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$git clone https://github.com/ramedeiros/spotify_libraries.git&lt;br /&gt;
&lt;br /&gt;
2. Copy files to lib folder.&lt;br /&gt;
&lt;br /&gt;
$cd spotify_libraries&lt;br /&gt;
$sudo cp lib* /usr/lib/x86_64-linux-gnu/&lt;br /&gt;
&lt;br /&gt;
3. link library&lt;br /&gt;
&lt;br /&gt;
$sudo ldconfig&lt;br /&gt;
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavutil.so.52.6.100 /usr/lib/x86_64-linux-gnu/libavutil.so.52&lt;br /&gt;
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavformat.so.54.36.100 /usr/lib/x86_64-linux-gnu/libavformat.so.54&lt;br /&gt;
$sudo ln -frs /usr/lib/x86_64-linux-gnu/libavcodec.so.54.71.100 /usr/lib/x86_64-linux-gnu/libavcodec.so.54&lt;br /&gt;
&lt;br /&gt;
Reference :&lt;br /&gt;
1. https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Linux-Local-files-do-not-play-on-Ubuntu-16-04-SOLVED/td-p/1343831&lt;br /&gt;
2.&amp;nbsp;https://github.com/ramedeiros/spotify_libraries</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/5056170137793637873/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/5056170137793637873' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5056170137793637873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5056170137793637873'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2016/08/spotify-ubuntu-1604.html' title='Spotify - 解決 ubuntu 16.04 下無法播放本機檔案問題'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-5131432057487691649</id><published>2016-05-26T13:36:00.003+08:00</published><updated>2016-09-14T12:42:47.867+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="MPLABX"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>MPLABX - 如何解決 MPLABX 在 Linux 版本下 editor 字體模糊問題？</title><content type='html'>1. 找到 MPLABX 安裝路徑，以 v3.15 在 ubuntu 16.04 為例：&lt;br /&gt;
&lt;br /&gt;
$cd /opt/microchip/mplabx/v3.15/&lt;br /&gt;
&lt;br /&gt;
2. 找到 ide 安裝路徑並且編輯設定檔&lt;br /&gt;
&lt;br /&gt;
$sudo vim&amp;nbsp;mplab_ide/etc/mplab_ide.conf&lt;br /&gt;
&lt;br /&gt;
3. 修改設定值&lt;br /&gt;
&lt;br /&gt;
default_options=&quot;-J-Dcrownking.stream.verbosity=very-quiet -J-Xss2m -J-Xms256m -J-XX:PermSize=128m -J-XX:MaxPermSize=384m -J-Dapple.awt.graphics.UseQuartz=true -J-XX:+CMSClassUnloadingEnabled -J-Dapt.limit.expanded.params=1000 -J-Dplugin.manager.check.interval=EVERY_DAY&quot;&lt;br /&gt;
&lt;br /&gt;
修改為...&lt;br /&gt;
&lt;br /&gt;
default_options=&quot;-J-Dcrownking.stream.verbosity=very-quiet -J-Xss2m -J-Xms256m -J-XX:PermSize=128m -J-XX:MaxPermSize=384m -J-Dapple.awt.graphics.UseQuartz=true -J-XX:+CMSClassUnloadingEnabled -J-Dapt.limit.expanded.params=1000 -J-Dplugin.manager.check.interval=EVERY_DAY &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;-J-Dawt.useSystemAAFontSettings=on&lt;/b&gt;&lt;/span&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
4. 重開 MPLABX</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/5131432057487691649/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/5131432057487691649' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5131432057487691649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5131432057487691649'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2016/05/mplabx-mplabx-linux-editor.html' title='MPLABX - 如何解決 MPLABX 在 Linux 版本下 editor 字體模糊問題？'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-2835474481895338748</id><published>2015-10-30T11:55:00.002+08:00</published><updated>2016-09-14T12:42:08.363+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Laravel"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Laravel - How to install Laravel 5 into ubuntu 14.04 ?</title><content type='html'>1. Install LAMP&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install python-software-properties&lt;br /&gt;
&lt;div&gt;
$ sudo apt-get update&amp;nbsp;&lt;/div&gt;
$ sudo apt-get install -y php5 php5-mcrypt&lt;br /&gt;
$ sudo apt-get install apache2 libapache2-mod-php5&lt;br /&gt;
$ sudo apt-get install mysql-server php5-mysql&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Install Composer&lt;/div&gt;
$ curl -sS https://getcomposer.org/installer | php&lt;br /&gt;
&lt;div&gt;
$ sudo mv composer.phar /usr/local/bin/composer&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
$ sudo chmod +x /usr/local/bin/composer&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Install Laravel&lt;/div&gt;
$ cd /var/www/html&lt;br /&gt;
&lt;div&gt;
$ sudo git clone https://github.com/laravel/laravel.git&lt;/div&gt;
$ cd /var/www/html/laravel&lt;br /&gt;
&lt;div&gt;
$ sudo composer install&lt;/div&gt;
&lt;div&gt;
$ sudo chown -R www-data.www-data /var/www/html/laravel&lt;/div&gt;
&lt;div&gt;
$ sudo chmod -R 755 /var/www/html/laravel&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Create .env and replace key into it.&lt;/div&gt;
&lt;div&gt;
$ cd /var/www/html/laravel&lt;/div&gt;
&lt;div&gt;
$ sudo cp .env.example .env&lt;/div&gt;
&lt;div&gt;
$&amp;nbsp;sudo chown www-data:www-data .env&lt;/div&gt;
&lt;div&gt;
$&amp;nbsp;php artisan key:generate&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You will get the new key, like ...&lt;/div&gt;
&lt;div&gt;
Application key [&lt;span style=&quot;color: red;&quot;&gt;pY5f1IYsOEqg6JxksaKF1gXGdMY1Z3w1&lt;/span&gt;] set successfully&lt;/div&gt;
&lt;div&gt;
Please copy this key and assign this key into &quot;APP_KEY&quot; on &quot;.env&quot;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;PS. DON&quot;T COPY MY KEY INTO YOUR SETTING !!!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Restart apache2 server&lt;/div&gt;
&lt;div&gt;
$ sudo service apache2 restart&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. Open your browser with &quot;127.0.0.1/laravel/public&quot;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/2835474481895338748/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/2835474481895338748' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/2835474481895338748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/2835474481895338748'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/10/laravel-how-to-install-laravel-5-into.html' title='Laravel - How to install Laravel 5 into ubuntu 14.04 ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-1223264554516337607</id><published>2015-10-02T17:59:00.002+08:00</published><updated>2016-09-14T12:41:15.345+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARM"/><category scheme="http://www.blogger.com/atom/ns#" term="freescale"/><category scheme="http://www.blogger.com/atom/ns#" term="LTIB"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu - How to setting the LTIB on ubuntu 14.04</title><content type='html'>1. Install all build tool into your host PC.&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev&lt;br /&gt;
$ sudo apt-get install libdbus-glib-1-dev liborbit2-dev intltool&lt;br /&gt;
$ sudo apt-get install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool&lt;br /&gt;
$ sudo apt-get install uuid-dev liblzo2-dev&lt;br /&gt;
$ sudo apt-get install tcl dpkg&lt;br /&gt;
$ sudo apt-get install asciidoc texlive-latex-base dblatex xutils-dev&lt;br /&gt;
$ sudo apt-get install texlive texinfo&lt;br /&gt;
&lt;div&gt;
$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0&lt;br /&gt;
$ sudo apt-get install libc6-dev-i386&lt;br /&gt;
$ sudo apt-get install u-boot-tools&lt;br /&gt;
$ sudo apt-get install scrollkeeper&lt;br /&gt;
$ sudo ln -s /usr/lib/x86_64-linux-gnu/librt.so   /usr/lib/librt.so&lt;/div&gt;
$ sudo apt-get install gparted&lt;br /&gt;
$ sudo apt-get install nfs-common nfs-kernel-server&lt;br /&gt;
$ sudo apt-get install git-core git-doc git-email git-gui gitk&lt;br /&gt;
$ sudo apt-get install meld atftpd&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Install LTIB into your host PC.&lt;/div&gt;
$ cd ~&lt;br /&gt;
$ tar -zxvf L3.0.35_4.1.0_130816_source. tar.gz&lt;br /&gt;
$ ./L3.0.35_4.1.0_130816_source/install&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
3. Apply the patch file.&lt;br /&gt;
$ cd ~/ltib&lt;br /&gt;
$ git apply 0001_make_L3.0.35_4.1.0_compile_on_Ubuntu_14.04_64bit_OS&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Run the LTIB on host PC.&lt;/div&gt;
$ cd ~/ltib&lt;br /&gt;
$ ./ltib -m config&lt;br /&gt;
$ ./ltib&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&amp;nbsp;https://community.freescale.com/docs/DOC-100725&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-size: 10pt; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/1223264554516337607/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/1223264554516337607' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1223264554516337607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1223264554516337607'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/10/ubuntu-how-to-setting-ltib-on-ubuntu.html' title='ubuntu - How to setting the LTIB on ubuntu 14.04'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-5634894487038380860</id><published>2015-10-01T11:02:00.001+08:00</published><updated>2016-09-14T12:40:04.649+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ARM"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu - How to create the ubuntu rootfs for arm ?</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Install &quot;debootstrap&quot; into your ubuntu system.&lt;/div&gt;
$sudo apt-get install debootstrap&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Create the ubuntu core file system.&lt;/div&gt;
$sudo debootstrap --arch=armhf --keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg --verbose --foreign &lt;span style=&quot;color: red;&quot;&gt;trusty&lt;/span&gt; rootfs&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Install &quot;qemu&quot; into your ubuntu system.&lt;/div&gt;
$sudo apt-get install binfmt-support qemu qemu-user-static&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Copy the qwmu-arm-static into your target file system.&lt;/div&gt;
$sudo cp /usr/bin/qemu-arm-static rootfs/usr/bin&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Change root to your target file sytem.&lt;/div&gt;
$sudo chroot rootfs /bin/bash&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. Create the target file system without on arm.&lt;/div&gt;
$/debootstrap/debootstrap --second-stage&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
7. Next time, you can use &quot;apt-get&quot; to install any deb into target file system on host pc.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference：http://berniechenopenvpn.blogspot.tw/2015/07/filesystem.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/5634894487038380860/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/5634894487038380860' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5634894487038380860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/5634894487038380860'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/10/ubuntu-how-to-create-ubuntu-rootfs-for.html' title='ubuntu - How to create the ubuntu rootfs for arm ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-9067615698371763472</id><published>2015-08-14T14:10:00.001+08:00</published><updated>2015-08-14T14:17:59.760+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu - Enable PHP in HTML or other files</title><content type='html'>1. Created a file : .htaccess on your folder.&lt;br /&gt;
2. Add below to .htaccess :&lt;br /&gt;
&lt;br /&gt;
$vim .htaccess&lt;br /&gt;
&lt;br /&gt;
AddType application/x-httpd-php .html .htm&lt;br /&gt;
3. Modify &quot;apache2.conf&quot;.&lt;br /&gt;
&lt;br /&gt;
$vim apache2.conf&lt;br /&gt;
&lt;br /&gt;
AllowOverride None  =&amp;gt; AllowOverride All&lt;br /&gt;
4. Restart apache2.&lt;br /&gt;
&lt;br /&gt;
$sudo service apache2 restart&lt;br /&gt;
&lt;br /&gt;
Reference :&amp;nbsp;http://www.bictor.com/2015/03/03/enable-php-in-html-or-other-files/</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/9067615698371763472/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/9067615698371763472' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/9067615698371763472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/9067615698371763472'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/08/ubuntu-enable-php-in-html-or-other-files.html' title='ubuntu - Enable PHP in HTML or other files'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-3617127616871441901</id><published>2015-07-15T15:37:00.000+08:00</published><updated>2015-07-15T18:20:40.516+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Nexus 7"/><title type='text'>Android - How to build the AOSP Nexus 7 (2012) ?</title><content type='html'>1. Get source code from AOSP.&lt;br /&gt;
&lt;br /&gt;
$mkdir nexus_7_2012&lt;br /&gt;
$cd nexus_7_2012&lt;br /&gt;
&lt;br /&gt;
You must to check nexus 7 (2012) and aosp version:&lt;br /&gt;
http://source.android.com/source/build-numbers.html#source-code-tags-and-builds&lt;br /&gt;
&lt;br /&gt;
For example, if you want get android 5.1.1 for nexus 7 (2012) wifi only source code, you can find ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgB6MdgFlUWysuO6WE1Sc1whOpNZrj_qpVVHyLuA7JbvIj-7NrG0qDFhKpYHFPTlJFUosGH94mwgKCcfWs54eMMPgck8-0GH_gM5l3QufW4Sr2PbwDELvsy6MISMq1n0YkJPcXOR6PA/s1600/blog-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgB6MdgFlUWysuO6WE1Sc1whOpNZrj_qpVVHyLuA7JbvIj-7NrG0qDFhKpYHFPTlJFUosGH94mwgKCcfWs54eMMPgck8-0GH_gM5l3QufW4Sr2PbwDELvsy6MISMq1n0YkJPcXOR6PA/s400/blog-1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Because nexus 7 2012 wifi device name was &quot;grouper&quot;, we can find the branch is android-5.1.1_r1.&lt;br /&gt;
&lt;br /&gt;
$repo init -u&amp;nbsp;&lt;span class=&quot;pln&quot;&gt;https&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;com&quot;&gt;//android.googlesource.com/platform/manifest -b&amp;nbsp;android-5.1.1_r1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;$repo sync&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;com&quot;&gt;2. Get third-party binaries.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;com&quot;&gt;Get binaries from this address :&amp;nbsp;https://developers.google.com/android/nexus/drivers&lt;/span&gt;&lt;br /&gt;
We want to build the android 5.1.1 , so we must to get ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI3R1f3mzgooQdtdf1Lr2dX9uTAF4ZQUH5VhTvZ61XU4l8-Kt9Ni9VWfW2yw8lVuO7P_uh3mNswjbV6yz6P0gbUeO5G75F_gdz76n0qF6wd2RLLsHgg95VSqPgbRHJLabaHys3y8XnoA/s1600/blog-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI3R1f3mzgooQdtdf1Lr2dX9uTAF4ZQUH5VhTvZ61XU4l8-Kt9Ni9VWfW2yw8lVuO7P_uh3mNswjbV6yz6P0gbUeO5G75F_gdz76n0qF6wd2RLLsHgg95VSqPgbRHJLabaHys3y8XnoA/s400/blog-2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;After get these files, please copy to your aosp folder and execute.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;You will to get the new folder &quot;vendor&quot; in your source code folder.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;com&quot;&gt;3. Build the source code.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;com&quot;&gt;&lt;br /&gt;&lt;/span&gt;
$source build/envsetup.sh&lt;br /&gt;
&lt;br /&gt;
Find the device tag and name from this ...&lt;br /&gt;
http://source.android.com/source/building-devices.html&lt;br /&gt;
&lt;br /&gt;
&quot;full_grouper-userdebug&quot; was &quot;nexus 7 2012 wifi only&quot; configuration name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$lunch&amp;nbsp;lunch full_grouper-userdebug&lt;br /&gt;
&lt;br /&gt;
$make -j8&lt;br /&gt;
&lt;br /&gt;
4. Flash to device. (Your device must to oem unlock.)&lt;br /&gt;
&lt;br /&gt;
$adb reboot-bootloader&lt;br /&gt;
$fastboot -w flashall&lt;br /&gt;
&lt;br /&gt;
PS. You must to input cmd on aosp folder.</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/3617127616871441901/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/3617127616871441901' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3617127616871441901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3617127616871441901'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/07/android-how-to-build-aosp-nexus-7-2012.html' title='Android - How to build the AOSP Nexus 7 (2012) ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihgB6MdgFlUWysuO6WE1Sc1whOpNZrj_qpVVHyLuA7JbvIj-7NrG0qDFhKpYHFPTlJFUosGH94mwgKCcfWs54eMMPgck8-0GH_gM5l3QufW4Sr2PbwDELvsy6MISMq1n0YkJPcXOR6PA/s72-c/blog-1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-8524408480327669030</id><published>2015-02-03T12:28:00.004+08:00</published><updated>2015-08-14T14:03:50.352+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="line"/><category scheme="http://www.blogger.com/atom/ns#" term="pidgin"/><category scheme="http://www.blogger.com/atom/ns#" term="thrift"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu - 在 ubuntu 上不利用 WINE 運作 Line (Pidgin + purple-line)</title><content type='html'>使用 WINE 跑 LINE 常常都會因為奇怪的原因 Crash 掉。找了很久，終於找到一篇日文的教學文章。這篇文章提供 Pidgin&amp;nbsp;+ purple-line 的外掛方式運行 Line 。經過測試之後是可行的。&lt;br /&gt;
&lt;br /&gt;
測試環境&amp;nbsp;Ubuntu 14.04 x86_64 3.13.0-40-generic&lt;br /&gt;
&lt;br /&gt;
1. 安裝 Pidgin&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install pidgin&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. 安裝編譯環境&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
$ sudo apt-get install libpurple0 libpurple-dev libpurple-bin&lt;br /&gt;
&lt;div&gt;
$ sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev python-dev&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. 下載 thrift ( http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz&amp;nbsp;)&lt;/div&gt;
&lt;div&gt;
4. 解壓縮 thrift&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$ tar zxvf&amp;nbsp;thrift-0.9.2.tar.gz&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. 編譯與安裝&amp;nbsp;thrift&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$ cd&amp;nbsp;thrift-0.9.2/&lt;/div&gt;
$ ./configure --without-tests&lt;br /&gt;
&lt;div&gt;
$ make&lt;/div&gt;
&lt;div&gt;
$ sudo make install&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
6. 下載 purple-line 的外掛&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$ cd ~/&lt;/div&gt;
$ git clone http://altrepo.eu/git/purple-line.git/&lt;br /&gt;
&lt;div&gt;
$ cd purple-line/&lt;/div&gt;
$ wget http://altrepo.eu/git/line-protocol.git/blob_plain/HEAD:/line_main.thrift&lt;br /&gt;
&lt;div&gt;
$ make&lt;/div&gt;
&lt;div&gt;
$ make install&lt;/div&gt;
&lt;div&gt;
$ sudo ldconfig&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
接下來重新開機之後，就可以啟動 Pidgin 並且新增 Line 的帳號了。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
參考文章：http://blog.livedoor.jp/hiroumauma/archives/1710677.html&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/8524408480327669030/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/8524408480327669030' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/8524408480327669030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/8524408480327669030'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2015/02/ubntu-ubuntu-wine-line-pidgin-purple.html' title='ubuntu - 在 ubuntu 上不利用 WINE 運作 Line (Pidgin + purple-line)'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-4824437469448423459</id><published>2014-10-09T18:40:00.002+08:00</published><updated>2014-10-09T18:40:27.514+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Git"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>How to remove .git files ?</title><content type='html'>&lt;br /&gt;
find . | grep &quot;\.git&quot; | xargs rm -rf</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/4824437469448423459/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/4824437469448423459' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/4824437469448423459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/4824437469448423459'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/10/how-to-remove-git-files.html' title='How to remove .git files ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-6461944951706305401</id><published>2014-10-02T13:12:00.002+08:00</published><updated>2014-10-02T13:12:29.016+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux - warning: override XXX</title><content type='html'>Because your kconfig have &quot;choice&quot; !&lt;br /&gt;
&lt;br /&gt;This mean that only have &quot;1&quot; module can be enable.&lt;br /&gt;
But, you enabled 2 or more module on your config file belong this item.&lt;br /&gt;
&lt;br /&gt;
After &quot;make xxxx_config&quot;, it found 2 enable module on this item.&lt;br /&gt;
&lt;br /&gt;
it will show ... warning: override.&lt;br /&gt;
&lt;br /&gt;
You must to disable unnecessary module on this item.&lt;br /&gt;
&lt;span class=&quot;gt-baf-back&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/6461944951706305401/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/6461944951706305401' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/6461944951706305401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/6461944951706305401'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/10/linux-warning-override-xxx.html' title='Linux - warning: override XXX'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-1233603726541978391</id><published>2014-04-15T14:40:00.001+08:00</published><updated>2014-04-17T10:42:57.588+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="line"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to install line on ubuntu ?</title><content type='html'>1. sudo add-apt-repository ppa:ubuntu-wine/ppa&lt;br /&gt;
&lt;div&gt;
2. sudo apt-get update&lt;/div&gt;
3. sudo apt-get install wine&lt;br /&gt;
&lt;div&gt;
4. winetricks vcrun2008&lt;/div&gt;
&lt;div&gt;
5. Download Line and install from&amp;nbsp;http://cdn.line-apps.com/client/win/LineInst.exe&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&amp;nbsp;http://longbao738.blogspot.tw/2013/10/ubuntu-line.html&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/1233603726541978391/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/1233603726541978391' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1233603726541978391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1233603726541978391'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/04/how-to-install-line-to-ubuntu.html' title='How to install line on ubuntu ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-1409507406583619174</id><published>2014-02-22T13:00:00.000+08:00</published><updated>2014-02-22T13:00:11.365+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Python - How to install mysql-python on ubuntu?</title><content type='html'>&lt;span id=&quot;goog_1165202226&quot;&gt;&lt;/span&gt;$&amp;gt; sudo apt-get install python-dev&lt;div&gt;
&lt;br /&gt;&lt;div&gt;
$&amp;gt;&amp;nbsp;sudo apt-get install libmysqlclient-dev&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$&amp;gt;&amp;nbsp;pip install mysql-python&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1.&amp;nbsp;http://lucaswei.blogspot.tw/2012/02/pythonh-no-such-file-or-directory.html&lt;/div&gt;
&lt;div&gt;
2.&amp;nbsp;http://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/1409507406583619174/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/1409507406583619174' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1409507406583619174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1409507406583619174'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/python-how-to-install-mysql-python-on_22.html' title='Python - How to install mysql-python on ubuntu?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-2629124729098613306</id><published>2014-02-22T12:55:00.002+08:00</published><updated>2014-02-22T12:55:30.856+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Python - How to install MySQL-python on MAC ?</title><content type='html'>1. Open console on mac.&lt;br /&gt;
&lt;br /&gt;
2. Input cmd ...&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;goog_1165202214&quot;&gt;&lt;/span&gt;$&amp;gt; pip install MySQL-python&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$&amp;gt;&amp;nbsp;sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Python/2.7/site-packages/_mysql.so&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
$&amp;gt;&amp;nbsp;sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Directories/To/File/filereferencedinpython&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Add setting ..&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. http://moravec.net/2013/04/installing-mysql-python-on-mac-os-x/&lt;/div&gt;
&lt;div&gt;
2.&amp;nbsp;http://coddswallop.wordpress.com/2012/08/23/solving-library-not-loaded-libmysqlclient-18-dylib-when-importing-mysqldb-on-lion/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/2629124729098613306/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/2629124729098613306' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/2629124729098613306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/2629124729098613306'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/python-how-to-install-mysql-python-on.html' title='Python - How to install MySQL-python on MAC ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-4495249199121840961</id><published>2014-02-22T12:47:00.001+08:00</published><updated>2014-02-22T12:47:59.256+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Python - How to install pip on MAC ?</title><content type='html'>1. Open console on mac&lt;br /&gt;
&lt;br /&gt;
2. input the cmd on console:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
$&amp;gt; sudo easy_install&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
Reference :&amp;nbsp;http://stackoverflow.com/questions/17271319/installing-pip-on-mac-os-x&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/4495249199121840961/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/4495249199121840961' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/4495249199121840961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/4495249199121840961'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/python-how-to-install-pip-on-mac.html' title='Python - How to install pip on MAC ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-7252150888033967259</id><published>2014-02-22T11:30:00.004+08:00</published><updated>2014-02-22T12:44:50.711+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mac"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>MySQL - How to install MySQL on MAC ?</title><content type='html'>1. Download the install dmg file from MySQL web side :&lt;br /&gt;
&lt;br /&gt;
http://dev.mysql.com/downloads/mysql/&lt;br /&gt;
&lt;br /&gt;
PS. please download the&amp;nbsp;&quot;MySQL Community Server&quot; &amp;nbsp;mac version.&lt;br /&gt;
&lt;br /&gt;
2. After double click the dmg file, you must to install the 2 pkg and&amp;nbsp;1 prefPane.&lt;br /&gt;
&lt;br /&gt;
3. Modify the default password of MySQL :&lt;br /&gt;
&lt;br /&gt;
(1) Open mac console mode.&lt;br /&gt;
&lt;br /&gt;
(2) cd /usr/local/mysql/bin&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
(3) ./mysqladmin -h localhost -u root password &lt;new password=&quot;&quot;&gt;&lt;/new&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Add path of bin into your environment parameter.&lt;br /&gt;
&lt;br /&gt;
(1) sudo vim /etc/bashrc&lt;br /&gt;
&lt;br /&gt;
(2) Add &quot;export PATH=$PATH:/usr/local/mysql/bin&quot;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
1.&amp;nbsp;http://f.pil.tw/thread-108370-1-1.html&lt;/div&gt;
&lt;div&gt;
2.&amp;nbsp;http://dev.mysql.com/downloads/mysql/&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/7252150888033967259/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/7252150888033967259' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7252150888033967259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/7252150888033967259'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/mysql-how-to-install-mysql-on-mac.html' title='MySQL - How to install MySQL on MAC ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-352867723626821412</id><published>2014-02-19T23:42:00.001+08:00</published><updated>2014-02-19T23:42:14.385+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>MySQL - How to move the data base to other path ?</title><content type='html'>1. Modify the database path on&amp;nbsp;&quot;/etc/mysql/my.cnf &quot;.&lt;br /&gt;
&lt;br /&gt;
#datadir = /var/lib/mysql&lt;div&gt;
datadir = /home/alleen/mysql&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2. Copy the database folder to new path.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
cp -Rp /var/lib/mysql /home/alleen/mysql&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Modify the database path on &quot;/etc/apparmor.d/usr.sbin.mysqld&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;







&lt;div class=&quot;p1&quot;&gt;
#&amp;nbsp; /var/lib/mysql/ r,&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
#&amp;nbsp; /var/lib/mysql/** rwk,&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
/home/alleen/mysql/ r,&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
/home/alleen/mysql/** rwk,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4. Restart the mysql.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
/etc/init.d/mysql restart &lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/352867723626821412/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/352867723626821412' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/352867723626821412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/352867723626821412'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/mysql-how-to-move-data-base-to-other.html' title='MySQL - How to move the data base to other path ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-1132888120000793399</id><published>2014-02-19T11:40:00.000+08:00</published><updated>2014-02-22T13:03:52.618+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><title type='text'>C# - How to Add the Administrator permission in vs2008 project</title><content type='html'>&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
1.  Right click project -&amp;gt; Add .. -&amp;gt; Add new item -&amp;gt; Application Manifest File.&lt;br /&gt;
&lt;br /&gt;
2. Open &quot;app.manifest&quot; and replace this ...&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;requestedexecutionlevel level=&quot;asInvoker&quot; uiaccess=&quot;false&quot;&gt;&lt;/requestedexecutionlevel&gt;&lt;br /&gt;
&lt;requestedexecutionlevel level=&quot;asInvoker&quot; uiaccess=&quot;false&quot;&gt;&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
to&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;requestedexecutionlevel level=&quot;requireAdministrator&quot; nbsp=&quot;&quot; uiaccess=&quot;false&quot;&gt;&lt;/requestedexecutionlevel&gt;&lt;/div&gt;
&lt;requestedexecutionlevel level=&quot;requireAdministrator&quot; uiaccess=&quot;false&quot;&gt;&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
3. Save ...&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Reference :&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1.&amp;nbsp;http://stackoverflow.com/questions/7666408/how-to-request-administrator-permissions-when-the-program-starts&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2.&amp;nbsp;http://social.msdn.microsoft.com/Forums/vstudio/en-US/f6cd003f-ba3b-44f3-817f-2d8b4e11a0eb/getting-the-admin-rights-in-c?forum=netfxbcl&lt;/div&gt;
&lt;/div&gt;
&lt;/requestedexecutionlevel&gt;&lt;/div&gt;
&lt;/requestedexecutionlevel&gt;</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/1132888120000793399/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/1132888120000793399' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1132888120000793399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1132888120000793399'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/02/c-how-to-add-administrator-permission.html' title='C# - How to Add the Administrator permission in vs2008 project'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-6435494661070609349</id><published>2014-01-15T18:10:00.003+08:00</published><updated>2014-01-15T19:38:56.918+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VBA"/><title type='text'>VBA : Variable Type List</title><content type='html'>&lt;div align=&quot;left&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; style=&quot;height: 80px; width: 600px;&quot;&gt; &lt;!-- 固定總欄寬、欄高、背景顏色、框線粗細--&gt;  
&lt;tbody&gt;
&lt;tr height=&quot;40&quot;&gt; &lt;!-- 固定欄高、背景顏色--&gt;  
&lt;td width=&quot;200px&quot;&gt;&lt;div align=&quot;center&quot;&gt;
Data Type&lt;/div&gt;
&lt;/td&gt; &lt;!-- 固定欄寬--&gt; 
&lt;td width=&quot;500px&quot;&gt;&lt;div align=&quot;center&quot;&gt;
Memory&lt;/div&gt;
&lt;/td&gt;  
&lt;td width=&quot;500px&quot;&gt;&lt;div align=&quot;center&quot;&gt;
Data Range&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Byte&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
1 Byte&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
0~255&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Integer&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
2 Bytes&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
-32768~32767&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Long&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
4 Bytes&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
-2147483648~2147483647&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Single&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
4 Bytes&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
-3.4E38~-1.4E-45&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
1.4E-45~3.4E38&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Double&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
8 Bytes&amp;nbsp;&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
-1.7E308~-4.9E-324&lt;br /&gt;
&lt;div&gt;
4.9E-324~1.7E308&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
String&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
10 Bytes&amp;nbsp;+ String length&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
2^31 string&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
String*length&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
String length&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
2^16 = 32768 string&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Boolean&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
2 Bytes&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
True or False&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Variant&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Value :&amp;nbsp;16 Bytes&lt;br /&gt;
String :&amp;nbsp;22 Bytes+ String length&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Value : Equal to Double&lt;br /&gt;
String : Equal to String&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Currency&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
8 Bytes&amp;nbsp;&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
922,337,203,685,477.5807~&lt;br /&gt;
-922,337,203,685,477.5808&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;tr height=&quot;40&quot;&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Date&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
8 Bytes&lt;/div&gt;
&lt;/td&gt;  
&lt;td&gt;&lt;div align=&quot;center&quot;&gt;
Date : January 1,100~&lt;br /&gt;
&amp;nbsp;December 31,9999&lt;br /&gt;
Time : 00:00:00~23:59:59&lt;/div&gt;
&lt;/td&gt;  
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/6435494661070609349/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/6435494661070609349' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/6435494661070609349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/6435494661070609349'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/01/vba-variable-type-list.html' title='VBA : Variable Type List'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-1520874332170779929</id><published>2014-01-15T17:39:00.000+08:00</published><updated>2014-01-15T17:39:04.457+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VBA"/><title type='text'>VBA : Loop on VBA</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/1520874332170779929/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/1520874332170779929' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1520874332170779929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/1520874332170779929'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/01/vba-loop-on-vba.html' title='VBA : Loop on VBA'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7905384952389264619.post-3794691050502549326</id><published>2014-01-15T17:38:00.002+08:00</published><updated>2014-01-15T17:38:34.534+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="VBA"/><title type='text'>VBA : How to get/set the cells value ?</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://wchwch.blogspot.com/feeds/3794691050502549326/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7905384952389264619/3794691050502549326' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3794691050502549326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7905384952389264619/posts/default/3794691050502549326'/><link rel='alternate' type='text/html' href='http://wchwch.blogspot.com/2014/01/vba-how-to-getset-cells-value.html' title='VBA : How to get/set the cells value ?'/><author><name>Alleen&#39;s Computer Science Notebook</name><uri>http://www.blogger.com/profile/12094967672708754440</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>