1. Replace multi-lines pattern with sed

    Introduction

    Let’s define this problem by an example. This is the kind of text I want to modify.

    # include <stdio.h>
    void main(int argc, char ** argv) {
    	printf("Hello world!\n");
    	printf("Version 2.0\n\
    			You can use this program as you want.\n");
    	return 0;
    }

    This is …

    read more
  2. Installing Movim on PostgreSQL

    Introduction

    Do you know Movim? You should take a look if you’re interesting in social network that are trying to take care of your privacy. With it, you own your data.

    OK, that’s great…​ but that means that you must install it on your server. Let’s do …

    read more
  3. Generate slides from DocBook

    Introduction

    I’m a big fan of LaTeX. However, when it comes to details, LaTeX is not what it sells you: you can’t really separate the content from the display when you need something nicer than the default. Moreover, the semantic description of parts of the content in LaTeX …

    read more
  4. Connect Firefox OS device to Arch Linux

    Introduction

    Firefox OS, what is that? If it’s your question, this article is probably not for you. You may take some information on Wikipedia.

    Now, you know. So, Firefox OS (or Boot2Gecko or B2G) is developed in HTML5 (by HTML5, I mean HTML5+CSS3+ECMAScript/JS). This is a …

    read more
  5. Transform portrait to squared image by filling

    Introduction

    This is my problem. I have a photo (portrait.png).

    Portrait

    From this photo, I need a squared image. However, taking the largest possible croping, this is what I can get.

    Portrait cropped

    Of course, I don’t want the face to be cropped like this. The following article is presented one …

    read more
  6. Display notifications with IRSSI

    Introduction

    Since a few months now, I used irssi as my IRC client. I like it because it is highly configurable and because it’s CLI. However, one thing is a bit annoying about irssi: it has no notifications when somebody talk to me. Either it is some ping on …

    read more
  7. Patch a dependency of Maven

    Introduction

    The other day, I was using a XWiki instance to make some crazy things (using XWiki in a way that is not the default). My point was to use the functionalities of creating subwikis. No specific configuration of XWiki after that point: Apache Tomcat v7.0.47, HSQLDB (embedded …

    read more
  8. Get information from a XWiki database

    Introduction

    It is really a problem when in a file you have characters displayed as something like ^@ or <E5>. Indeed, yesterday, my XWiki (installed in local on my computer) has been crashed by a computer freeze. I hardly reboot my computer and never been able to start the wiki after …

    read more

« Page 2 / 4 »

links

social