Search for: Tutorial

3rd Jul 2013 09:30am
3,489 views | 0 comments

Oh Hello, Android Studio

Now how on earth did I miss this puppy? Well that's twice this week I've missed out on knowing something about Google (This and also my quick US Weather Alert system for tornado watches and tornado warnings - will post about this at a later date though)

Now when I'm fiddling around and programming for my Android phone, I usually use Eclipse as my IDE and use it with the Android SDK (API Level 8 and API Level 15 for Android 2.2 and Android 4.0.3 respectively), however upon searching around the internet for some tutorials... [read more]

3rd Jul 2013 07:30am
2,071 views | 0 comments

Twitter Series: #2 Setting Up Your Application

Hopefully, you're all running on Twitter's API v1.1 now, as explained in the previous post.

Ok, right. So now to start things off, you will need to head over to the Developers section of Twitter and at the top click the "Sign In" option. Enter your login details as they are for Twitter normally, then you will need to authorise Twitter's Development page to allow you to continue, then once you've authorised it, you will be able to create your first application.

Once everything is authorised, you will be sent back to... [read more]

2nd Jul 2013 07:30am
2,144 views | 0 comments

Twitter Series: #1 Using Twitter API v1.1

The final stages of the transition from v1 to v1.1 of Twitter's API went fully complete 11th June 2013, however there's still a fair few people using v1 of the Twitter API and moaning that it's not working. Well obviously it's not going to work now as it's been totally switched off.

However updating to use v1.1 of the API is very simple.

Now before I start rambling on about how you can do things, I would like to point out that I am using Abraham Williams' Twitter OAuth class for this post (as it's the first and main one I've came... [read more]

9th May 2013 07:09pm
5,385 views | 3 comments

How To Stop Spam On Your Website

Update: Post Updated 9th June 2013 08:09pm

Automated spam is wild now-a-days on the internet and if you run your own website, you'll know that there's many methods you can use when you encouter spam to deter it. However, one easy way I've found, which is VERY simple and easy to do is by creating a simple checkbox that if left unticked will tell your script that the person is not human and will not continue sending their message.

On your form

<input type="checkbox" name="notbot"> Tick this box to confirm you're not a bot.

On your script

... [read more]
6th Mar 2010 11:44pm
3,392 views | 0 comments

Collapsible Menu with jQuery

To begin with we need to make a menu, which I've just done a quick temporary 5 items in mine using the HTML lists tags.

<menutitle>Main</menutitle> <ul id="menu"> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Item 4</a></li> <li><a href="#">Item 5</a></li> </ul>

Then in the header of your page, you will need to call your jQuery file.

<script type="text/javascript" src="jquery.js"></script>

Now beneath the line where you're calling your jQuery from, you will need to write some more JavaScript to tell the document to run the later bit of code when the document has loaded.

<script type="text/javascript"> $(document).ready(function(){ }); </script>

Now the document is ready for your jQuery code, we need to... [read more]

  • © Dale Hay, 2005 - 2020