Skip to content

Posts from the ‘web’ Category

Best spam comment ever

Jul 21 10
by mat

Just noticed this little beauty sitting in my comment spam, found it hilerious so I thought I’d share it:

HELP! I’m currently being held prisoner by the Russian mafia xyzrxyz penis enlargement xyzrxyz and being forced to post spam comments on blogs! If you don’t approve this they will kill me. xyzrxyz penis enlargement xyzrxyz They’re coming back now. Please send help!

Needless to say I’ve purchased several penis enlargement kits to ensure this persons safety.

Information

Author : penis enlargement (IP: 213.5.67.159 , hosted-by.altushost.com)
E-mail : mattcut90@gmail.com
URL : http://www…….. Censored………..com
Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=213.5.67.159

IP address lookup

Bitcoins a cryptocurrency, free bitcoins and a rigged casino

Jul 14 10
by mat

Update: it’s currently quite difficult to get hold of bitcoins in the UK but localbitcoins works.



If your already aware of the awesomeness of public key cryptography (e.g. PGP or OTR), then you will probably appreciate Bitcoins.

You send coins by typing in someone’s address and how many coins to send and then your transaction will propagate around the p2p network. You receive coins in the same way by giving someone your address. In order to track transactions you can also make more addresses (and labels for them) which can also add to anonymity. Bitcoins are currently worth $0.0201 per bc (source)

Bitcoin program running

Bitcoin program running

Generating Bitcoins
You can opt to generate solutions to a specific crypotgraphic problem in exchange for bitcoins, by doing so your computer’s idle CPU will be used to solve this problem and when a solution is found you will be rewarded with some bitcoins, yay. There is also talk of speeding up the generation by using CUDA or similar tools here

5 Free Bitcoins
You can get 5 free bitcoins to start off your adventure into this new currency fromhere. This is a donation from somebody who wants to ensure that this currency is sucessful and as such this is a token of good faith and should not be exploited. You can also donate bitcoins to the fund to help this project.

Bitcoin casino (A Rigged Casino)
Now onto complain about a rigged casino that operates with bitcoins (Bitcasino).

Rigged and Broken roulette game on bitcoin casino

Rigged and Broken roulette game on bitcoin casino

I continually placed a bet (free play mode) on red, and for over 40 rounds it came up black, this has a probability of (20/7)^40 or 0.000000000708%. As unfair as this was then game then started getting worse constantly resulting in 0, however it would say “31 black odd” and in the side bar of past numbers “un” kept appearing which I guess means unknown.

I also tested a few of the slot machines to see if they were rigged too, and surely enough each rotation of the slots resulted in the exact same result every time, which was of course a losing one.

This bitcoin casino is rigged, buggy and not worth wasting your time with, it is much easier to lose money in other ways.

Conclusion
Bitcoin is an awesome idea and hopefully it will catch on and become sucessful, however be sure to avoid bitcasino! Also if anyone would like to donate some bitcoins then please send them to:
12Qxwa4d8s7bYHWVvNLkQZAVkJZrz8ReKB

Setting up google calendar with Kontact (or korganiser) using akonadi

May 29 10
by mat

It used to be a real pain to try and get google calendar working with kontact/korganiser, however now it is very simple. I have also provided a screenshot walk-through to aide the process.

Just install akonadi-kde-resource-googledata using your package manager or in the terminal with:

sudo apt-get install akonadi-kde-resource-googledata

This will install support of google calendar and google contacts into akonadi. If you’ve not heard of akonadi before, it is a backend that manages communications and protocols. So rather than having developers of separate applications working on the same thing rewriting code that does the same thing they can simply plug into akonadi. Kontact/korganiser can load can load from an akonadi resource:

Walkthrough
(see below for walkthough with screenshots)

  • Right Click on calendars and click add resource
  • Select akonadi
  • Click Manage Calendar Sources
  • Click add
  • Select Akonadi Google Calendar Resource
  • Enter your email and password and select ok
  • Your calendar should now sync and appear in korganiser

