The fixes of Temporary Profile for WIndows 7
I built some new pcs during this week. After some pcs joined the domain and login with a domain user, the pc is rejecting to create a profile, gave me a temporary profile, therefore all user document folder and user setting will be deleted after a restart. I did some clean up under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList, I deleted all SID under that, such as "S-1-343432432-11112". And I restarted the PC. It won't works. The pc is still cleaning up the profile every times I restarted the pc.
I found the "hacked" solution. I open "regedit" and to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\Current Version, Find the SID with the value of ProfileImagePath has "C:\User\Temp" [ or any value for your temp profile path]. And then I changed the state value under that SID to 204.
Then after the restart, C:\User\Temp is become my user profile path.
SEO:Easy to Share
I found nowadays, Social Networks have played a key part to boost your website traffic. The address of website can pass one by one via social networks. Thus, I think all websites should have a "share" bar which has facebook, twitter and google+ buttons. If the user are interested by your website, he/she just need to click a button in your "share" button for positing your website on his/her social network account. This will encourage your users to share your website. Moreover, you do not need to build that kind of "share" bar, there are a number of websites to provide that kind of serivce, for example ShareThis and AddThis. They will give you a few lines of html codes to paste into your website, without any programming at all. That is very easy to do that. That is clever to have that kind of "share" bar.
SEO: Using Local Webhost
Source:Open Clip Art Using Under Public Domain Attribution
Recently, I moved my blog about Brisbane Life from a US hosting to a Aussie Hosting. There are a number of good reasons to use a local web host. Firstly, the most of readers are from Brisbane. The aussie local hosting can give me a better performance. Loading the pages from a local is much faster than over the pacific ocean. Secondly, that is for a SEO. If my users is using any local version search engines , such Yahoo Australia and Google Australia. They will list all pages from australia in the top. This will give me a better result. Thus, finally, we moved that blog into a local web host.
iOS: Print "%" in Label
'%' is a function word in Objective C, such as '%d" to print a number, How to print a '%' in a string? that is easy, just '%%'
Code
self.txtPercent.text= [NSString stringWithFormat:@"%d%%", (int)sender.value]; |
SEO Tips: Let everyone know about your website
Source:Open Clip Art Using Under Public Domain Attribution
Submitting your website to the search engines and even buying CPC services are not enough for SEO. If you want your website to become popular, please don't be shy. You have to let everyone know about your website:
- You need to talk to you about websites, even you should send an email to them, but please do not spam yours friends, I only sent those emails to the closet friends. I know they are happy about the news of my company website.
- You need to post the link your facebook and twitter, any social media you are using.
- If you are a member of some forums or facebook group, please post your website link to there too.
Please bring the website into your personal network(both virtual and physical)!




