Hoe Facebook scam te verwijderen?

Beter voorkomen dan genezen is de teneur in vele, vele blogposts. Maar wat als je per ongeluk toch op zo’n link hebt geklikt?
Onlangs had een vriendin dit probleem, wat ik pas na een uur kon verhelpen. Op’t internet is er erg weinig over te vinden, daarom dit stappenplan.

Controleer je apps

Wanneer je een app volledige toegang geeft, zijn de gevolgen natuurlijk dramatisch. Gelukkig zijn de rechten van zo’n app makkelijk in te trekken. Surf naar http://www.facebook.com/appcenter/my en verwijder alle applicaties die je niet kent.

Helaas was het niet zo eenvoudig voor mij, dus moest ik verder graven

Controleer je eigen pagina’s

Links onderaan het startscherm zie je je eigen gemaakte pagina’s. In dit geval had de applicatie een pagina aangemaakt en rechten gegeven aan allerlei obscure applicaties. Niet de bedoeling dus… Het eenvoudigst is de pagina te verwijderen:

KIik op de paginanaam, dan Pagina bewerken -> toestemmingen beheren. Scroll naar beneden en kik op pagina verwijderen.

Verwijder browserextensies

De uiteindelijke oplossing van deze scam was een browserextensie verwijderen (in dit geval voor Google Chrome). Ga naar het wieltje rechtsboven -> opties -> extensies en verwijder de browserextensie (Facebook Black of gelijkaardig). Zelfde geldt ongeveer voor FireFox.

Controleer je likes en verwijder de foto’s

Spreekt vanzelf, alles opruimen achteraf.

Toch wel vrij hardnekkig probleem, en voor de meeste mensen heel lastig op te lossen. De meeste verwijderen gewoon hun profiel…

 

Jumi for Joomla 2.5

First of all: I don’t use the version provided by the creators of Jumi. I use the version from the Joomla! forums: http://www.box.com/s/o2vcyd2c3851s6e1d9fr . The original version throws errors  (accessing non-object in the plugin of jumi).

A missing feature in Jumi for Joomla 2.5 is restricting access to your Jumi-based app. Luckily, we can hack our way around that :)

If you want a Jumi app only visible to Super Administrators, just add this to your code:

usertype == "Super Administrator" || $user->usertype == "Administrator"){
echo "

You have the right permissions to view this page. Congratulations!"; } else { echo "

Sorry, you do not have appropriate credentials to access the Application.

"; } ?>

 

 

Install libcurl with SSL support for Windows in Visual Studio

Libcurl is a free client-side URL transfer library that we’re using in our C++-wrapper for the SampleSumo WebAPI.

All the requests have to be secured with SSL. Luckily, there’s a precompiled package with OpenSSL support. But there is the end of luck: there’s no documentation at all and the package doesn’t work out-of-the box.

It costed me more than a day to figure out how it works.(There are a lot of unanswered questions at Stackoverflow).

Here’s my solution:

Download the precompiled libcurl package

You can find the latest develop package with SSL support here: http://curl.haxx.se/latest.cgi?curl=win32-ssl-devel-msvc

Prepare the libcurl content

Create a new map (for example: c:\libcurl), and in this map 1 map:  lib. Copy the map include from the package to c:\libcurl.

Copy the lib curllib.lib to the map c:\libcurl\lib (curllib.lib can be found in lib\Debug @the package)

Copy the DLL’s curllib.dll, libeay.dll, openldap.dll, ssleay.dll to the folder of your own Visual Studio project, so that the executable can find them. Download also libsasl.dll from the Chromium trunk and add it to the project.

Link it with your project

In your project: Righ mouse-click-> properties. Expand the node C/C++ -> General and type the path of your include directory in Addtional Include Directories (in this example, c:\libcurl\include).

Expand the node Linker-> General and at Additional Library Directories: C:\libcurl\lib;

At Linker->Input, Additional Dependencies:curllib.lib

Use SSL in your project

You can check if it works with this snippet:

curl_version_info_data * vinfo = curl_version_info( CURLVERSION_NOW );
if( vinfo->features & CURL_VERSION_SSL )
// SSL support enabled
cout << “SSL Support!” << endl;
else
cout << “No SSL Support!” << endl;

To use SSL certification, you have to set this options:

curl_easy_setopt(curl,CURLOPT_SSL_VERIFYPEER, true);
curl_easy_setopt(curl, CURLOPT_CAINFO, “c:\Full-PATH-TO\cacert.pem”);

 

You can download cacert.pem from the Curl website.

Libcurl is a great library, but the lack of documentation (especially for Windows Users) is really annoying. I hope that I can help other users with this post :-) .

