At this time, my leader tell me do a research to write an application using Facebook framework. So interesting but i face with a problem that in order to write an facebook app you must has one server public in internet. Ohh. This is my big problem, I in a circle with a question that "how to display" your data in your canvas. All the things i've done is just in local webserver which call service from Facebook :D.
Haha
This blog is about my experiences in Microsoft AX. I collect and write these articles to share my knowledge with people who love ERP, especially Axapta.
Saturday, 6 October 2007
Friday, 27 July 2007
Enable and Disable Ubuntu Root Password
Ubuntu is one of the few Linux distributions out there that will not enable the root account.If you want to do something with root permission on the console you have to type sudo before the command.
sudo” means superuser do. “sudo” will prompt for “Password:”. Please specify user password
As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process.Because of this your root accout is inactive.
If you want to enable root account (which is not recommended) enter the following command.
$sudo passwd root
This will prompt for a new root password and once you confirm it, you can start using the root account to login.
If you want to disable root account in ubuntu you need to lock the root account by using the following command
$sudo passwd -l root
If you want to work on a root console you’d better use the following command
$sudo -i
sudo” means superuser do. “sudo” will prompt for “Password:”. Please specify user password
As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process.Because of this your root accout is inactive.
If you want to enable root account (which is not recommended) enter the following command.
$sudo passwd root
This will prompt for a new root password and once you confirm it, you can start using the root account to login.
If you want to disable root account in ubuntu you need to lock the root account by using the following command
$sudo passwd -l root
If you want to work on a root console you’d better use the following command
$sudo -i
Install .rpm Files in Ubuntu
Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can’t find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file.
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.
Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can’t uninstall the package without breaking your system, don’t try to replace it with an alien version.
Install alien in Ubuntu
sudo apt-get install alien
(In order to use apt-get command to install a program into your computer, your computer must has an internet connection.)
This will install all the required packages.Now you can start converting your .rpm files to .deb packages.
Available Options for alien
Convert the package.rpm into a package.deb
sudo alien -d package-name.rpm
Convert the package.rpm into a package.deb, and install the generated package.
sudo alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command
sudo alien -k rpm-package-file.rpm
Example
Suppose we have a avg antivirus avg71lms-r30-a0782.i386.rpm file
To convert .rpm to debian
sudo alien -k avg71lms-r30-a0782.i386.rpm
Now you should be having avg71lms-r30-a0782.i386.deb file
To install .deb file
sudo dpkg -i avg71lms-r30-a0782.i386.deb
If you don’t use -k option you should see avg71lms_r30-1_i386.deb file the difference is it will add 1
Source: http://www.ubuntugeek.com
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.
Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can’t uninstall the package without breaking your system, don’t try to replace it with an alien version.
Install alien in Ubuntu
sudo apt-get install alien
(In order to use apt-get command to install a program into your computer, your computer must has an internet connection.)
This will install all the required packages.Now you can start converting your .rpm files to .deb packages.
Available Options for alien
Convert the package.rpm into a package.deb
sudo alien -d package-name.rpm
Convert the package.rpm into a package.deb, and install the generated package.
sudo alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command
sudo alien -k rpm-package-file.rpm
Example
Suppose we have a avg antivirus avg71lms-r30-a0782.i386.rpm file
To convert .rpm to debian
sudo alien -k avg71lms-r30-a0782.i386.rpm
Now you should be having avg71lms-r30-a0782.i386.deb file
To install .deb file
sudo dpkg -i avg71lms-r30-a0782.i386.deb
If you don’t use -k option you should see avg71lms_r30-1_i386.deb file the difference is it will add 1
Source: http://www.ubuntugeek.com
Wednesday, 25 July 2007
Password vulnerability in Firefox 2.0.0.5
By Joe Barr on July 23, 2007 (2:45:00 PM)
According to a message posted over the weekend on the Full-Disclosure mailing list, the latest version of Firefox, 2.0.0.5, contains a password management vulnerability that can allow malicious Web sites to steal user passwords. If you have JavaScript enabled and allow Firefox to remember your passwords, you are at risk from this flaw.
The Mozilla team fixed a similar flaw last November, one which did not require JavaScript. The heise Security Web site contains a demo/proof of concept of the vulnerability risk that you can use to determine your vulnerability.
The original flaw was referred to as reverse cross-site scripting and was reportedly widely used on Myspace.com.
Note: A reader has pointed out that MySpace.com does not allow Javascript, as originally reported. The reader is correct, although there do seem to be workarounds which result in Javascript executing on some browsers.
Discussions between heise Security and Mozilla developers describe a debate among Mozilla developers over removing this feature, since "evil" server pages can steal passwords from browsers whether the user has opted for password management by Firefox or not.
Apple's Safari is vulnerable in the same way. Current workarounds include disabling JavaScript in Firefox or avoiding the use of Firefox password management on sites where users are allowed to post JavaScript pages.
(Source:http://www.linux.com/feature/118166)
Here is my test:
According to a message posted over the weekend on the Full-Disclosure mailing list, the latest version of Firefox, 2.0.0.5, contains a password management vulnerability that can allow malicious Web sites to steal user passwords. If you have JavaScript enabled and allow Firefox to remember your passwords, you are at risk from this flaw.
The Mozilla team fixed a similar flaw last November, one which did not require JavaScript. The heise Security Web site contains a demo/proof of concept of the vulnerability risk that you can use to determine your vulnerability.
The original flaw was referred to as reverse cross-site scripting and was reportedly widely used on Myspace.com.
Note: A reader has pointed out that MySpace.com does not allow Javascript, as originally reported. The reader is correct, although there do seem to be workarounds which result in Javascript executing on some browsers.
Discussions between heise Security and Mozilla developers describe a debate among Mozilla developers over removing this feature, since "evil" server pages can steal passwords from browsers whether the user has opted for password management by Firefox or not.
Apple's Safari is vulnerable in the same way. Current workarounds include disabling JavaScript in Firefox or avoiding the use of Firefox password management on sites where users are allowed to post JavaScript pages.
(Source:http://www.linux.com/feature/118166)
Here is my test:
Linux Foundation names new CTO
By Joe 'Zonker' Brockmeier on July 25, 2007 (12:00:00 AM)
The Linux Foundation today announced Markus Rex will become its new Chief Technology Officer (CTO) and lead its Linux Standard Base (LSB) initiative and other standardization and technical initiatives for the foundation.
In an email interview, Rex said that he began using Linux in 1992. He joined SUSE in 1999 and ran engineering for five years before SUSE was purchased by Novell. After the acquisition, he served as vice president and general manager for SUSE Linux, and as CTO for Novell's Open Platform Solutions Group.
Rex has been involved with the foundation for some time. "For the last three years I was a member of the board of directors for both predecessor organizations, the Free Standards Group and OSDL, and up to today also a board member for the Linux Foundation. For many years I followed the standardization efforts in Linux, also by actively directing SUSE and Novell to always certify its products and make successful LSB certification a product requirement."
The primary job facing Rex is heading up the LSB. When asked about his plans for the LSB, Rex says one of his goals is "to increase the adoption of LSB by application vendors." He says that adoption by Linux vendors is "solid," but "ISVs are still looking for broader scope. I plan to provide that to allow more applications to be LSB-compliant."
To do that, Rex says that the foundation needs to "include additional libraries and interfaces, so more application use-cases are covered by the LSB.
"Our tools and documentation for developers need to increase in volume and scope, and we have to make it really easy to validate conformance. Our project with the Russian Academy of Science to create a sophisticated test framework is an important step in that direction and lays the foundation for other improvements."
Rex says that the LSB is vitally important. "We have to prevent Linux from fragmenting like Unix did, and the LSB is a critical component to help with that."
As CTO, Rex says that his job will be to lead "all technical initiatives for the Linux Foundation," which includes the LSB as well as efforts like the open printing workgroup. He also says he will be "the primary technical interface to LF members and the LF's Technical Advisory Board who represent the kernel community."
The CTO position has a limited tenure. Rex is slated to end his term in 2008 and return to Novell at that time, according to the release from the Linux Foundation.
Previous CTO Ian Murdock joined Sun Microsystems in March, and has been working on Project Indiana -- an objective to make Sun's OpenSolaris more like Linux.
(Source:http://www.linux.com/feature/118212)
The Linux Foundation today announced Markus Rex will become its new Chief Technology Officer (CTO) and lead its Linux Standard Base (LSB) initiative and other standardization and technical initiatives for the foundation.
In an email interview, Rex said that he began using Linux in 1992. He joined SUSE in 1999 and ran engineering for five years before SUSE was purchased by Novell. After the acquisition, he served as vice president and general manager for SUSE Linux, and as CTO for Novell's Open Platform Solutions Group.
Rex has been involved with the foundation for some time. "For the last three years I was a member of the board of directors for both predecessor organizations, the Free Standards Group and OSDL, and up to today also a board member for the Linux Foundation. For many years I followed the standardization efforts in Linux, also by actively directing SUSE and Novell to always certify its products and make successful LSB certification a product requirement."
The primary job facing Rex is heading up the LSB. When asked about his plans for the LSB, Rex says one of his goals is "to increase the adoption of LSB by application vendors." He says that adoption by Linux vendors is "solid," but "ISVs are still looking for broader scope. I plan to provide that to allow more applications to be LSB-compliant."
To do that, Rex says that the foundation needs to "include additional libraries and interfaces, so more application use-cases are covered by the LSB.
"Our tools and documentation for developers need to increase in volume and scope, and we have to make it really easy to validate conformance. Our project with the Russian Academy of Science to create a sophisticated test framework is an important step in that direction and lays the foundation for other improvements."
Rex says that the LSB is vitally important. "We have to prevent Linux from fragmenting like Unix did, and the LSB is a critical component to help with that."
As CTO, Rex says that his job will be to lead "all technical initiatives for the Linux Foundation," which includes the LSB as well as efforts like the open printing workgroup. He also says he will be "the primary technical interface to LF members and the LF's Technical Advisory Board who represent the kernel community."
The CTO position has a limited tenure. Rex is slated to end his term in 2008 and return to Novell at that time, according to the release from the Linux Foundation.
Previous CTO Ian Murdock joined Sun Microsystems in March, and has been working on Project Indiana -- an objective to make Sun's OpenSolaris more like Linux.
(Source:http://www.linux.com/feature/118212)
Saturday, 21 July 2007
Who will be the winner?
Who will be the winner of the Vietnam-Iraq match?
Last day, my answer was Vietnam, but today, after reading the article about Iraq, I don't care the result. If our team win, our country will very happy. But if Iraq win, they do a great thing. All of them come from a country in war. The war destroy their country day by day. And they play football but they don't know whenever they alive or die.
FIFA goal program help Iraq construct their sports infrastructure, but the values of 300.000 USD each year is not enough. Iraq was a reach country. But war destroyed all. So sad.
I hope the result will be 1-1 and Vietnam win with a gold score of Cong Vinh at extra time.
Thursday, 19 July 2007
VietNam v Iraq at Asian 2007 quarter-final.
Iraq has showed their strong before Australia, Thailand. They are a big team. I wonder how they play football as their country is in war. It's suprised, very suprised. I did not watch their match against Australia, but they won 2-0, a result which i couldn't believe. Australia has a wonderful World Cup and at this time, they have many stars in their team. Tim Cahill, Viduka, Kewell,...has many years playing football in EU. They has experience in Champions League. But Iraq beat them. This result with the win of Vietnam against U.A.E are two wonderful things of this Asian Cup.
At 21.07, our team, Vietnam, will play a match which Tai Em, an important mid-field player of our team, absent. He will get married with his girl friend, Mai Thi Khanh Van, my beautiful girl classmate. :D. But that's not a problem, missing him, Minh Chuyen, a young Olympic player,will got a good chance to show his ability.
I think next match our team will draw Iraq 0-0 after the first haft and we will score a goal a the beginning of the second haft, and the scorer will be Minh Phuong or Vu Phong with a long shoot. After that, we will play the defense- attack strategy. :D. Hehe, and 1-0 will be the final result for our team.
Deal with Google
Last week, I searched in internet for something new to apply it in my new website. I'm so interesting in features Google supply, especially Google map and Ajax search. At this time, I use ASP.net Ajax. It's cool too. And I wonder which one is better? So hard to answer. But I'll answer that question after next one or two month.
Two day ago, i managed to find out all cool feature of Goolgle. Oh,Haha, geat. I like that. And I will use these Google tools in my new next project.
(I just use Google money in this blog, the other feature are not. ;)) )
Two day ago, i managed to find out all cool feature of Goolgle. Oh,Haha, geat. I like that. And I will use these Google tools in my new next project.
(I just use Google money in this blog, the other feature are not. ;)) )
Wednesday, 18 July 2007
How do you manage your future?
Have you ever ask you some question about you future?
I think you have. But do you find the answer? If yes, you so lucky.
With me, there are many things to worry about.
The first thing, It is always in my mind, how is your current job? Sometime I wonder it is better if I change my job?
...
I think you have. But do you find the answer? If yes, you so lucky.
With me, there are many things to worry about.
The first thing, It is always in my mind, how is your current job? Sometime I wonder it is better if I change my job?
...
Tuesday, 17 July 2007
Vietnam has a position in Asian cup 2007 quater-final challenge
So great.
Despite our team loss 1-4 Japan but the win 2-1 of UAE between Quatar help us has a position in the quarter-final of Asian cup 2007 (we are co-host). At the time Quatar score the last goal, we so happy and before that we always hope that 1-1 will be the result of the game but UAE did better than that. Thank you UAE.
Monday, 16 July 2007
Keeping you on the go.
How to keep you on the go?
That is a big question for me.
I'm reading the book with title "The world is flat". That book is great. It open a viewpoint for me about our Vietnam country in the future. I know that we have to hard working to keep our country on the go. India and China have years in opening their market, and they become developed countries. How about our Vietnam country? We open our market step by step. But, let's thinking about IT field. Nowadays, VietNam is known as an excellent outsource in the world. In our country, the salary for a professor in IT is very cheap but the quality of the job he done is the same as the other in China, India!!!
I hope our country, after become a member of WTO, will be known as a destination of outsource.
Why?
Because i'm a coder. :D
That is a big question for me.
I'm reading the book with title "The world is flat". That book is great. It open a viewpoint for me about our Vietnam country in the future. I know that we have to hard working to keep our country on the go. India and China have years in opening their market, and they become developed countries. How about our Vietnam country? We open our market step by step. But, let's thinking about IT field. Nowadays, VietNam is known as an excellent outsource in the world. In our country, the salary for a professor in IT is very cheap but the quality of the job he done is the same as the other in China, India!!!
I hope our country, after become a member of WTO, will be known as a destination of outsource.
Why?
Because i'm a coder. :D
Subscribe to:
Posts (Atom)