aspx getSessionId

VB.Net & Aspx No Comments (14 views)
Public Function getSessionId () As String
	return System.Web.HttpContext.Current.Session.SessionID
End Functio

How to check DirectX version

Memo No Comments (16 views)

  • Go to the Windows START Menu.
  • Select RUN or Command Prompt.
  • Type dxdiag and click OK.

Fix for Firefox memory leak on Windows

Memo No Comments (40 views)

Type the following into your address bar in Firefox:

about:config

You will want to right click anywhere in the window, choose New, Boolean, and enter in the following text:

config.trim_on_minimize

You will want the value to be set to True in order for this to work.

credit:
http://www.howtogeek.com/howto/windows/fix-for-firefox-memory-leak-on-windows/

เคยลอง triple click mouse (click mouse ถึง 3 ครั้ง) ไหม

Misc 2 Comments (171 views)

คือผมก็ชอบลองอะไรไปเรื่อย ไม่ใช่ว่าว่างงานหรอกนะครับ แต่ว่าบางทีขณะที่ทำงานมันได้ทดลองอะไรไปด้วย มันได้อะไรแปลกๆเยอะ ว่าแต่เคย click mouse ถึง 3 ครั้งซ้อนกันหรือเปล่า มันมีประโยชน์นะ
Read the rest...

MySQL Installation (ports)

FreeBSD & Linux No Comments (54 views)
# cd /usr/ports/databases/mysql51-server
# make make WITH_CHARSET=utf8 WITH_XCHARSET=all WITH_COLLATION=utf8_unicode_ci
 
# make install && make clean
# mysql_install_db (/usr/local/bin/mysql_install_db)
 
# chown -R mysql /var/db/mysql/
# chgrp -R mysql /var/db/mysql/
 
# /usr/local/bin/mysqld_safe -user=mysql &
 
edit /etc/rc.conf
add this
mysql_enable="YES"
 
Change the password to root user
# /usr/local/bin/mysqladmin -u root password new-password

Optionally, copy either my-huge.cnf, my-large.cnf, my-medim.cnf, my-small.cnf or my-innodb-heavy-4G.cnf (depending on the usage and utilization of MySQL server) as my.cnf
to /var/db/mysql which will enable you to tweak and change the configuration of server-specific MySQL server options by editing the file.

Failed to enable the ‘httpready’ Accept Filter

FreeBSD & Linux No Comments (55 views)
# nano /boot/loader.conf

add the following line into

accf_http_load="YES"

Page 1 of 812345»...Last »