http://www.expertreviews.co.uk/software/1307587/how-to-fix-a-windows-vista-or-7-corrupt-user-profile-the-user-profile-service-failed-the-logon
Change Windows password from Linux
http://www.slashgeek.net/2012/06/09/reset-windows-password-with-linux-in-under-5-minutes/
Trac Links
http://trac.edgewall.org/wiki/TracLinks
htpasswd
http://weavervsworld.com/docs/other/passprotect.html
Configure network on Ubuntu
auto eth0
iface eth0 inet static
address 192.168.3.3
netmask 255.255.255.0
gateway 192.168.3.1
dns-search example.com
dns-nameservers 192.168.3.45 192.168.8.10
Convert img to xva
http://www-archive.xenproject.org/files/xva/README
Converting Amazon EC2 On Demand Instance to Reserved Instance
Converting Amazon EC2 On Demand Instance to Reserved Instance
If you’ve created an Amazon EC2 On Demand instance and you later realize you’ll be running the server indefinitely, you can convert the instance to a Reserved Instance to save some money.
However, there really isn’t anything to “convert”; your existing On Demand instance stays running and you simply purchase a Reserved Instance inside the same Zone (this part is important, see below). It’s entirely a billing thing and Amazon handles this seamlessly.
[…] the conversion of an on-demand instance to a reserved instance is purely a billing issue. Simply buy a reserved instance, and the instances will be billed as reserved instance. No changes need to be made to your AutoScaling group.
Please note that reserved instances currently need to be purchased for a specific AZ. In order to get the benefit of reserved instance pricing, your AutoScaling group should be configured to launch instances in those AZs.
For example, if you only buy a reserved instance in us-east-1a, you should setup your AutoScaling group to launch instances in us-east-1a. If your AutoScaling group is configured to launch instances in us-east-1a and us-east-1b, and AutoScaling launches an instance in us-east-1b, it will be billed as an on-demand instance unless you also buy a reserved instance in us-east-1b. (source)
change localtime on Centos
Firstly you’ll need to know your timezone and/or country, a list can be found in /usr/share/zoneinfo/
The more generic procedure to change the timezone is to create a symlink to file /etc/localtime
# ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
OR you can copy and replace the current localtime setting
# cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
To verify that your timezone is changed use the date command:
# date
http://www.how2centos.com/centos-change-timezone/
add bash script syntax on Eclipse
Using the update site
Use the regular install method with the following update site link http://sourceforge.net/projects/shelled/files/shelled/update/
Using zipped update site
- Download net.sourceforge.shelled-site-2.0.3.zip
- Select Help > Install New Software…
- Now select the “Add” again, use the “Archive…” button to select the downloaded zip-file as source.
- Install ShellEd
Important note: ShellEd is compiled with Java 7, it might work with Java 6 but it’s not tested, so ensure you’re using Java 7 with Eclipse. If you use Java 6 you are on your own though I’ll happily apply any patch to fix compatibility. Thank you to zero_sum, who wrote: “After changing the -vm arg in eclipse.ini and restarting I can see my shell scripts in all their glory.”
To check ShellEd is installed:
- Select Help > Install New Software…
- Click What is already installed?
- Look for Shelled in the list under the Installed Software tab.
- Try opening a shell script with a .sh file extension. It should be syntax highlighted.
- Try creating a Shell Script Project (File > New > etc.). Create a blah.sh shell script. Put a common Unix command in there like “cat”. Double-click cat. A man page for cat should pop-up after a short delay.
http://sourceforge.net/apps/trac/shelled/wiki/Documentation/InstallGuide
