Title: P4: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am not going to publish script for security considerations.
But I will think about it.
😶 #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P3: pinyin search, Mastadon sedning [2024-01-06 Sat]
1) You need to register a client in web site with permissions: write, push, delete.
2) All you need is 'Your access token' ◕‿◕
3) curl -H 'Authorization: Bearer Saccess_token' ...
to https://emacs.ch/api/v1/media to upload pictures
to https://emacs.ch/api/v1/statuses to push status
to https://emacs.ch/api/v1/statuses/Smessage_id to delete status #mastadon #emacs #chinese #pinyin #elisp #lisp

Title: P2: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am very fashinated by Chinese 气功 Qigong. ☯
The basic is very simple: make movies to liven the body and mind's aspects. ☥

I updated my bash scripts with cURL 🦾 to quickly send
'status' reports to Mastadon 💅:
I used this Python wrapper scripts as guidlines:
- https://github.com/halcy/Mastodon.py/blob/master/mastodon/authentication.py
- Mastodon.py/mastodon/internals.py #mastadon #emacs #chinese #pinyin #elisp #lisp

Mastodon.py/mastodon/authentication.py at master · halcy/Mastodon.py

Python wrapper for the Mastodon ( https://github.com/mastodon/mastodon/ ) API. - halcy/Mastodon.py

GitHub
Title: P2: P1: pinyin search, Mastadon sedning [2024-01-06 Sat]
(funcall f x)
)) l))
Add one list to another or Concatenate two lists:
(seq-concatenate 'list c1 c2)
or
(defun add_one_to_another(c1 c2)
(apply 'append (list c1 c2))) #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P1: P1: pinyin search, Mastadon sedning [2024-01-06 Sat]
: (defun anynil (l) (cl-some #'null l))
Apply map to every leaf of a tree like list
(defun maptree (f l)
(mapcar (lambda (x) (if (listp x)
(maptree f x) #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P2: P0: pinyin search, Mastadon sedning [2024-01-06 Sat]
all or every
: (defun all (l) (cl-every #'identity l))
all or every nil
: (defun allnil (l) (cl-every #'null l))
any t
: (defun any (l) (cl-some #'identity l))
any nil #mastadon #emacs #chinese #pinyin #elisp #lisp

Title: P1: P0: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am working on major update to my Emacs package for quick pinyin search.
I am going to add search of Chinese hieroglyphs by pinyin. ☯

During my work I collected often used functions: ❤️🧡💛💚💙💜
flatten list by one level
: (apply 'append v) #mastadon #emacs #chinese #pinyin #elisp #lisp

Title: P4: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am not going to publish script for security considerations.
But I will think about it.
😶 #mastadon #emacs #chinese #pinyin #elisp #lisp
Title: P3: pinyin search, Mastadon sedning [2024-01-06 Sat]
1) You need to register a client in web site with permissions: write, push, delete.
2) All you need is 'Your access token' ◕‿◕
3) curl -H 'Authorization: Bearer Saccess_token' ...
to https://emacs.ch/api/v1/media to upload pictures
to https://emacs.ch/api/v1/statuses to push status
to https://emacs.ch/api/v1/statuses/Smessage_id to delete status #mastadon #emacs #chinese #pinyin #elisp #lisp

Title: P2: pinyin search, Mastadon sedning [2024-01-06 Sat]
I am very fashinated by Chinese 气功 Qigong. ☯
The basic is very simple: make movies to liven the body and mind's aspects. ☥

I updated my bash scripts with cURL 🦾 to quickly send
'status' reports to Mastadon 💅:
I used this Python wrapper scripts as guidlines:
- https://github.com/halcy/Mastodon.py/blob/master/mastodon/authentication.py
- Mastodon.py/mastodon/internals.py #mastadon #emacs #chinese #pinyin #elisp #lisp