Screenshot of my TouchPad running CM9

Upgrading HP TouchPad from CM7 to CM9 and the boot loop problem

I guess that everyone knows the story behind the HP TouchPad: Nobody bought one till HP      decided to stop producing and selling the stock for an incredible price.

Since that time, a team from CyanogenMod is trying to bring Android to this device. CM7, which is 2.3.5, was the first port. It worked, but it wasn’t designed for a tablet: The whole thing looked stretched and messy.

But now there’s Ice Cream Sandwich: a whole new Android with a much better design. CM upgraded to ICS with CM9. For the TouchPad, they are at their second alpharelase.

But enough chitchat: time to update your TouchPad to CM9!

Screenshot of my TouchPad running CM9

I had already CM7 on my TouchPad, so this is a guide to upgrade.

Required

Steps
  1. Connect your TouchPad with your computer
  2. Make a directory in the TouchPad and name it cminstall (just cminstall, nothing else!)
  3. Copy the Alpha2 and Gapps to this directory
  4. Safely remove the TouchPad from your computer ( but don’t remove the cable!) and restart your TouchPad
  5. When restarting, press the volume up button. It goes now in USB drive mode and your computer should recognize it. Otherwise, you have to reinstall novacom.
  6. Copy the AcmeInstaller2 to C:\Program Files\Palm, Inc
  7. Open a Command terminal and go to the directory where novacom lives (*)
  8. Type this command: novacom boot mem:// < ACMEInstaller2
  9. You should see the installation on your TouchPad. Just wait and see the magic!

(*) Usually at C:\Program Files\Palm, Inc. If you don’t know anything about CMD,this commands will get you to the desired directory:

  • cd/
  • cd “Program Files”
  • cd “Palm, Inc”

The boot loop problem

Till then, everything worked fine for me. But when I wanted to start CM9, it was getting stuck on the boot screen. Usually, it takes more time at the first boot, but it was running for more than 10 minutes and nothing happened! I forced a reboot (power button + menu button), but the problem stayed.

This was a solution that worked for me:

  • Reboot a go into ClockworkMod
  • wipe data/factory reset
  • go to advanced and select “Wipe Dalvik Cache”
Perform now a reboot. Everything should now work fine (except for the loss of your data, so do this only when you’re stuck at the boot screen)
Android ICS is a huge upgrade: don’t miss it! Better design (made me think of webOS)
and a lot faster. Also, this CM9 alpha version looks a lot more stable then CM7: Not one single freeze till now (CM7 = sometimes one every half an hour). Enjoy your cheap Android tablet! 😉

 

 


In de businessseats van AA Gent

Terwijl ik in Duitsland vertoefde voor een fantastische studiereis, viel er een leuk mailtje in de bus. Via Jovo van VDK had ik twee businesstickets gewonnen voor AA Gent.

Voor de eerste maal gingen we eens zien hoe de business zich liet verwennen. Nuja, ik had al eens VIP-tickets voor BC Oostende gewonnen, maar basket is toch nog iets anders 😀

De weg ernaartoe was weer eens verschrikkelijk: meer dan een halve kilometer file en een paar kamikazepiloten later stonden we toch in Gentbrugge. Maar de zitplaatsen maakten veel goed: pluchen zetels die veel weghadden van die bij Kinepolis én achter glas. De dikke jassen gingen vlug aan de kant en de mutsen werden subtiel verstopt… Toch wel een vreemde ervaring: je kijkt live naar een match en hoort het stadiongeluid door luidsprekers. Weird.

