Quantcast
Channel: Prisoner Number Six » Recipes
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Añadir librerías nativas en NetBeans

Compilando un proyecto en NetBeans, necesitaba referenciar librerías externas y nativas, es decir dll’s, dyn o so en Windows, Mac OSX y Linux respectivamente. En linea de comandos cuando se instancia...

View Article


Image may be NSFW.
Clik here to view.

Copiar de la linea de comandos al portapapeles

Lo dejo aquí como nota, siempre se me olvida y termino buscándolo. La idea: copiar la salida de un comando al portapapeles. En GNU tenemos ‘xclip’ y ‘xsel’ y para Mac OSX el instalado por defecto:...

View Article


Image may be NSFW.
Clik here to view.

Autenticación por llave en SSH

Cuando tienes varias máquinas se hace tedioso loguearte cada vez que tienes que entrar en alguna. Para ello disponemos de la opción de autenticarnos a través de una llave. Primero generamos una llave...

View Article

Image may be NSFW.
Clik here to view.

Salida a color en Git

Por defecto Git no usa colores en la salida de los comandos por linea. Si trabajamos bastante con la consola tener la salida a color se agradece, sobre todo para ver los parches. Para añadir esa opción...

View Article

Image may be NSFW.
Clik here to view.

Solution to XBMC crashes on Apple TV2

I was watching a tv show when xbmc suddenly crashes Apple TV. It rebooted and I continued play the movie. 10 minutes later the issue appeared again…and so on but always a 10 minutes lapse. I checked...

View Article


Image may be NSFW.
Clik here to view.

Disabling Spotlight in Mac OS X Lion

My MacBook Pro is getting older so in order to save some CPU cycles (so I can run more and more VM machines) I managed to find a command able to disable SpotLight Indexing Service. Frankly, I don’t use...

View Article

Image may be NSFW.
Clik here to view.

Easy Wireless Access Point in Windows 7

First, run a cmd with Administrator privileges and type this: netsh wlan set hostednetwork mode=allow ssid=yourchoice key=againyourchoice You can set ‘ssid’ and ‘key’ to whatever fits to you. Next...

View Article

Image may be NSFW.
Clik here to view.

Fixing java.security.cert.CertificateException in Burp Suite

When Burp suite accesses a server with an encrypted channel it depends in some way on the underlying Java Security layer when using java.security classes. It happens that Java 7 disables the old MD2...

View Article


Image may be NSFW.
Clik here to view.

Remove duplicate entries in “Open with…” menu in OSX

When an app is updated it register again as a launcher overpopulating the “Open with” menu each time. Run this from a terminal (user permissions is ok) for cleaning the menu by reconstructing the...

View Article


Image may be NSFW.
Clik here to view.

Calling Python from C++

Just a little snippet of code to show how to call python (an entire Python interpreter) from inside a C++ program: #include <Python.h> int main(int argc, char const *argv[]) {...

View Article
Browsing latest articles
Browse All 10 View Live