Nerd Crap Archive

0

Missing operating system

Distro hopping may sometimes lead to borked bootloaders and/or installs. Grub/Lilo are usually relatively easy to google around for a fix but fixing a borked windows install wasn’t as easy to find a fix. Borked mine so I’m posting this over here so I can use it for later reference.

Boot from the Windows 8 install CD and navigate to the command prompt. I somehow managed to disable the “active” (bootable?) option for the partition Windows was installed so “bootrec /fixmbr” and “bootrec /fixboot” weren’t working.

diskpart
list volume
# Select the volume where Windows is installed:
select volume X
active

This activates and turns the partition bootable.

At this point “bootrec /fixmbr” and “bootrec /fixboot” were reporting success but the computer still failed to boot, something about a damaged BCD. “bootrec /rebuildbcd” did the trick.

 

0

Using LaTeX in Portuguese

I’ve been using LaTeX for a couple of small projects recently and I had some trouble figuring out how to make the accented characters as well as stuff like ‘Ç’ render correctly in the end product. After some mucking about I learned that we have to use three extra packages so everything shows up nicely in the end. It probably works just as well for other languages but you may want to refer to the documentation. Here are the packages you have to use:

\usepackage[portuguese]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
2

My .bashrc

Here’s something I keep forgetting to save and/or backup, my .bashrc. The last couple of times I reinstalled or switched to another distribution I did remember to backup my dotfiles but I figured I might as well just post it here in case I ever need it again.

Most of it comes from the Arch Linux Wiki, a great place for Linux information even if you don’t use Arch. I have then made a few tweaks from snippets I found on other websites. I can’t remember all of them since at the time I had no intention of posting this here. If you find anything that you think is yours please send me the article link so I can pingback to it. Keep in mind there are some Arch specific sections in there, feel free to edit and redistribute as you see fit.

Since it’s quite a wall of text, I’ll drop it after a break for the website proper. If you’re reading this through an RSS reader, sorry for the wall of text.

Read the rest of this entry »

0

Linklog & Yahoo Pipes

So I found a way to combine multiple RSS feeds and present them on a single feed. Turns out Yahoo Pipes, a thing that I had never heard of before, is really useful. My mind was somewhat blown by what I can do with them. I think Yahoo needs to advertise their stuff a little better. Either that or I really need to pay more attention to what’s going on in the intertubes.

In any case, I managed to combine items published through tt-rss and another linklog software thingie I use. It’s right here. You can turn the pipe result into RSS or JSON or whatever pleases your heart. Full URL is as follows:

http://pipes.yahoo.com/pipes/pipe.info?_id=168514ce88f11afc75a8bb3eec45ad32

It’s mostly newspaper articles and tidbits of information I find useful while on the internet. It’s also available on a widget rss whatchamacallit on this website, one of the right side panels. If you have a link/linklog feed of your own please leave a comment with it, I’m always looking for decent feeds.

0

Modern computers

Multiple processors, gigabytes of ram, videocards with 400 times more memory than my first computer ever had and he had no videocard worth mentioning at all..and what do I find myself playing? Also, happy new year :)

angband