Moving back to Malmö

by Viktor Hansson on 30 June 2014, 16:52

Tags: misc personal

So my time in Skellefteå has  come to an end and its time for me to return south. I have lived and studied in this city for almost three years now, although it feels like it has been much longer. I have learned extremely much about programming, which has made me realize just how little I actually know. I have made some really good friends along the way, whom I hope to keep contact with.

But all good things must come to an end. And that time has come. Next on my agenda is to move all my stuff back home, a good 140 mil, which is harder than I first envisioned. The current plan is to rent a car from Avis, stuff it with stuff, drive all the way, and then return it at Sturup airport. And I recently found out that my parents would pay for the rental car as my graduation gift, which is really nice.

And while I do this I'm also working on a game together with a graphical artist which we hope should be finished by the end of August, perhaps with some bugfixing though.
SQL Injection Test

by Blankycan on 26 June 2014, 14:16

Tags: security sql

Hey man, Blankycan here.

We really need some protection from SQL injection, because it was too simple to bypass the login :(
Tell me if you find out how to, 'cause I need it too!

(promoting my website, http://blankycan.com, please click, but don't SQL inject)

EDIT (22.06 26/06-2014): Fixed using prepared statements, proper password hashing and a few other fixes to the broken login function. Nice catch though ;)
Media Hint Unlimited Trial Hack

by Viktor Hansson on 23 June 2014, 06:50

Tags: netflix mediahint hack howto

EDIT: Apparantly this is no longer working, since Google is being a bitch about unsigned extensions. Nowadays if this modification is done, the hashes in the extenstion directory no longer matches that of the files, which makes chrome think the extenstion is "broken". Fortunately I found a workaround. Scroll to the bottom of this post to see it.


So for my first real post I decided to write a little hack to enable media hint without a paid account. In my experience media hint is the only good workaround to access Netlfix US in a reliable way. I've tried Hola unblocker and Zenmate but these only worked 10% of the times I tried them.

So when searching for replacement I found one blog post that mentioned that you could "hack" the extension to continue using it for free, but they didn't describe how. After a little thinking I figured it can't be that hard.

All you have to do are these 6 steps:
  1. Go to chrome://extensions/ and enable programmer mode with the checkbox in the upper right corner.
  2. Find the media hint extension and copy the ID string.
  3. Go to
    C:\Users\AppData\Local\Google\Chrome\User Data\Default\Extensions\0.2.3_0
    (replace with your username and with the extension id string).
  4. Open app.js prefereable in a code editor, notepad will do if you don't have one.
  5. Insert the following:
    callback(null,JSON.parse("{\"signed_in\":true,\"profile\":{\"name\":\"Loluser\",\"picture\":\"google.com\"}, \"current_plan\":\"trial\",\"days_left\":7,\"expired \":false}"));
    return;
    after
    var fetchUserStatus = function (callback) {
  6. Save and restart chrome
Now you should be able to toggle Media hint without it asking you to login or signup.

EDIT: New way.
This new way is a little more work, but still quite simple to do.
  1. First off follow the first 5 steps above. 
  2. Once that is done, copy all the files in the ...\0.2.3_0 folder, except the _metadata folder, and put them in a folder somewhere else on your computer, like
    C:\Users\\Desktop\BetterMediaHint
  3. Then go into the chrome extensions page and delete Media Hint. 
  4. Next click the "Load unpacked extension" button and select the folder you put the files in.
  5. Finally restart chrome.

Chrome will now nag about disabling developer extensions or some shit like that, but you can just ignore that. Or disable/enable the new Media hint extension when you want to watch Netflix.

Blankycan

by Aron Frostinger on 22 June 2014, 17:58

Tags: guest

Blankycan is a pretty awesome dude and I would like to feature his website right here:
blankycan.com
Boom! There you go. 
Hello World

by Viktor Hansson on 22 June 2014, 15:55

Tags: test

So now that the blog is finally implemented I can try to make the first post without using phpmyadmin. I have to admit that if I'm to do this regularely I really prefer my new fancy editor.

So as stated in the sidebar this is my personal blog where I express my personal opinions. However since I don't think that I will have that many interested readers who care about my personal life, as well as the fact that I don't want to share my entire life on the internet, I will mostly post stuff about various technology subjects. For example, I have plans to write a few posts about different aspects of web game development as soon as I'm finished with this site.

So to sum up:
  • Personal blog
  • Personal opinions
  • Techincal posts

Newer

1 2 3 4 5

About Me

This is my personal blog where I might write some interesting stuff. I have some examples of 3D javascript/webgl things in the works which should be done in the comming months, so be sure to return somewhat regularely.

Featured

Internet Cryptography Series

See also...

Blankycan
Terali
Andréas Söderberg