RSSAmplifier

Blog

C o s e

cretox

cretox.noblogs.orgRSS feed ↗10 posts

Latest posts

A short journey towards the field of lesser-known code editors

A.K.A: The endless research for the perfect (01) code editor (potentially IDE) My journey began years ago when the programming part of my job wanted to be more pressing in some way. Anyway I ve been a script guy since forever: mostly Bash, Python, Ruby, Markdown, Asciidoc My path has been something like this (chronologically speaking): [ ]

Put the fun back into self-hosting with FreeBSD and jails

[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 [ ]

I love you (ascii)doctor <3

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] [ ]

Fedintegrazie

Ho appicciato il coso per seguire il blog da cose che usano activitypub (vedi mastodon Co). Link a lato.

Silence that switch

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 [ ]

Fooling rbash

$ 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 [ ]

Emberjs on Debian

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

Best feature ever

Best feature ever? Double dictionary check! Now guess the program.

Stop piping like a Hippo

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

A deeper `ls -l’

How nice: $ alias dls='tree -phugsCD --du' Add -f for more fun! (Other useful options: -a , -x , -L level , - -sort=size )