By cretox on 11/07/2023
[Ita, Eng N/A] Intro “Self-hosting” inteso come fornire servizi (per se stessi o persone amiche) da un computer o server di cui si ha il completo controllo (hardware, software). Esempio di servizi possono essere: sito/blog, istanza pleroma/mastodon, server xmpp, repository codice, archiviazione/condivisione file, ecc… Questi servizi possono essere limitati alla rete lan o wifi locale […]
Posted in General | Tagged freebsd, fun, jails
By cretox on 19/01/2023
Asciidoc[0] è un linguaggio per formattare il testo! Asciidoctor[1] sono una serie di tool per renderci la vita ancor più leggiadra. Come Markdown ma molto più esteso. Quasi come Latex ma molto più usabile. Outputta verso html e pdf e epub e molto altro! Ci possiamo scrivere siti, articoli, libri, documenti, ricette. [0] https://asciidoc.org/ [1] […]
Posted in be happy | Tagged asciidoc, trucco
By cretox on 12/12/2022
Ho appicciato il coso per seguire il blog da cose che usano activitypub (vedi mastodon &Co). Link a lato.
Posted in anvedi
By cretox on 15/06/2016
Some time ago I found a somewhat old Netgear Switch. 24 ports 10/100/1000 Managed Double SFP! Well, the first port is broken :) And it’s too loud! In our lab we have already a file server and an UPS, powered 24/7. This is the fan that make so much noise: We need a solution to […]
Posted in General
By cretox on 10/03/2016
$ echo $SHELL /bin/rbash $ /bin/ls /bin/bash: line 2: /bin/ls: restricted: cannot specify `/’ in command names $ awk ‘BEGIN{system(“/bin/bash”)}’ $ /bin/ls foo bar misc $ uname -rm 2.6.18-308.16.1.el5 i686 $ bash –version GNU bash, version 3.2.25(1)-release (i386-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. $ awk –version GNU Awk 3.1.5 Copyright (C) 1989, 1991-2005 […]
Posted in General
By cretox on 01/01/2015
First, install nodejs and npm from repository. Then: sudo update-alternatives –install /usr/bin/node nodejs /usr/bin/nodejs 100 mkdir -p ~/.new-dir npm config set prefix /path/to/.new-dir npm install -g ember-cli PATH=”$PATH:/path/to/.new-dir/bin” Export PATH variable in your bashrc to avoid retyping. Test with: ember -v
Posted in General
By cretox on 17/12/2014
Best feature ever? Double dictionary check! Now guess the program.
Posted in anvedi, FLOSS
By cretox on 11/11/2014
Oooooh: $ cat list | grep some | awk ‘{print $1}’ Oh my god, 3 processes, we’re all gonna get a SIGKILL! Then: grep ‘some’ list | awk ‘{print $1}’ What? Not yet.. awk ‘/some/{print $1}’ list \é/ And I count my lines with: grep -c ‘some’ list instead of wced-greped-cated
Posted in General
By cretox on 05/11/2014
How nice: $ alias dls=’tree -phugsCD –du’ Add ‘-f’ for more fun! (Other useful options: ‘-a’, ‘-x’, ‘-L <level>’, ‘- -sort=size’)
Posted in General
By cretox on 22/09/2012
La vignetta[1] è assurda e troooppo grande per girarla tutta… Forse l’artista pensava fosse cosa divertente! A me non piace quando mi nascondono le cose. Così mi son messo e ho cercato di capire come funzionava il tutto. Possibile ci sia un’immagine di fantastilioni di px tutta intera? Come funziona il motorino per farmene vedere […]
Posted in anvedi, scriptz