Blog posts tagged “javascript

Matrix Calculator

I have created a javascript-based program to automatically calculate matrix operations. Read on to find out!

Binomial Expansion Calculator

I have created a javascript-based program to automatically calculate binomial expansions. Read on to find out!

More Stuff

Aside from my exams which I've been revising for recently (maths, physics, religious studies, spanish A level), I've also been doing quite a lot of server stuff.

For starters, here is a jQuery based calculator:

I also just coded a clock that functions as a jQuery plugin. Every ten seconds it fetches the time from the server using AJAX, then pushes it a second ahead each, well, second. This means that if it's a slow PC and JS deviates, it gets pushed 'back to reality' every ten seconds :)

[Yes, I have been getting really into jQuery and realized its awesomeness].

I've updated th(...)

Twitter

For those that are interested, this software is no longer in beta status and is at version 2.0. The URL is the same, but there are less issues than this post implies.

I've never used twitter and never will do, ever, and that's just a fact. I don't have the time, and if I did, I'd use that time for something more worthwhile :)

BUT - and this is the subject of this post - I am developing my own version of twitter. However, it's for a very small scale site belonging to my friend's minecraft server (which is actually running on my server), but it works on the same basic concept: have a wall (...)

New JSON based music widget

This has been superseded by a new rewrite. See relevant blog post.

If you looked to your left, you'd see a new 'Random songs' block. This isn't a default drupal block, it's one I programmed today at much effort! OK, admittedly I'm using the jPlayer jQuery based software to actually play the music, BUT I programmed the rest (ie. generating the random songs without reloading the page, and rendering them into the playlist using jPlayer's API).

Basically this is how it works:

There's a PHP script on the server which queries from a MySQL database containing songs - it generates 4 random so(...)

A whole lot of tech and not a lot of thought

Recently I've been getting really into web development and design (although more development), as you can probably see if you read the rest of this blog. Something I've learned about it is that there are MANY different pathways to go down for any project for each task you want to accomplish, and it is an art to choose all the right tech to make your app, well I won't say 'free of bugs', but at least 'less buggy'.

I guess the cause of this is different people, making different browsers, different people making different technologies for different browsers, hacking them to work with other bro(...)

XSS rocks (although this isn't XSS...)

I'm typing this message from a museum PC. You know the ones that have shitty keyboards and full screen browsers locked into their own pages.

Except I managed to hack it. Using XSS.

What I did:

1. Go to a website without HTML filters on the search engine, using their inbuilt weblinks.

2. Enter

window.close();

in the search box.

3. Bingo, you're on the desktop logged on as Administrator !!!

4. Download Firefox to view the blog (default browser was Internet "Explorer" Exposer 6)

People should learn what scripting is lol.

Ajax photo gallery

This is a necropost. Please see the real picture galleries here.

If you check out the galleries [DEAD] you'll notice (if you're a geek anyway) that they're plain HTML+CSS, no scripting/Ajax or whatever. Thing is they don't work very well like this (inflexible anyway), so I'm learning Ajax so that I can make a photo gallery based on Ajax. For those that don't know, Ajax is the technology (or rather technologies) that allow things like google maps and a lot of other interactive websites to be much more fluid and interactive, and advanced.

EDIT: according to Shaun, I might be better off wit(...)

Twitter Feed

1 day ago

RT @LGBToryCanada: Robert #Mugabe, who claims 'filthy' gay people should be castrated, named #WHO Goodwill Ambassador https://t.co/5rrGB0HD