Google Plus / Microdata Meta Tag »

Meta Tags Quick Reference: Google Plus / Microdata meta tags

A quick post for website/seo folks - for future copy and paste purposes. Here are the Meta tags for Google Plus / Microdata.

Add this code in between the opening and closing <head> tag. I personally arrange it right after title and meta description

<!-- Google+ Metadata /-->
<meta itemprop="name" content="">
<meta itemprop="description" content="">
<meta itemprop="image" content="">


Here is the Example Facebook and Twitter Meta code

- enjoy


Meta Tags: Facebook Open Graph Tags & Twitter Card »

Meta Tags Quick Reference: Example Facebook Open Tags & Twitter Card

A quick post for website/seo folks, copy and paste this. Here are theMeta tags for Facebook Open Graph and Twitter Cards

Add this code in between the opening and closing <head> tag. I personally arrange it right after title and meta description


<!--FACEBOOK OPEN GRAPH -->
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content=" " />
<meta property="og:description" content=" " />
<meta property="og:site_name" content=" " />
<meta property="og:image" content=" " />
<meta property="og:url" content=" " />

<!—TWITTER CARD -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@twitterHandle" />
<meta name="twitter:title" content="" />
<meta name="twitter:description" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:url" content="” />


There is also Google + / Microdata Code Here (sorry, should have made it one post)

- enjoy




PHP How to enable and display error messages »

INI_SET display_errors | Error_reporting in PHP - How to enable and display error messages




<?php
// before any output
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE);
 
// continue with code
 
?>


I always needs this jumping back and forth between client hosting environments... might as well post it

-enjoy



How to enable developer options Android Devices »

How to enable developer options Android Devices (USB DEBUGGING)

Android Studio not detecting Device (Nexus 7, Galaxy Tab, etc)


If Android Studio is not detecting your device, it may be because you have not enabled usb debugging in Developer options.

You may then ask yourself, where are the developer options for android (especially if you're used to older versions of Android like I was)?


  1. On the device itself... to enable Developer options in Android go into Settings
  2. Then select About device
  3. Then tap on the build number area 7 or so times
  4. This unlocks a new tab in settings called Developer Options
  5. Go into developer options, scroll through until you see USB Debugging
  6. Tap to turn on USB Debugging

Android Studio should then see the device (a reboot of Android studio is not usually required, but go for it if you don't).

IF you still don't see the device in Android Studio... There are a few other things to consider that I will write about in separate posts.

- enjoy

J



Firefox zooms in on websites - zoom set @ 100% »

How to disable Firefox zoom in on webpages

Firefox is zoomed in even though zoom is @ 100%

Windows 8 Firefox zoom is broken


There are a million different search terms I used to try to find a fix for this... needless to say I didn't find one.

So I dug through the firefox config and found it.

SOLUTION:
  1. type in about:config in your address bar in firefox and hit enter (you'll get a window that warns you about changing the config... hit the button ".. I'll be careful" to continue)
  2. in the search bar type in "pix" and hit enter
  3. about 4 or 5 listings down you'll see an entry called "layout.css.devPixelsPerPx" double click the row and replace the value (probably -1) with a positive 1

That's it

Gosh I hope I got enough search phrases for this... took me forever to figure out. I hate what windows 8 (and firefox now??? ) are doing with the dpi scaling... solving a problem that never existed. 

-enjoy



   
Search postings
Learning
Learn PHP
Need Help?
If you need help, ping me!
About Me
My name is Jeremy

I am still trying to figure out what I want to do in life, father time be damned.

I run: Conception X
I've built: Jaywire
I'm working on an agency directory

I love my family, playing video games, and developing for the web and mobile.