Blog Feed: Hazardous Gaming

Blog Feed: Hazardous Gaming

Already a Member? Log In to Your Account

VoIP with PHP using VoicePHP

Published on 1969-12-31 18:00:00

VoicePHP is a very simple to use API that helps you make VoIP calls using PHP. I didn't get my API key yet but anyone can use it a very basic level, so here's what I discovered after a bit of experimenting (although I still am confused about some > read more

10 common mistakes and questions in JavaScript

Published on 1969-12-31 18:00:00

Coding in JavaScript can feel a bit weird at first, especially if you have background in programming (in general) as a lot of things are different here. That's one reason a lot of developers run into the same problems as they advance in learn > read more

The W3C Geolocation API and Facebook checkins

Published on 1969-12-31 18:00:00

One of the coolest HTML5 features is geolocation. IP based location is usually inaccurate and so are other methods. HTML5 introduces the Geolocation API which offers much more accurate data using information related to the Internet connection, lik > read more

Detecting Internet Explorer with JavaScript

Published on 1969-12-31 18:00:00

Yeah, there are tons of other articles on this around the web but I just think the guys at Twitter have a nice solution: var browser = function() { var ua = navigator.userAgent; return { ie: ua.match(/MSIEs([^;]*)/) }; > read more

Proper string to integer conversion with C++

Published on 1969-12-31 18:00:00

#include bool stringToInt(std::string s, int &i) { bool retValue; std::istringstream convert(s); if (convert>>i) retValue = true; else retValue = false; return retValue; } That's the pro > read more

Sum of terms in a Fibonacci sequence with C++

Published on 1969-12-31 18:00:00

This tutorial makes great use of pointers/linked-lists. I will start posting such problems from time to time here and, hopefully, some of you will find them useful. The problem(slightly modified) says that the algorithm should ask if you want to > read more

Seamless authentication with YouTube using jQuery and PHP sessions

Published on 1969-12-31 18:00:00

Logging in with YouTube. While not a very difficult task, given the fact that the Zend GData API offers everything you need, you might not feel comfortable with the idea of redirecting the user to YouTube and then back to your website just for > read more

New blog theme and backend

Published on 1969-12-31 18:00:00

Meaning "here be dragons". It's about 50% finished and here's a todo list where I'll track the progress (comments with bugs/glitches/suggestions are welcomed and will be noted): "Projects" and "Contact" menu links lead to Middle Earth Search fu > read more

Get URL parameters with JavaScript

Published on 1969-12-31 18:00:00

Sometimes, we need to have the parameters passed in the URL as variables in JavaScript in order to do one thing or another in our code. Most of the times I saw endless if/else conditions checking for the position of a certain string in the URL to fin > read more

[Archive] Open letter

Published on 1969-12-31 18:00:00

To my blog. I have neglected you, I've been busy coding other things but among them I have redesigned and redeveloped the platform that you're running on. Yup, you're getting an upgrade and also a relocation to claudiuceia.info You'll have a > read more

file_get_contents() alternative

Published on 1969-12-31 18:00:00

This morning, when I launched CSS Minify, I stumbled upon a problem I wasn't expecting but sorted it out quite easily. PHP Fog's free plan disabled file_get_contents() for external files. Usually shared hosting plans disable PHP's file_get_contents() > read more

Google -1

Published on 1969-12-31 18:00:00

Google just launched the +1 button (well, for some time, but it's still not "mainstream"). The Google +1 button simply allows you to recommend sites/pages that you like. These +1s will then appear in your contact's search results, much like the "Shar > read more

CSS Minify just launched in the cloud

Published on 1969-12-31 18:00:00

I just launched my first web app in the cloud with PHP Fog. It's in an early stage comparing to future plans but can be used for production purposes. Design heavily inspired by Js2Coffee, but that's a good thing, because that's a great design! There' > read more

Google+likes: The Chrome extension that adds Like and Tweet links to your Google+ posts

Published on 1969-12-31 18:00:00

How it started / Bottlenecks There we go, after a few hours of trial and error it's finally here, Like and Tweet options on Google+. Of course, it involves downloading a Chrome extension, but nontheless, getting there. At this point, if you want t > read more

Minifying and gzipping CSS files with PHP. And caching.

Published on 0000-00-00 00:00:00

A while ago, I wrote about minifying and gzipping CSS stylesheets on the run with PHP. The snippet works just fine, but there's plenty of room for improvement. Biggest improvement of them all, is caching the resulting file, it's not like you're > read more

Reducing the size of your scripts by 70 percent

Published on 0000-00-00 00:00:00

Although I wrote several articles on minifying and gzipping CSS files with PHP until now, the major performance issue comes down to Javascript. Almost every website out there uses one of the popular "giant libraries" like jQuery, MooTools, Prototyp > read more

Facebook-like status box

Published on 0000-00-00 00:00:00

One thing we all love about Facebook is how it magically manages to filter out links and get some content from the linked pages to be displayed on the wall. It's something that I personally didn't see implemented in other websites, but I think it's > read more

Dinamically attaching the license type to your code

Published on 0000-00-00 00:00:00

If you own a blog or a website that has dinamic content and features code snippets or even full source code, you're most likely releasing it under one of the various open source licenses available. I personally release everything under a MIT licen > read more

Allegro particle editor

Published on 0000-00-00 00:00:00

What is it, what does it do? Just what it says, it creates particles. Most of the cool visual effects you see in movies/games are created using particles. A particle can be anything from a simple image to a customly defined shape. Get a lot of par > read more

Drastically improve page speed

Published on 0000-00-00 00:00:00

Improving website speed should be a major concern for any web developer/company/client out there. The reasons are obvious, a website that loads slow doesn't get much traffic, doesn't get very good rankings in the search engines and is obviosuly po > read more

Get weather with PHP

Published on 0000-00-00 00:00:00

This is a PHP demo of displaying the weather in a certain location on your website, quick and easy and in this case, the weather in my hometown. The code is as basic as it can be and is very expandable so I'll simply post the code here so you ca > read more

PHP backlink checker tool

Published on 0000-00-00 00:00:00

The purpose of a backlink checker is important in several cases, for example if you build a web directory and want to have a backlink checker for every URL submited to the site, or if you want to check that all of your partners have the URL to you > read more

Styling checkboxes and radio buttons with Javascript

Published on 0000-00-00 00:00:00

Styling checkboxes and radio buttons with CSS is a nightmare. Actually, no, it's impossible. The web used to look the same years ago, every form had more or less the same look. Styling form elements such as checkboxes or radio buttons with CSS has c > read more

PageRank update January 2011

Published on 0000-00-00 00:00:00

Finally, a Page Rank update from Google. Now, the Page Rank, contrary to popular belief, is not at all an important metric. As an example, google.ie has a PR of 7. In 2009, the PR was removed from Google Webmaster tools. Explanation? We've been > read more

Open letter

Published on 0000-00-00 00:00:00

To my blog. I have neglected you, I've been busy coding other things but among them I have redesigned and redeveloped the platform that you're running on. Yup, you're getting an upgrade and also a relocation to claudiuceia.info You'll have a > read more



© 2006-2012 OnToplist.com, All Rights Reserved