Skip to content

Instantly share code, notes, and snippets.

View Aster89's full-sized avatar
🍃
Foglia nel vento...

Enrico Maria De Angelis Aster89

🍃
Foglia nel vento...
View GitHub Profile
The endless flow on screen has several times proposed the following 5 lines every several minutes
Completed 218 action(s).
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.6.5.
Installing GHC ...
Module "/home/enrico/a" is loaded by Cradle: Cradle {cradleRootDir = "/home/enrico", cradleOptsProg = CradleAction: Default}
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 0.8.0.0, Git revision eb58f13f7b8e4f9bc771af30ff9fd82dc4309ff5 (dirty) x86_64 ghc-8.10.1
Current directory: /home/enrico
Operating system: linux
Arguments: ["--lsp"]
Cradle directory: /home/enrico
Cradle type: Default
Tool versions found on the $PATH
cabal: 3.2.0.0
@Aster89
Aster89 / makingDialogs.hs
Created March 7, 2021 11:14
simple haskell program
data Dialog = WinDialog { render :: IO (), click :: IO () }
| MacDialog { render :: IO (), click :: IO () }
| LnxDialog { render :: IO (), click :: IO () }
askForConfirmThenError :: IO ()
askForConfirmThenError = do
print "Are you sure? [y/n]"
ans <- getLine
if ans == "n"
then print "Ok, (not) done"
==== Timestamps ====
Launch: Fri Apr 2 09:14:02 2021
Crash: Sun Apr 4 16:40:10 2021
==== Version info ====
______ ,,
,.-"` | ,-` |
.^ || |
/ ,-*^| || |
; / | || ;-*```^*.
ls -la /usr/lib/tmpfiles.d/
total 296
drwxr-xr-x 2 root root 4096 May 19 16:27 ./
drwxr-xr-x 175 root root 180224 May 19 16:27 ../
-rw-r--r-- 1 root root 259 Jan 19 01:32 arch.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
$ sudo ausearch -k delete_x11_tmp
----
time->Thu May 20 09:42:39 2021
type=PROCTITLE msg=audit(1621500159.585:133): proctitle=617564697463746C002D6100657869742C616C77617973002D4600646972002F746D702F2E5831312D756E6978002D5300756E6C696E6B2C756E6C696E6B61742C726D646972002D6B0064656C6574655F7831315F746D70
type=SOCKADDR msg=audit(1621500159.585:133): saddr=100000000000000000000000
type=SYSCALL msg=audit(1621500159.585:133): arch=c000003e syscall=44 success=yes exit=1084 a0=4 a1=7ffcd37abac0 a2=43c a3=0 items=0 ppid=103860 pid=103861 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=1 comm="auditctl" exe="/usr/bin/auditctl" key=(null)
type=CONFIG_CHANGE msg=audit(1621500159.585:133): auid=1000 ses=1 op=add_rule key="delete_x11_tmp" list=4 res=0
@Aster89
Aster89 / au.vim
Created October 6, 2021 07:34
Output of :au
--- Autocommands ---
filetypedetect BufEnter
*.xpm if getline(1) =~ "XPM2" | setf xpm2 | else | setf xpm | endif
*.xpm2 setf xpm2
FileExplorer BufEnter
* sil call s:LocalBrowse(expand("<amatch>"))
Vimball BufEnter
*.vba setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
*.vba.gz setlocal bt=nofile fmr=[[[,]]] fdm=marker|if &ff != 'unix'|setlocal ma ff=unix noma|endif|if line('$') > 1|call vimball#ShowMesg(0,"Source this file to extract it! (:so %)")|endif
@Aster89
Aster89 / map.vim
Created October 6, 2021 07:34
Output of :map
o % <Plug>(matchup-%)
x % <Plug>(matchup-%)
n % <Plug>(matchup-%)
o [% <Plug>(matchup-[%)
x [% <Plug>(matchup-[%)
n [% <Plug>(matchup-[%)
n \d * :YcmShowDetailedDiagnostic<CR>
o ]% <Plug>(matchup-]%)
@Aster89
Aster89 / imap.vim
Created October 6, 2021 11:51
Output of :imap
i <C-Space> * <C-R>=<SNR>49_RequestSemanticCompletion()<CR>
i <Nul> <C-Space>
i <C-Y> * <SNR>49_StopCompletion( "\<C-Y>" )
i <Up> * pumvisible() ? "\<C-P>" : "\<Up>"
i <S-Tab> * pumvisible() ? "\<C-P>" : "\<S-Tab>"
i <Down> * pumvisible() ? "\<C-N>" : "\<Down>"
i <C-G>% <Plug>(matchup-c_g%)
i <Plug>(matchup-c_g%) * <C-\><C-O>:call matchup#motion#insert_mode()<CR>