Sunday, June 12, 2011

Titanium Developer SDK loading Issue

Well, I'm new in Titanium Developer, hence a lot of things still in confuse condition. One of the problem I faced when I start develop my iPhone Application through Titanium Developer was when I run my Test & Package, my SDK appear loading... which mean it doesn't detect any path of my latest SDK version(I using old version Titanium while my Xcode and SDK version are latest one). When you go through Library/Application Support/mobilesdk/osx/ and inside osx folder only contains oldest version such as 1.2.x or 1.4.x folder. So what you need to do is update your version. Click here to download the latest Titanium SDK version. Extract the zip file and move it inside osx folder. Also, you need to recreate your project to make sure your Titanium SDK version is latest version. Check back your Test & Package, loading problem is no longer there.

Sharing is caring~ =)


Friday, June 10, 2011

Page Without Cache in C#

This question have been trouble me for whole day, just because i put my coding in wrong page. So, please make sure your page which don't want store any cache have following coding.

protected void DisableBufferingOnPage()
{
Response.Buffer = true;
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1d);
// set expiry date in the past
Response.Expires = -1500;
Response.CacheControl = "no-cache";
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");
Response.AppendHeader("Cache-Control", "no-cache");
Response.CacheControl = "no-cache";
Response.Expires = -1;
Response.ExpiresAbsolute = new DateTime(1900, 1, 1);
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetExpires(DateTime.Now);
Response.Cache.SetAllowResponseInBrowserHistory(false);
}

Please call this function at Page_Load. Also, if you record your session when log in please make sure it is clear and abandon when log out.

Session.Clear();
Session.Abandon();

So, when you log out even you click back button also cannot go previous page unless you log in.

Sharing is caring~ Cheers~ =)


Saturday, November 6, 2010

Ctrl + Alt + Copy or Paste

When you copy the part of article from wikipedia or some information website which contain HTML links, this HTML link will remain its blue color and underline once you paste this article on your Microsoft Word or PowerPoint.

Here are the way to solve it.

Using Ctrl + Alt + C when you copy and paste it with Ctrl + Alt + V~

Here are the result:







P/S: This copy and paste only affect those html link only. The number such likes [1] will remain its position so you have to delete it by yourself.

Have fun and enjoy it. =)


IE 8 Multi-login

Do you know that Internet Explorer 8 (IE 8) can multi login?
What's multi login means?
It's means that you have more than one account of same website.
For an instance, Facebook only can accept about 5000 friends.
So if you have more than that, you need have to open a new account.
But to develop two accounts in one time, for sure you need to login and logout many time unless you open two browsers in one time.
That's the way you can develop it in one time which using IE 8 provides multi login.
It's not a plugin which you need to download it. It is default feature of your IE 8.

Here is the way~~



For Google Chrome and Mozilla Firefox user, you can search extension chrome or plugin Firefox to have similar feature with this.
Have fun and enjoy it. =)


Monday, October 11, 2010

Facebook "LIKE" button in blog

Wanna put a Facebook "LIKE" button in your blog?
Here got some tip for you all. =)

Using Facebook provided Social plugins, you can put a "LIKE" button on your blog. It's free of charge. All you need to do is go this following page
http://developers.facebook.com/docs/reference/plugins/like
modify the "LIKE" button you want, such like button style, button size, font type, etc. Continue it by press "Get Code" then you can paste it on your blog Edit Html.

Have fun and enjoy it. =)

Sunday, September 12, 2010

Eight tips about your "SHIFT" button

1. If you want to close all the windows that you have opened, just hold SHIFT button and close one of the windows. The other windows will be closed too.
2. If you want to switch between upper case letters and smaller case letters, hold SHIFT button to change it.
3. When you want to highlight a number of documents which is arranged in sequence, you can click on the first document, hold SHIFT button and click on the last document. All documents between the first and last document that you have selected will be automatically highlighted.
4. If you want to delete a file permanently (the file won't be moved to Recycle Bin), press SHIFT + Delete.
5. When you insert a disc into DVD drive, you can press SHIFT a few times to prevent Autoplay.
6. Pressing SHIFT + F10 has the same function as mouse right click.
7. When you hold SHIFT and click on a hyperlink/link, you can open the content of hyperlink in a new window.
8. You can hold your SHIFT button to prevent startup programs from running.

Have fun and enjoy it~~ ^^

Friday, September 10, 2010

How to convert CR2(DSLR photo format) using Photoshop CS5

Do you guys have a DSLR camera?
So, if you think that so trouble to install a new converter software while you have Photoshop inside your computer/laptop, there is a small tip for you.
Try install a plugin inside your Photoshop that provided by Adobe company.

Click the link below to download it.
http://www.adobe.com/support/downloads/detail.jsp?ftpID=4810

Follow the instructions that given.
1. Exit Photoshop
2. Extract the zip file, open the download file and double-click CameraProfiles.exe and follow the on-screen instructions
3. Open My Computer
4. Double-click Local Disk (C:)
5. Navigate to: (Please read directory carefully)
C:\Program Files\Common Files\Adobe\Plug-Ins\CS5\File Formats\
(p/s: if you guys using CS4 then choosing CS4)
6. Move the existing Camera Raw.8bi plug-in to another location (for example, a new folder on your desktop). Ensure you keep this version in case you need to revert back.
7. Copy the Camera Raw plug-in, Camera Raw.8bi, from the download into the same folder as Step 5.
8. Launch Photoshop.

Have fun and enjoy it~ ^^