De match zelf was niet veel soeps (behalve een wereldgoal van Kortrijk, maar volgens ons was dat puur geluk). We hadden dan wel beter zicht dan de doorsnee supporter, maar het pijnlijk geklungel van beide ploegen was zo wel zichtbaarder. Gelukkig goed gezelschap én met een frisse pint in de hand. Dat laatste mag trouwens niet in de gewone tribunes, dus dat werd goedgekeurd als verbetering!

Conclusie: een aangename, warme namiddag met een pot voetbal en het gevoel dat je gewoon vanuit je luie zetel kijkt. Smaakt naar meer, maar de prijs voor zo’n ticket laat uitschijnen dat ik beter nog eens zo’n wedstrijd win 😉

Upgrading Joomla! from 1.5 to 2.5.1

I am a huge fan of Joomla! and that for many years. I use it for my sportclub since 2008. At that time, Joomla! 1.5 came out. The advantage was that there were a lot of security updates, but they were easily to do via FTP. But like all your software: it gets old, there are core features missing and a complete revision is needed.

First there was an update to 1.7, but I skipped that because there’s no long-term support for it as with 1.5. Last week, the first stable version of 2.5 came out (and immediately a security upgrade to 2.5.1). The most important improvement is the built-in ACL: There is a lot more freedom to give rights at users (instead of the sluggy user groups at 1.5). There are also a lot more admin-friendly updates: Updates for components can be done via the backend (and you’ll get notifications), more template modification options for non-experienced (or lazy) admins,…

But how do you do that, an upgrade from 1.5 to 2.5?

First things first: grab the latest security update for your 1.5 site. It’s important for the component that we will use, because it requires 1.5.19 or higher. We will do it first in a test environment, so we don’t mess up our live site.

To take a backup, there is a great component @JED: Akeeba Backup. Just install it, and take your backup via the backend. Download the .jpa file and there it is! You can set up a test environment on your pc (with a program like XAMPP). Or you can create a subdomain  folder, and put the .jpa file there.

The next you need is Akeeba Kickstart. It’s just a php file, to extract and set up your site. Go then to www.yourdomain.com/kickstart.php and follow the steps. Don’t forget to create a database!

Once Kickstart is done, you can install jUpgrade (it requires registration to download, but it’s free!). From 1.5 to 2.5 is not a simple upgrade: it’s a real migration. What jUpgrade does, is quite simple and still genious: It installs 2.5 in de /jupgrade/ subfolder, and copies the entries from your db with a new prefix. There are some 3th-party extensions supported, but not much. When it’s done, you have your site at www.yourdomain.com, and a Joomla! 2.5 site at www.yourdomain.com/jupgrade/. So you can easily tweak and refine before you’ll go live with your 2.5 site.

Despite the many advantages, you should wait at this moment. Most popular commercial  extensions have a 2.5 version, but it’s too early for some non-commercial extensions. There is also a big chance that your template won’t work anymore, so tweaking or a brand new template is needed.

And some components, like the well-known and loved Jumi, doesn’t get an update to 2.5. It’s really a pity that such great components are no longer developed.

My favorite components and their status:

  • jEvents (Calendar): Club members have already an updated version. Free users have to wait till mid-February
  • Acajoom (Mailing): Free version is already available under the name jNews
  • Morfeoshow (Photos): Not longer maintained and no longer in JED. Great component, I really regret the disappearing of it…
  • jComments: One of the best components for comments. And free! It’s only 1.5 native at the moment, and the developer seemed to be inactive. But, great news: there is a beta release for testers (see this topic)!
  • Docman (File management): Updated to 2.5 , but only a commercial version. There was a free version for 1.5… There are good alternatives though, such as ‘Simple File Uploader’.
You can already test the new Joomla! version, but it’s too early to migrate a live website. Just wait and see till all components are updated :-)

 

 

Start blog

Ooit begon ik al een blog, maar die was toen geen lang leven beschoren. Deze keer dient het als landingsplaats voor allerlei projecten, gaande van testsites tot thesiswebsite. Engelstalige posts zullen gaan over computerstuff, terwijl ik ook af en toe iets over badminton zal schrijven.

Bij deze is het aantal artikels verhoogd tot één! 😉