Screenshot Walkthrough

  • Right Click on calendars and click add resource
  • Google Caldendar integration with Kontact Korganiser 1

    Google Caldendar integration with Kontact Korganiser 1

  • Select akonadi
  • Google Caldendar integration with Kontact Korganiser 2

    Google Caldendar integration with Kontact Korganiser 2

  • Click Manage Calendar Sources
  • Google Caldendar integration with Kontact Korganiser 3

    Google Caldendar integration with Kontact Korganiser 3

  • Click add
  • Google Caldendar integration with Kontact Korganiser 4

    Google Caldendar integration with Kontact Korganiser 4

  • Select Akonadi Google Calendar Resource
  • Google Caldendar integration with Kontact Korganiser 5

    Google Caldendar integration with Kontact Korganiser 5

  • Enter your email and password and select ok
  • Google Caldendar integration with Kontact Korganiser 6

    Google Caldendar integration with Kontact Korganiser 6

  • Your calendar should now sync and appear in korganiser
  • Google Caldendar integration with Kontact Korganiser 7

    Google Caldendar integration with Kontact Korganiser 7

    Wordcube feedback

    Mar 11 10
    by mat

    This page was created for feedback from users of wordcube available via the wordcube website or as an app for android phones (available in market). Filling in these polls and leaving feedback will help improve wordcube for everyone.

    How often do you play wordcube?

    View Results

    Loading ... Loading ...

    How hard do you think the targets are to achieve?

    View Results

    Loading ... Loading ...

    How do you play wordcube?

    View Results

    Loading ... Loading ...

    Do you play

    View Results

    Loading ... Loading ...

    Would you like more wordcube polls

    View Results

    Loading ... Loading ...

    Thanks for your feedback. Please post any bugs, suggestions, complaints or ideas below.

    Bash: Script to convert .flv to mp3

    Jan 18 10
    by mat

    Flash Video (.FLV) is currently a very popular format of online videos, inparticular youtube. This post explains how to use a simple script to extract the sound from a flash video file and turn it into an mp3.

    In order for the script to work you will need to download ffmpeg (to decode the video) and lame (to encode the mp3). This can be achieve in ubuntu by opening a terminal and running the following or alternatively you can use your package manager GUI to search and download the packages for you.

    sudo apt-get install ffmpeg lame

    You then need to create a new file named “flv2mp3.sh” and paste the following into it using your preferred text editor (which hopefully isn’t VI). Save the file and then change the file permissions so that it is executable (by running:`chmod a+x flv2mp3.sh` in the terminal or via the gui in you file browser)

    #!/bin/sh
    # this script should convert files from FLV to WAV and then to MP3
    echo " "
    echo "  Welcome to FLV to MP3 converter!  version 0.1"
    echo " "
    infile_name="$@"
    # exit if the user did not enter anything:
    if [ -z "$infile_name" ]; then
        echo " "
        echo "You did not tell me the file name, so I will exit now."
        echo " "
        exit
    fi
    echo " "
    ffmpeg -i "$infile_name" -acodec pcm_s16le -ac 2 -ab 128k -vn -y "${infile_name%.flv}.wav"
    lame --preset cd "${infile_name%.flv}.wav" "${infile_name%.flv}.mp3"
    rm "${infile_name%.flv}.wav"
    echo " "
    echo "OK. I'm done! Have fun!"
    echo " "
    exit 
    

    You should now be able to convert a flashvideo into an mp3 by running the following command (changing the filenames to fit your purpose):
    sh flv2mp3.sh videofilename.flv

    Extra: Youtube
    In linux it might be worth noting that youtube downloads the flv’s to your /tmp folder and you can easily copy them or convert to mp3’s (Ensure video is completly finished loading).

    Also there is an application called ‘youtube-dl’ which can be installed from the repositories

    sudo apt-get install youtube-dl

    and then run using

    youtube-dl http://www.youtube.com/video_to_borrow

    Of course it’s up to your moral guidance to decide what you can and can’t download.

    acid3 tests firefox chrome konqueror arora on ubuntu x64 karmic

    Sep 3 09
    by mat

    I preformed some acid3 tests on the browsers I currently had installed.

    Chrome: It is sexy (only thing holding it back in Linux is the lack of flash support)
    Score: 100/100
    Version: 4.0.203.2

    acid3-test-chrome

    Opera: I used to use opera however not really any more, just installed it for this test.
    Score: 100/100
    Version: 10.00 (build 4585)

    acid3-test-opera

    Arora: I don’t tend to use Arora, however I’ve heard alot of good things about it. It is a light-weight browser based on web-kit (as are chrome, safari and konqueror) and excels at its speed, highly recommended for notebooks which don’t need the bloat of firefox.
    Score: 100/100 Linktest failed.
    Version:0.8.0

    acid3-test-arora

    Firefox: It seems to handle flash better (without crashing) and has lots of useful plugins.
    Score: 93/100
    Version: 3.5.2
    acid3-ff

    Konqueror:
    Score: 89/100 Linktest failed.
    Version: 4.3.1
    acid3-konq

    Google’s chrome comes first (with chrome having smoother and faster animation) followed by Opera and closely followed by Arora only failing on the link test, then firefox and trailing is konqueror. But I still love konqueror as its so convenient have filemanager and web-browser in one.