social.gl-como.it

Cerca

Elementi taggati con: cli

Because finding the #GUID of a #Diaspora post sucks:



````
#!/bin/bash

[[ -z "${1}" ]] && {
echo 'usage: dlink ' >&2
exit 1
}
guid=$(
curl -s "${1}.json" \
| jq .guid \
| tr -d '"'
)
printf '/posts/%s\n' "${guid}"
:

eof



````

The syntax highlighting sucks, too…

Caveat: no error checking.

[ #JSON, #CLI, #bash, #useatyourownperil ]
 

Because finding the #GUID of a #Diaspora post sucks:



````
#!/bin/bash

[[ -z "${1}" ]] && {
echo 'usage: dlink ' >&2
exit 1
}
guid=$(
curl -s "${1}.json" \
| jq .guid \
| tr -d '"'
)
printf '/posts/%s\n' "${guid}"
:

eof



````

The syntax highlighting sucks, too…

Caveat: no error checking.

[ #JSON, #CLI, #bash, #useatyourownperil ]
 
Immagine/foto
#jabber #xmpp #profanity #IM #chat #cli #otr

A very good jabber client. Recommended!



http://www.profanity.im/

 
Immagine/foto
#jabber #xmpp #profanity #IM #chat #cli #otr

A very good jabber client. Recommended!



http://www.profanity.im/

 



comando grep. Hackeando y aprendiendo a usarlo | victorhckinthefreeworldhttps://victorhckinthefreeworld.com/2017/01/24/comando-grep-hackeando-y-aprendiendo-a-usarlo/

Es bueno saber que existen muchas herramientas muy útiles, saber sacarles provecho y saber para qué utilizarlas. Utilizadas de una en una proporcionan un buen arsenal para muchas tareas.

Utilizadas en conjunto mediante “tuberías” o en scripts entonces se vuelven letales y no tienen rival.

#gnu #linux #grep #cli #ñ #tutorial

victorhckinthefreeworld: comando grep. Hackeando y aprendiendo a usarlo (victorhck)

Grep es un potente comando de GNU/Linux para utilizarlo en la línea de comandos. Veamos algunos usos. La consola o línea de comandos de GNU/Linux es una de las herramientas más potentes. Pero a la …
 
As I looked up the links to post them in a comment recently, I thought this might be worth posting it on its own:

#GNS (GNU Name System) - The #decentral #replacement of #DNS in #GNUnet



It works around zooko's triangle with #petnaming and is implemented in #GNUnet. It is accessible via #API and #cli (#gnunet-gns). It works fine and people use it.
GNS is designed to provide:
- Censorship resistance - Query privacy - Secure name resolution - Compatibility with DNS

More (general) information: https://gnunet.org/gns https://gnunet.org/gns-implementation (Not only about implementation)

GNS FAQ: https://gnunet.org/taxonomy/term/34

GNUnet FAQ: https://gnunet.org/faq-page

Scientific articles relatet to the topic: https://gnunet.org/bibliography?f[keyword]=1300 https://gnunet.org/bibliography?f[keyword]=2&f[search]=gns

Videos: https://gnunet.org/videoghm2013 https://gnunet.org/oxford2014grothoff https://gnunet.org/video-30c3-talk-gnu-name-system https://gnunet.org/gns2014ghm
#CensorshipResistance #QueryPrivacy #video #GNU #FreeSoftware

Zooko's triangle - Wikipedia

 
nuovi vecchi