This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Display="DVI-D-0" #find it with xrandr | |
Stylusid=$(xinput | grep -Po 'Wacom (.*)' | grep -Po 'id=(\d*)' | grep -Po '\d*') | |
$(echo $Stylusid | tr ' ' '\n' | xargs -i xinput map-to-output {} $Display) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL2/SDL.h> | |
#define SIZE 10 | |
#define WIDTH SIZE * 16 | |
#define HEIGHT SIZE * 9 | |
int main(void) | |
{ | |
SDL_Init(SDL_INIT_VIDEO); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mi4wNTJ8fDE3MDMwNjQ3OTM3NzQ7MTY5OTQ3MTU3NzE1ODsxNzAzMTM5NDUyODEwO0NyYXp5IFBpenphO3dkaG5jOzE1LDExLDExLDIsOCwwLDB8MTExMTExMDExMDAxMDExMDAxMDEwMTEwMDAxfDIuMDY0ODg0MTgxODQxNjk3MmUrMzI7MS4xNzE0ODA5OTQ0OTc0Njg5ZSszMzsxMTIxNzsxMDc0OzEuMTQ3ODMzNjEzOTQ3NDE5NGUrMzI7MzUyNzsxMjswOzMuMDc3OTkxNDY0MzEwMzU2ZSsyODszOzI7MDswOy0xOzQ7NjE7Ni45NTc1OTI3MDA1ODAyMzM1ZSszMTsyODI7MTQ7NTA7MDswO2NocmlzdG1hczswOzA7MzEzMzkyOzI3NjkwOzI4NTcwMjswOzA7MTg3OzMxOy0xOy0xOy0xOzI0OzE1OzA7MDs3NTswOzA7NDs0MDsxNzAzMTM5NDQ1MDgzOzA7MTs7NDE7MDswOzEuMTMyMzY0NTE4NTI2Njk2MmUrMjg7NTA7MDswO3w1MDAsNzA2LDMuMDk4MzUzMDE3NzY5OTEwNmUrMzEsMywsMCw1MDA7NDkwLDU5MSw0LjgzNjU1MTI1MTA3MTA2NmUrMjgsMiwsMCw0OTA7NDAwLDUwMCw4LjEzODk4OTIwMjQ5OTIxNGUrMjEsNiwxNzAzMTQwMzM5Mzk2OjI6MTcwMzA3MjU1MzczODowOjg6MjIwOjE6MDoxNzAzMDY0NzkzNzg2OiAxMTExMDAwMDEwMDExMTAwMDAwMDAwMDAwMDAwMDAwMDAwIDA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MzozOjA6MDoxOjUwOjI6MDowOjA6MTo2MToxOjg6MDowOjE6MjY6MDowOjA6MDowOjA6MToyNToxOjY0OjE6NTc6Mjo1MDowOjA6Mjo4NjoyOjQ2OjA6MDoxOjI1OjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tic tac toe for logiscool | |
board = ["-", "-", "-", | |
"-", "-", "-", | |
"-", "-", "-"] | |
player = "x" # "o" | |
winned = False | |
while not winned: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"python executing | |
autocmd BufWritePost *.py map <F11> <ESC>:!clear && python & read<CR> | |
autocmd BufWritePost *.py map <F12> <ESC>:!clear && python % & read<CR> | |
" autocmd FileType python set sw=4 | |
" autocmd FileType python set ts=4 | |
" autocmd FileType python set sts=4 | |
" let g:AutoPairsMapCR = 0 "Workaround for 27_AutoPairsReturn | |
" imap <silent><CR> <CR><Plug>AutoPairsReturn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-10-25 09:54:10,730 - ERROR - <urlopen error [Errno 111] Connection refused> | |
2022-10-25 09:54:16,746 - ERROR - Error while handling server response | |
Traceback (most recent call last): | |
File "/home/tonitch/.vim/bundle/YouCompleteMe/python/ycm/client/base_request.py", line 254, in _JsonFromFuture | |
response = future.result() | |
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result | |
return self.__get_result() | |
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result | |
raise self._exception | |
File "/home/tonitch/.vim/bundle/YouCompleteMe/python/ycm/unsafe_thread_pool_executor.py", line 42, in run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-10-25 09:51:09,562 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:51:09,562 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:51:09,562 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:51:09,562 - INFO - Completion config: 50, detailing -1 candiates | |
127.0.0.1 - - [25/Oct/2022 09:51:09] "GET /ready HTTP/1.1" 200 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-10-25 09:50:36,086 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:50:36,086 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:50:36,086 - INFO - Completion config: 50, detailing -1 candiates | |
2022-10-25 09:50:36,087 - INFO - Completion config: 50, detailing -1 candiates | |
127.0.0.1 - - [25/Oct/2022 09:50:36] "GET /ready HTTP/1.1" 200 4 | |
127.0.0.1 - - [25/Oct/2022 09:50:36] "GET /signature_help_available?subserver=startify HTTP/1.1" 200 18 | |
2022-10-25 09:50:36,267 - ERROR - Semantic completion not available for ['startify'] | |
Traceback (most recent call last): | |
File "/home/tonitch/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/server_state.py", line 111, in FiletypeCompletionAvailable | |
self.GetFiletypeCompleter( filetypes ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"python executing | |
autocmd BufWritePost *.py map <F11> <ESC>:!clear && python & read<CR> | |
autocmd BufWritePost *.py map <F12> <ESC>:!clear && python % & read<CR> | |
" autocmd FileType python set sw=4 | |
" autocmd FileType python set ts=4 | |
" autocmd FileType python set sts=4 | |
let g:AutoPairsMapCR = 0 "Workaround for 27_AutoPairsReturn | |
imap <silent><CR> <CR><Plug>AutoPairsReturn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS += -Wall -g | |
LDFLAGS += -lncurses | |
SOURCES= $(wildcard *.cpp) config.h | |
all: chess | |
options: | |
@echo build options: | |
@echo "CFLAGS = $(CFLAGS)" |
NewerOlder