The website has moved

Note: the website moved to You're being redirected.

Monday, May 27, 2013

How To build your TeX file using LaTeX on Sublime Text

How To build your TeX file using LaTeX on Sublime Text
LaTeX and Sublime Text
Sublime Text 2 (the 3rd release is about to come) is one of the smarter and most elegant editors on the scene nowadays. It comes with a lot of interesting functions, and it can easily be enriched with plugins using its awesome Package Control function.

While I was writing my thesis about Kurt Gödel I discovered LaTeX, an incredible markup language which I felt in love with; it passed just a short time before I desired to use it with Sublime Text, but when I installed the LatexTools package via Package Control I had to face a little problem in order to make it work.

First of all: I think you already installed TexLive (a LaTeX distribution with many LaTeX tools) but if you did not, you can do so by typing this in your terminal:

sudo apt-get install texlive

Now you can try (as I did) to build your .tex file in Sublime Text by pressing Ctrl+B. Unfortunately, all I got at this point was this error message:

Attempted command:latexmk -cd -e $pdflatex = 'pdflatex %O -interaction=nonstopmode -synctex=1 %S' -f -pdf <your-tex-file-path>

Read carefully these lines: what Sublime Text is trying to tell you is that it needs the latexmk package to build your file, and you didn't previously install it.
If you're encountering the same problem, the solution is trivial: you just have to install the latexmk package. Write this you your terminal:

sudo apt-get install latexmk

Now try again: you'll find that Sublime is now correctly building your tex file.

Saturday, May 25, 2013

How To access phpMyAdmin page

Here's the case: you installed Xampp (or Lampp, as it was called until some months ago), you made it run, but now you can't access your phpMyAdmin page because you get this error message:

New Xampp Security concept
Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".

So, as the message says, let's open the file:
(its path may vary depending on your system and installation).

Now edit the lines under this comment:
# since XAMPP 1.4.3
So that they look like these:
# since XAMPP 1.4.3
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Require all granted
Allow from all
Now restart your Xampp and you're done!

Monday, May 20, 2013

How To activate wireless and bluetooth interfaces on Ubuntu

Context: I bought a new laptop a few weeks ago, a brand new Dell Inspiron 15r 5521, and I immediately installed Ubuntu on it (since I don't like Windows 8 and I recently have more fun with Linux-like systems).

One of the many problems I faced, due to the poor Dell compatibility with Ubuntu, is that of the wireless network keyboard key. When I disabled my WiFi pressing "Fn + F2" it worked as it should. But when I tried to have my wireless connection back, the same key combination enabled just my bluetooth connection, while the wireless kept to be disabled.

If you're facing the same problem, or even if you just want to check the status of your wireless and bluetooth interfaces, here's the way to do so. These commands are intended to be written in your terminal, so you have to open it (the default key combination on Ubuntu is "Ctrl + Alt + T").

To check your wireless interfaces status, write down:
rfkill list

This command will tell you if your interfaces are blocked, both software and hardware side.

If you notice to have some kind of problems with their status and you want to activate them, type this in your terminal:
rfkill unblock all

And you're done (you should be, at least)!

Friday, May 10, 2013

Brief intro

Hi everyone :)
Not so much about presentations: I'm just someone who spends his not-so-precious hours trying to configure some softwares, packages, drivers and other things that you could imagine to be linked with computers and informatics.

I sometimes find it hard to retrieve all the informations I'm looking for on the internet, even if there are amazing sites out there that could easily help us to resolve our programming issues. My site is a solution-container and a trouble-container as well, and I'll be happy to give a grateful feedback to those who created the guides I followed during these years of hopeless programming. I hope you'll use the same kindness with me; feel free to share my solutions for the rest.
Let's go on!