https://github.com/solyaris/BOTServer/blob/master/wiki/services.md
# Encoding: utf-8 | |
# | |
# idle.rb | |
# | |
# goal: | |
# Ruby script to test how to fetch IMAP mails with IDLE mode. | |
# IMAP IDLE allow a sort of "push" / "real-time" delivery. | |
# | |
# I used the script to test LATENCY (end-to-end delivery times) |
# set prefix to ctrl-a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# easier and faster switching between next/prev window | |
bind C-p previous-window | |
bind C-n next-window | |
# utf8 is on |
require "awesome_print" | |
AwesomePrint.pry! |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
" PLUGIN USING VIM-PLUG | |
" https://github.com/junegunn/vim-plug | |
" | |
" Load vim-plug | |
if empty(glob("~/.vim/autoload/plug.vim")) | |
execute '!curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.github.com/junegunn/vim-plug/master/plug.vim' | |
endif | |
call plug#begin('~/.vim/plugged') |
Pubblico qui alcune note in relazione all'articolo Ecco i 5 motivi per cui Telegram è meglio di WhatsApp di Nadia Napolitano
L'articolo citato è divulgativo e sono certamente d'accordo con i 5 motivi per cui Telegram "è meglio" di WhatsApp, che valutano le caratteristiche dal punto di vista dell'"utilizzatore finale".
Mi permetto qui di seguito di rielencare i punti, facendo alcune aggiunte/precisazioni e nei paragrafi successivi aggiungo mie riflessioni. L'articolo entra un poco nel tecnico e faccio alcune considerazioni etiche e sociali.
I 5 punti:
Here below I report few considerations already written as comment to the interesting article, as usual, by Nicola Malizia: Understanding Telegram inline bots. I copyied here with minor syntax/formatting/typo corrections.
ciao Nicola! Another interesting article of yours (I like also some your post on alghoritms, etc.).
I agree about your doubts regarding naming (inline mode). As someone sometime told, in computer science, "naming" objects is difficult! :) >Jokes a part, in object orientation / application parlance,
topic: ~pets (dog cat pet animal bird fish snake) | |
?: ( << you like snake >>) | |
I love pythons except Python (the programming language) | |
?: ( << you ~like ~animals >>) | |
I love all animals. | |
t: Do you have any pets? |
color-link default "#F8F8F2,#282828" | |
color-link comment "#75715E,#282828" | |
color-link identifier "#66D9EF,#282828" | |
color-link constant "#AE81FF,#282828" | |
color-link constant.string "#E6DB74,#282828" | |
color-link constant.string.char "#BDE6AD,#282828" | |
color-link statement "#F92672,#282828" | |
color-link symbol "#F92672,#282828" | |
color-link preproc "#CB4B16,#282828" | |
color-link type "#66D9EF,#282828" |