DDwrt things

Once I forgot to re-enable my security settings on my wireless network.
This caused my neighbors dropping their bytes on my wireless. :evil:

So I just made fun with them (that’s yet another story :twisted: ), and afterwards I added a virtual wireless interface to my access point (an easy thing in dd-wrt) to make sure they got the point.

Time passed, and I let the 2 ssid’s broadcast =)

So the other day, my mobile phone was acting weird on my wifi-connection.
Sudden drops, slow, …
When I was “experimenting” with some settings, I noticed the 2nd ssid broadcasting…

You’ll probably see it coming already.

I removed the 2nd ssid, et voila! :cool:

My phone was back on track and connecting as it should be. “Jej”

Deleting bootloader on windows server 2008 r2

So, I have this server (a dell poweredge) with some disks in a raid0 setup.

For testing purposes I had this virtual disk split in 2 partitions.
One with Windows Server 2003, one with Server 2008 R2

Now, I needed the space, so the 2 partitions needed to become 1 single =)

Of course, when you remove the first partition  (where Microsoft puts their bootloader), our bootloader is gone.
And this causes, of course, that nothing boots =)

So, how to put it back:

You need to mark the remaining partition as “active”.
You do this as follows:
Boot from the windows server installation dvd. Choose your language & keyboard layout. And click “repair your computer”. Here can you can start a command prompt/cmd.
In the terminal, you type:

  1. diskpart
  2. list disk
  3. select disk #
  4. list partition
  5. select partition #
  6. active
  7. exit

Then you can rebuild the bcd.

  1. bootrec.exe /fixmbr
  2. bootsect.exe /nt60 all /force
  3. attrib -h -s C:\boot\BCD (in my case I needed to create the directory MD boot, and MC bcd)
  4. del C:\boot\BCD
  5. bootrec.exe /rebuildbcd

After this, your windows server still wont boot. It stops on “mbr is missing”.
This is fixable as well =)
In cmd, type the following:

  1. cd x:\sources\recovery\
  2. StartRep.exe

and you let startrep do its job =)

Afterwards, everything boots again :)

Thanks @ http://answers.microsoft.com/en-us/windows/forum/windows_7-system/bootmgr-is-missing-in-windows-server-2008-r2/7bb1d682-e078-4f78-84d7-d4d3f9aa9769 and http://idoneitmyself.wordpress.com/2009/11/15/windows-7-suddenly-wont-boot-reboot-and-select-proper-boot-device-or-insert-boot-media-in-selected-boot-device-and-press-any-key-repairing-the-windows-7-bootloader/ =)

Intro to c# and ms sql

23 years old, and I still didn’t know how to connect a microsoft sql with c#
That needed to change!

In the end, it’s almost exact the same as php/mysql or in netbeans…
You define a connection, you open it, and you’re ready to query :-)

The hardest part was getting the data source (my local computer) right ^^
Plus, you can connect using your windows credentials (just run it), or define some specific user authentication.

In code, it looks like this:

private void button2_Click(object sender, EventArgs e)
{
 SqlConnection myConnection = new SqlConnection("server=mendelportable\\sqlexpress;Trusted_Connection=yes;database=master;connection timeout=30");

 myConnection.Open();
 SqlCommand myCommand = new SqlCommand("select * from Table1", myConnection);
 SqlDataReader dr = myCommand.ExecuteReader();
 textBox1.Text = "";
 while (dr.Read())
 {
  textBox1.Text=textBox1.Text+dr["messages"].ToString()+"\r\n";
 }
}

And once you’re connected, you’re ready to query the hell out of that database 8-)

It’s absolutely nothing special, and it’s good to know!

Mission accomplished :-)

SSD

I’m really having doubts about replacing the internal hard disk drive of my laptop with a version with flash memory…
A crucial M4 seems damn good…

Some arguments:

+ reaaaaally fast
+ really fast!

- limited size
- wears
- pretty expensive

 

So… What to do?

running software

  • skype, just chatting around
  • live messenger
  • firefox, direct source of, well, everything
  • outlook, maaails
  • spotify, yep, on my laptop it’s spotify :)
  • kinsky, to control the television ^^
  • spaz, tweeting
  • rainmeter, keeping my desktop alive
  • F.lux, keeping my eyes alive
  • last.fm, sharing music
  • live mesh, syncing stuff
  • wakoopa, more stats!
  • whatpulse, even more stats!

what WILL they find

lets’s have a look…


200gb, mostely livesets and podcasts
100gb on pictures about everyone and everything (even more footage than on my picasa ofcourse…)
another 100gb on virtual machines (linux, backtrack, even solaris, macosx, windows server)
250gb on random shit I never use… (mostly downloaded installers, saved documents and schoolstuff)
200gb on windows 7 and windows 8 installations…

So, basically nothing…

The most important things: my pictures, my music, my passwords, and a folder of “soup_todo” :-)

There are of course more hidden things =)
Bad thoughts of mine…
But you’ll probably never find them, they will only appear when the world comes to an end :-)

People and letters…

Why won’t people just read things :P

This app shows all the traffic cams, as provided by www.vlaamsverkeercentrum.be, in a single metro-inspired interface.

You can read this I guess…
It says “traffic“, it says “shows cams“, and you see a “.be“-domain…

And then people give the app a rating of 1/5 in the marketplace with the following comment:

Most stupidest app ever. Its just picture of the traffic

Jeah… Oookay…
Thank you…

An easy app that doesn’t exist?

Or I’m looking over it…
Possible as well…

Still, nobody has ANY idea about an app that natively can stream your itunes library?
Or is it just soo hard to make? (or even illegal?)

Does it exist?
Is it hidden?
Renamed?
What’s the name?

Bugfixing @ wp7

Apparently, when you create a live tile, and you use an external URI to point to an image for the tile, the operating system removes the tile after a reboot…
This behaviour doesn’t occur when you use a local resource to instantiate the tile…

Just something you don’t actually know until you see it happening ^^

Dank u stad Antwerpen…

Blijkbaar is 3 minuten tegenwoordig 23€ waard…

Ik hoop dat als iemand van het Gemeentelijk Autonoom Parkeerbedrijf Antwerpen volgende keer 3 minuten te laat op een afspraak komt, hij/zij dan ook deze som mag betalen…

 

–Edit–

En ja, 3 minute later stond ik ook aan men auto… Dus *eigenlijkfeitelijk* was het een hele 6 minuten te laat…

Follow

Get every new post delivered to your Inbox.

Join 178 other followers