Showing posts with label Fixes. Show all posts
Showing posts with label Fixes. Show all posts

Saturday, February 2, 2013

How to open a caulk tube

I'm not a handy person, but I had a need to caulk up one of my opened frames.  There is a huge gap between the window sill and the window itself, letting in cold air.  I have a caulk gun and caulking but had no clue now to open the tube.  I did a simple search on YouTube and this amazing result came in.  All my questions answered!



Who knew the caulk gun was so well designed and thought out.  I was happily surprised that my caulk gun had everything featured in this video.  Now to actually doing patch work correctly ....

Saturday, September 8, 2012

Facebook plug-in for Wordpress

Completing the Facebook Plugin installation is no easy task as the last part is to submit the 'Publish' action to allow Wordpress to auto publish posts. If you're having trouble here is :

How to Publish to Timeline


Review the official instructions from Facebook first: https://developers.facebook.com/docs/opengraph/tutorial/

There are additional instructions here that helped me. http://onlytipsandtricks.com/facebook/how-to-publish-actions-on-timeline/

However, the code used in there did not work for me and failed.  After many hours spent playing around with the code I have the following:


<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
xmlns:fb="https://www.facebook.com/2008/fbml">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
<title>OG Tutorial App</title>
<meta property="fb:app_id" content="[YOUR_APP_ID]" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Sample article" />
<meta property="og:image" content="http://nopenonlytext.tnguyen.com/wp-content/uploads/2012/09/maui-2012.jpg" />
<meta property="og:description" content="Sample object Publishing" />
<meta property="og:url" content="http://nopenonlytext.tnguyen.com/test.html">

<script type="text/javascript">
function postPublish()
{
FB.api(
'/me/Publish',
'post',
{ article: 'http://nopenonlytext.tnguyen.com/test.html' },
function(response) {
var msg = 'Error occured';
if (!response || response.error) {
if (response.error) {
msg += "\n\nType: "+response.error.type+"\n\nMessage: "+response.error.message;
}
alert(msg);
} else {
alert('Cook was successful! Action ID: ' + response.id);
}
});
}
</script>
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '[YOUR_APP_ID]', // App ID
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};

// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>

<h3>Sample Object</h3>
<p>
<img title="Maui"
src="http://nopenonlytext.tnguyen.com/wp-content/uploads/2012/09/maui-2012.jpg" />
</p>

<br>
<form>
<input type="button" value="Publish" onclick="postPublish()" />
</form>
</body>
</html>


You can see the complete code also here from when I created the test page.
http://nopenonlytext.tnguyen.com/test.html

I hope this helps but feel free to ask me any questions.

As I'm having issues preserving the HTML code I have in this post since switching to "Visual" from "HTML" reformats the HTML code. I have attached the HTML code for reference when I find that it's all mangled I can revert it back.
html-code-for-post

Wednesday, July 6, 2011

Updating iPhone 4 to 4.3.3 with Error 3194

With the latest Jailbreakme 3.0 just out this morning you might be running into problem trying to update your iPhone to iOS 4.3.3.



If you're trying to update your iPhone 4 through iTunes and you're getting the error 3194.  Apple tells you to update to the latest iTunes but that will still fail.  There are a few things you can do to fix error 3194 while updating to 4.3.3 for your iPhone 4.

Option #1

First try this quick fix for error 3194.  Go to C:\windows\system32\drivers\etc and locate the “hosts” file.


Open it with NotePad and look for something that says "apple".  Put a # directly in front of the ones that have apple or iTunes in the name

e.g.

#74.208.105.171 gs.apple.com
#127.0.0.1 gs.apple.com



Make sure there are no entries that has apple or iTunes, otherwise this fix will not work.  You do not need to reboot or reload iTunes, just run the update/restore again.

Option #2

Download TinyUmbrella from TinyUmbrella Website
Launch it the app.
Click on the “Advanced” tab.
Uncheck “Set Hosts to Cydia on Exit”
Click on “Apply Changes”
I'm not sure if this one is necessary but you can try to Reboot your PC/Mac.


Then now try to complete the update.

Just One More Issue to contend With



Once you get iOS 4.3.3 installed on your iPhone 4 without error 3194 and you'll have problem with the JailbreakMe 3.0.  When using the Jailbreakme 3.0 cydia will disappear during the installation.  Cydia will appear initially and then disappear before it has completed the install.  This might be a minor bug but the fix for this is to load up iTunes once more, do a restore on your phone (pain the butt, I KNOW!). Once the restore has been completed go back to JailbreakMe.com again and install Cydia.  Hopefully Cydia will completely be installed without disappearing.  Now you're good to go!

Good luck and I hope this helps anyone that finds this because I've spent alot of time googling all of the individual problems and I've put them all together here to help anyone that runs into the same problems.

Tuesday, April 26, 2011

Grainy - Pixelated photos on Facebook.



I haven't really notice the quality of my photos much on Facebook as they are relatively good until tonight. Every photo I uploaded was grainy and very pixelated. I knew it had something to do with the compression but not sure how to fix it. With a little search I found an easy solution.

