Tag Archives: Mac OS

Twitter Feed Widget your Mamp/Joomla! installation and trix for Tweet dynamics

Joomla open source CMS logo

At Twitter.com, feed widgets are available that you can customize and then incorporate [the generated html code] into a web page. I prefer the website/search format for its control and I have written some code and step-by-step on that that tells how to tweak and customize the search parameters so you can control and configure contributors – great for special event sor pages where you WANT public input with a # but you NEED to control it. But anyway, how do you get a feed into your Joomla site? For this demonstration’s sake, we’ll use fictional Twitter account MAMPj25. Go to the link and get some code.

Getting Your Demonstration Twitter Widget Search Code

Not just for a MAMP installation, this should work for server installations, as well.

;;
;
new TWTR.Widget({
version: 2,
type: ‘search’,
search: ‘MAMPj25’,
interval: 6000,
title: ‘This Is My Search Widget’,
subject: ‘To Joomla and Back!’,
width: 170,
height: 300,
theme: {
shell: {
background: ‘#e6dde5’,
color: ‘#7f3ae6’
},
tweets: {
background: ‘#88c9c9’,
color: ‘#f01a3e’,
links: ‘#1985b5’
}
},
features: {
scrollbar: true,
loop: true,
live: true,
behavior: ‘default’
}
}).render().start();
;

For “search query” enter MAMPj25. Copy the code. You can actually use the above code and substitute a real Twitter account and it will run.
Advertisements

Macintosh Java Flashback Trojan Update Procedure OS X 10.6

The problem…and suggestions for fixing it: pre-emptive steps with Apple’s update and/or a diagnosis and infection-deleting process using Unix Terminal to see if you are infected (you need to be very careful fooling around with the unix solution) which is below the [easier] Apple update info that will patch up the problem in Java that lets this happen

(please read background, thanks to the Register.co.uk)

550,000-strong army of Mac zombies spreads across world • The Register.

Plan “A”

Pre-emptive: After downloading Apple’s Java update, read the info before installing, you should see…

“Java for Mac OS X 10.6 Update 7 delivers improved compatibility, security, and reliability by updating Java SE 6 to 1.6.0_31.

Please quit any web browsers and Java applications before installing this update.

See http://support.apple.com/kb/HT5056 for more details about this update.

See http://support.apple.com/kb/HT1222 for information about the security content of this update.”

After running the update…

In Apple menu, open “About this Mac,” then scroll down to “Frameworks”…and open it…

you should see these files updated to either April 6 or today’s date…

and more screenshots in this gallery – note the dates

______________________________________________

Plan “B”

Diagnosis and fix using Unix Terminal – be very careful or get a nerdy friend to assist with this IF YOU OPT TO DO IT THIS WAY…follow the link. The diagnosis is fairly harmless and fun to do. Curious? Want to see if you’re infected? Pre-fix? You will find out if you indeed have been infected or see that you are free of it…Entering commands to repair is another story.

The basic instructions at  F-Secure

I opted to run the diagnosis before and after running Apple’s update. I ran the terminal commands and confirmed I have a clean system…

macintosh-100:~ username$ defaults read /Applications/Safari.app/Contents/Info LSEnvironment 2012-04-06 11:20:17.666 defaults[69558:903] The domain/default pair of (/Applications/Safari.app/Contents/Info, LSEnvironment) does not exist macintosh-100:~ username$ defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES 2012-04-06 11:20:54.632 defaults[69570:903] The domain/default pair of (/Users/username/.MacOSX/environment, DYLD_INSERT_LIBRARIES) does not exist macintosh-100:~ username$

distant US Capitol dome

Russell Imrie is a  Web Content Specialist, webmaster and an American Indian blogger living in the Washington DC area.

Copyright © forever by Russell Imrie