Archive for the ‘Uncategorized’ Category

Having your cake and eating it – UserCake

Monday, July 21st, 2014

Setting up Usercake

The setting up of UserCake is pretty straight forward, and is very straight forward and is listed below:
http://usercake.com/docs.php#5

However the configueration docs can be a little less than clear.

So how do you protect your pages

There are three basic functions which are used to protect pages in UserCake


It is the function which ought to be used if you want the admin panel to dynamically control which permission levels have access to a page.

 

This function checks if a user has been granted a Permission Level. It’s useful if you have content on a page (such as admin features) which you only want specific users to see. You simply specify the Permission Levels who ought to have access as an array.

 

This function checks if the user is logged in. It’s useful if your permission levels change often, and you have a page you want everyone to have access to, or for public pages where you want some parts only to be visible to logged in users (such as the box to post comments on a blog).

The isUserLoggedIn(); function is probalbly the most used of these functions, where it allows people to see the content that only a logged in user will see, this means that if you want a logged in user to access the page, then he can do so, but you can still see the page, If you put this in a nice if statment.

 

 

 

 

Form Validation

Friday, October 11th, 2013

Form validaion is a bit like picking spuds, you know you want to eat the spuds, but you got to dig them and then pick them (spuds are potatoes for the non Irish reading this)  so how do we do this efficiently, well I’ve been starting to use the jQuery Validation Plugin it seems to work pertty good, and it’s plain and simple, so how does it work, well the doc’s are a bit sparce, and it’s javascript, which isint the easyest language in the world to program in.

 

so here goes:

Put below at the top of your html web page, this collects the jquery and the jquery validate library’s

 

Then you need add the scripting part, i do a standard debug check to see that jquery works first.

 

Now we have the script ended we can start the HTML and the form

 

 

Thats pretty much it,  yes you can do alot more fancy stuff, but this is a start to get you going.

The back to College/School laptop 2013

Monday, August 26th, 2013

So your back in college and you need a computer. So what to buy well it’s always a tough choice, but you don’t need to go into the thousands for a PC these days. the lower end laptop will do the job for most things, and the way to go here is low end.

  • Keyboards: if your buying a laptop be sure to try it out and make sure you actualy type on it, and be sure to type a paragraph on it, cause if it’s a bad keyboard your stuck with it for 3-4 years.
  • Touchscreens, yes the are here, you have to search them out as they are not on many lower end specks. Windows 8 will work better with them rather than a normal screen so it is worth the investment.
  • Memory, go for as much memory as you can, Memory is not hard disk space, we’re looking here at on-board memory, it will be quoted like 4096MB which is More than enough if your running windows 8, also make sure you can expand it.
  • Hard drive space: Don’t worry about hard drive space 160GB will be enough for most people, if your into music and video, you can always get an external USB drive. USB if you can come across USB 3.0 on a system, then that’s a plus.
  • Screen size, rember the bigger the screen the more its going to cost to replace it if some one sits on it, of if it falls off the bed/desk or what ever!, a 17inch screen is going around €200 for a replacment, and its not an easy job, also if you can buy a standard screen size you will pay standard money to replace it.

The next thing is software:

  • Have a look at   www.studentsoftware.ie/   This is a site for purchasing student software at discount prices.
  • Office software, well Microsoft office is the standard, but you can use open office or libre office, once you have made sure that you save everything as Microsoft file format and it will work fine.
  • Photo-shop is a standard but GIMP gives you all the functionality that most people need, it’s also open source.
  • The Zotero plug-in for Mozilla FireFox, is great for citations.
  • LYX is great for producing papers and Theseus, and is much better at handling documentation than word.
  • If your a publisher look at scribus, its open source desktop publishing system, you could always pay for quark.

Happy shopping, and don’t spend too much!

Getting the Service Tag/ Serial Number through CMD

Thursday, August 8th, 2013

This is a reminder for myself really, but its handy for referance

To retrieve serial number of the computer run the following command from command line

To retrieve model name of the computer run the following command from command line

This code doesn’t return information for all computers but it seems to work on  windows 7

Symantec Opps!

Friday, January 27th, 2012

Well if your in the computer security business and you get hacked, its bad, it’s even worse if your a computer security company and your source code gets hacked, its even worse if the code that may have been got at is “pcAnywhere”, it looks like Symantec may have turned there pcAnywhere in to a pcEverywhere!

More from Symantec below

http://www.symantec.com/theme.jsp?themeid=anonymous-code-claims&inid=us_ghp_banner1_anonymous

 

Make everything wifi

Friday, August 5th, 2011

So you got a printer connected to a laptop, but you need the laptop to be free, well the people in IOGEAR thought of you. This device for about $100 makes printers web cams and anything usb, “wireless”, it will still have to be attached to the device, But its a hell of a lot cheaper then going out and buying a wireless printer. More info fron IOGEAR here

Earnings season

Tuesday, July 26th, 2011

So its earnings season, some of the winners and losers are listed here.

ARM Holdings PLC on Tuesday posted a 21% rise in net profit, These are the people that make the chips inside the mobile phones.

RIM the people that make the blackberry, RIM’s net income for the first quarter was $695 million, or $1.33 per share, just ahead of the analysts’ forecast of $1.32. However, the income figure was down from $769 million, or $1.38 per share, in the same quarter last year.

Apple’s Q3 earnings exceed estimates: $28.57 billion revenue, $7.31 billion profit, 20 million iPhones sold

Google reported revenues of $9.03 billion in the second quarter of 2011, representing a 32% increase over second quarter 2010 revenues of $6.82 billion

Vmware Year-over-Year Revenue Growth of 37% to $921 Million.

Microsoft reported an 8 percent year-over-year revenue increase, to US$17.37 billion, and a whopping 30 percent jump in profit to $5.87 billion.

IBM’s reporting a 12 percent year-over-year jump in revenue to $26.7 billion and an 8 percent increase in profit to $3.7 billion.

icufflinks

Saturday, June 18th, 2011

An now for something completely different, some icufflinks these will be all the new rage for xmas!
icufflinks

Thanks adafruit.com

ultrasonic pen / light sabre

Friday, June 3rd, 2011

Qualcomm’s ultrasonic pen demo transcribes from paper to device, now we have seen this type of thing before from livescribe where there is a micro dot camera used to identify a location on the page. That system uses, a special printed paper with tiny dots with codes on the paper, I’ve seen it in operation and it works well. The Qualcomm system seems to be different in that it uses triangulation with ultrasonic sensors to see where the pen is in the real world, or on the sheet of paper. I don’t think they will be any requirement for special paper.

More here and here

The Irish revinue are scamming us (Not)

Wednesday, May 11th, 2011

The Irish revenue have been hit by a scam, details are below. They look for the usual credit card, and personal information, Just don’t give it!… normally the revenue take money in and don’t often give it out in my experience!

link to the site is below.

http://www.revenue.ie/en/spotlights/email-scam-warning.html

fraudulent email purporting to come from Revenue seeking personal information from taxpayers in connection with a tax refund. This phishing email is headed “2011/28719266428 REVENUE ” or “E-mail Fogra #2011-27741NIE“. A link opens up a form seeking personal information, including debit/credit card details.

if your looking for scams have a look at

http://www.hoax-slayer.com/

http://www.scamdex.com/