Cicatrice Archive

  • OpenShift: from early development to production in clouds

    OpenShift is a Red Hat solution dedicated to PaaS. OpenShift is powered by Kubernetes and Docker, and is running on RHEL or CentOS (Fedora support has been discouraged due to the fact that some dependencies are updated too quickly in order for Red Hat to guarantee a full compatibility). OpenShift […]

  • Ethereum front page

    Ethereum: Introduction to the blockchain

    Blockchain is a word that got really hyped in the last few months. Even more since IBM, Canonical and Samsung show their interest in it, and that solutions like Rubix or Ethereum were built. Behind this word, you may find a technology that could change society as Internet or Databases […]

  • #ShebangHero 004 – Timestamps, timestamps everywhere !

    Tired of typing date +%Y%m%d_%H%M%S for your timestamps ? Make a function !

    Add it in your .profile or .*rc, and you will have a quick way to use timestamps everywhere !

  • #ShebangHero 006 – Turn hexadecimal chunks in text

    If you’re a normal human, you probably don’t know the full ASCII table. If you need to decode a text from hexadecimal, xxd is your friend !

  • #ShebangHero 005 – Fancy banners for all !

    FIGlet is a powerful tool to generate banners with style ! Even if you have no drawing skill. To list available fonts, type showfigfonts . You can use them as welcome message, signature, or just for fun !

  • #ShebangHero 003 – Get ride of files starting with a dash

    A special option on most common commands is a double-dash -- . This option will tell to command to stop parsing further options. Any word after -- option will be used as an argument. This way, you can handle files starting with dash easily. It is also safer to use […]

  • #ShebangHero 007 – Strings will save the day !

    strings is a command that display printable characters from a binary file. It is very popular for forensic (and hacking as well) to reveal hidden strings like passwords or backdoor keys. It can also show hidden options or Easter eggs !

  • Old and broken network

    IPv4 : now it’s done !

    Announced since dozen of years, the IPv4 address exhaustion is a reality now. ARIN, the North America Internet Registry, announced on September 24th there is no more address block to give out. On past years, Latin America (2014), Europe (2012) and Asia (2011) announced they ran out of IPv4 address. […]

  • #ShebangHero 001 – Create files in a quick way

    Using seq and xargs is a common trick to create huge amount of files !

  • #ShebangHero 002 – Show invisible characters

    Some UNIX tools do not like CR-LF end of line characters made in Microsoft. Using cat with -vet options, you can see them as ^M . Regular end of line will be displayed as $. To fix a “corrupted” file, have a look to fromdos (formerly dos2unix ).