first commit

This commit is contained in:
smn 2024-03-18 11:58:38 +01:00
commit cf121cd300
5 changed files with 76 additions and 0 deletions

54
.muttrc Normal file
View File

@ -0,0 +1,54 @@
# imap
set imap_user="<user>"
set imap_pass="<password>"
set folder = imaps://imap.<server>.com
set spoolfile = +INBOX
set postponed = +Drafts
set record = +Sent
# set record = +INBOX
set trash = +Trash
# smtp
set smtp_url="smtps://<user>@smtp.<server>.com:465/"
set smtp_pass="<password>"
set from = '<email>'
# Common part
set imap_check_subscribed
set realname = '<name>'
set use_from = yes
# UI
set editor="vim"
bind index G imap-fetch-mail
bind index N search-opposite
set sort=threads
set charset = "utf-8";
# cache
set header_cache="\~/Mail/cache/"
set message_cachedir="\~/Mail/cache/"
# Multiple accounts
# folder-hook '<account1>' 'source \~/.mutt/<account1>'
# folder-hook '<account2>' 'source \~/.mutt/<account2>'
# source \~/.mutt/<account1>
# macro index <f2> '<sync-mailbox><enter-command>source \~/.mutt/<account1><enter><change-folder>!<enter>'
# macro index <f3> '<sync-mailbox><enter-command>source \~/.mutt/<account2><enter><change-folder>!<enter>'
# sidebar (for mutt-patched)
# bind index,pager \Cp sidebar-prev
# bind index,pager \Cn sidebar-next
# bind index,pager \Co sidebar-open
# View HTML
# set mailcap_path    = \~/.mutt/mailcap
auto_view text/html
# alternative_order text/plain text/html
# source \~/.mutt/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc
# signature
# set signature = "\~/.signature"
# Add signature in the specified file.

18
.vimrc Normal file
View File

@ -0,0 +1,18 @@
set linebreak
syntax on
" set number
map <silent> <up> gk
map <silent> <down> gj
set spelllang=fr
set background=light
" search
set incsearch "incremental search
set hlsearch "highlight search
set ignorecase
set autochdir
" folding
"set foldenable
"set foldmethod=syntax
set backspace=2 " sometimes useful (eg with tinycore)
" mouse support
set mouse=a

1
batstate.sh Normal file
View File

@ -0,0 +1 @@
cat /sys/class/power_supply/BAT0/capacity

1
getfile.sh Normal file
View File

@ -0,0 +1 @@
curl -u <login>:<pw> https://<server>.com/<path>

2
putfile.sh Normal file
View File

@ -0,0 +1,2 @@
curl --upload-file <file> -u <login>:<pw> https://<server>.com/<folder>