1) Change the PPI (pixel per inch) to 120, DPI (Dot per inch) if printing
2) Change longest dimension to 720 px, the other side should be 480 px if it's 4x6 dimension



That should be it. If you have multiple images Photoshop can automate it by going to File -> Automate -> Fit Image

Now your images should look relatively decent and enough for low Rez images sharing on Facebook!



You can read a more thorough explanation here: http://www.damiensymonds.com.au/art_facebook.html

Saturday, July 31, 2010

Canon Digital Photo Professional Download - Install

I just recently took some photos with my 5DMII and created my first Lightroom 3 catalog.  As always the color profile for canon photos are just an approximation so the colors and everything is always off within lightroom.  Being disappointed I wanted to see how Canon Digital Photo Professional will render the images.  I tried to see if I had the software but unfortunately I couldn't find the CD.  I Googled around for the software but it doesn't exist.

For some reason Canon's software distribution policy only provide the full version of each software from the CD and updates are available online.  When installing the updater it will require to have the software listed like below:



There is a way to work around this issue since the updater contains the FULL software itself.  You can fool the install by updating your registry.  This registry update is a minimal risk.  Here are the task.

For 32Bit Windows (XP, Vista, and 7) - Copy the following exactly below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\EOS Utility]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\DPP]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\ZoomBrowser EX]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\PhotoStitch
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\EOS Capture]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\EOSViewerUtility]

For 64Bit Windows (Vista, and 7) - Copy the following exactly below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\EOS Utility]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\DPP]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\ZoomBrowser EX]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\PhotoStitch
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\EOS Capture]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Canon\EOSViewerUtility]

Copy and paste into NotePad.  Save the file as canonupdate.txt and then rename it to canonupdate.reg.  Then right click and select "Merge" on the context menu.



You'll probably get the following messages:



Success!!



This is what your registry should look like for 32Bit Windows:



This is what your registry should look like for 64Bit Windows:



Now when you run the updater you should get the install screen like below:



The source of where this information is at the following.  I've made my own updates to the instructions because it's not too clear on the website and provided my own version of the possible solution.

http://www.northlight-images.co.uk/article_pages/install_canon_software.html

If you run into any questions please email me and I will try to help but I hope the instructions here are complete and will work well for everyone.

Wednesday, July 28, 2010

iPhone - Cannot Connect to YouTube

For some reason I ran into this issue and I've spent the past couple of days trying to fix it. There are a couple of solutions and they all seem complicated and hopefully can I can help some ppl out. I know I'm a late technology adapter as I'm still using the original iPhone when the iPhone 4 has been out for a month now.  I"m a bit behind the times I supposes.  Running version 3.0 OS.

Please use the instructions I have below. The fix involves installing PushFix from Cydia.

Installing PushFix v1.0 - Steps
1. Load Cydia
2. On the main Cydia screen select "More Package Sources"
3. Select iPhoneModding
4. Select Install and Confirm
5. Go back to Cydia
6. Select the bottom Manage tab
7. Select Sources
8. Look for and select iPhoneModding
9. Look for and select Push Fix
10. Install Push Fix

One caveat that I've ran into for PushFix 1.0 that I believe is a scam is that this fix has one certificate for all users. For that reason I was receiving push notifications from other users on my FaceBook account even though I have all notifications turned off.

There are two solutions to the above, buy (~$4.99) and upgrade to PushFix 2.0 which creates a unique certificate for everyone (hence why I called it a scam).

The other option is try the following, which will require some work to remedy this situation.  You'll need to install OpenSSH, ToggleSSH, and MobileTerminal from Cydia.  You can use the search option to complete this task.

For the rest of the steps try the following PDF. Some of the steps might be repetitive but it should help resolve some of the issues.

http://www.vanravels.com/blockedyoutube/blocked%20youtube%20on%20%20iphone.pdf

or find it here below:

blocked youtube on iphone

I would like to give credit is due that is why I'm providing a link. Two notes though, the tutorial forgot to mentioned to install OpenSSH and ToggleSSH to allow WinSCP to connect with the iPhone. That was what was causing most of my problems. The default password is 'alpine' without quotes so it should work.

Saturday, March 13, 2010

Wordpress Aligncenter

I've been trying to update my other blog  - Through the Eye Piece - and for a while I've been running into issues aligning my images to center them.  I was using an old theme that I've tweaked to layout the way I wanted but with so many CSS changes I never got around to fixing my image alignment until now.  With the help of Firefox plugin called Firebug, I was able to track down the align class that wordpress assigned to the image and then checked my CSS to see if it's there.  Firebug with it's grace and awesome functionality showed me that I had no aligncenter CSS associated with this image.  I googled search and found the following CSS post on Wordpress Codex that resolved the problem.  Since this was an old wordpress theme some CSS was missing but luckily it was an easy fix.  It also incidentally resolved another quirk I was running into, the caption for the images was not showing up.

To make it easier for everyone you can just past the following into your stylesheet and it should resolve your alignment issue along with your caption issue too.
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
}

.alignright {
float: right;
}

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

Now the next problem to battle, lazy load my long image posts.