From 3c6ec3e56b1b29a5b819c08ad482c99fde97da4e Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sun, 15 May 2022 12:34:19 +0200 Subject: [PATCH 1/3] remove git clone from dockerfile --- startpage/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startpage/Dockerfile b/startpage/Dockerfile index 26ea6b4..84b9ca1 100644 --- a/startpage/Dockerfile +++ b/startpage/Dockerfile @@ -1,5 +1,5 @@ FROM nginx:alpine -RUN apk add --update git && apk add --update openssh -RUN git clone https://github.com/mightypanders/dotfiles.git +#RUN apk add --update git && apk add --update openssh +#RUN git clone https://github.com/mightypanders/dotfiles.git WORKDIR /dotfiles/startpage COPY . /usr/share/nginx/html From 17698c21d38b2a2ffb8538aece4b1e59206bf12c Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sun, 15 May 2022 12:34:58 +0200 Subject: [PATCH 2/3] remove nvim section from legacy vimrc --- vim/.vimrc | 260 ----------------------------------------------------- 1 file changed, 260 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 3fad700..a72dff1 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -33,263 +33,3 @@ map h :set cursorline! xnoremap p "_dP nnoremap :noh -if has('nvim') - call plug#begin(stdpath('data') . '/plugged') - Plug 'junegunn/vim-easy-align' - Plug 'morhetz/gruvbox' - Plug 'junegunn/fzf', {'do': {->fzf#install()}} - Plug 'junegunn/fzf.vim' - Plug 'gfanto/fzf-lsp.nvim' - Plug 'nvim-lua/lsp-status.nvim' - Plug 'jiangmiao/auto-pairs' - Plug 'machakann/vim-sandwich' - Plug 'machakann/vim-highlightedyank' - Plug 'bling/vim-airline' - Plug 'airblade/vim-gitgutter' - Plug 'rhysd/vim-clang-format' - Plug 'easymotion/vim-easymotion' - Plug 'neovim/nvim-lspconfig' - Plug 'kosayoda/nvim-lightbulb' - Plug 'hrsh7th/cmp-nvim-lsp' - Plug 'hrsh7th/cmp-buffer' - Plug 'hrsh7th/cmp-path' - Plug 'hrsh7th/cmp-cmdline' - Plug 'hrsh7th/nvim-cmp' -" Plug 'hrsh7th/cmp-vsnip' -" Plug 'hrsh7th/vim-vsnip' - Plug 'saadparwaiz1/cmp_luasnip' - Plug 'L3MON4D3/LuaSnip' - Plug 'kyazdani42/nvim-web-devicons' - Plug 'kyazdani42/nvim-tree.lua' - "Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} - call plug#end() - - autocmd vimenter * colorscheme gruvbox - autocmd BufEnter *.60 :setlocal filetype=sixtyfps - let g:clang_format#auto_format=0 - - set completeopt=menuone,noselect - -"nvim-tree -let g:nvim_tree_gitignore = 1 "0 by default -let g:nvim_tree_quit_on_open = 0 "0 by default, closes the tree when you open a file -let g:nvim_tree_indent_markers = 1 "0 by default, this option shows indent markers when folders are open -let g:nvim_tree_git_hl = 1 "0 by default, will enable file highlight for git attributes (can be used without the icons). -let g:nvim_tree_highlight_opened_files = 1 "0 by default, will enable folder and file icon highlight for opened files/directories. -let g:nvim_tree_root_folder_modifier = ':~' "This is the default. See :help filename-modifiers for more options -let g:nvim_tree_add_trailing = 1 "0 by default, append a trailing slash to folder names -let g:nvim_tree_group_empty = 0 " 0 by default, compact folders that only contain a single folder into one node in the file tree -let g:nvim_tree_disable_window_picker = 0 "0 by default, will disable the window picker. -let g:nvim_tree_icon_padding = ' ' "one space by default, used for rendering the space between the icon and the filename. Use with caution, it could break rendering if you set an empty string depending on your font. -let g:nvim_tree_symlink_arrow = ' >> ' " defaults to ' ➛ '. used as a separator between symlinks' source and target. -let g:nvim_tree_respect_buf_cwd = 1 "0 by default, will change cwd of nvim-tree to that of new buffer's when opening nvim-tree. -let g:nvim_tree_create_in_closed_folder = 0 "1 by default, When creating files, sets the path of a file when cursor is on a closed folder to the parent folder when 0, and inside the folder when 1. -let g:nvim_tree_refresh_wait = 500 "1000 by default, control how often the tree can be refreshed, 1000 means the tree can be refresh once per 1000ms. -let g:nvim_tree_window_picker_exclude = { - \ 'filetype': [ - \ 'notify', - \ 'packer', - \ 'qf' - \ ], - \ 'buftype': [ - \ 'terminal' - \ ] - \ } -" Dictionary of buffer option names mapped to a list of option values that -" indicates to the window picker that the buffer's window should not be -" selectable. -let g:nvim_tree_special_files = { 'README.md': 1, 'Makefile': 1, 'MAKEFILE': 1 } " List of filenames that gets highlighted with NvimTreeSpecialFile -let g:nvim_tree_show_icons = { - \ 'git': 1, - \ 'folders': 0, - \ 'files': 0, - \ 'folder_arrows': 0, - \ } -"If 0, do not show the icons for one of 'git' 'folder' and 'files' -"1 by default, notice that if 'files' is 1, it will only display -"if nvim-web-devicons is installed and on your runtimepath. -"if folder is 1, you can also tell folder_arrows 1 to show small arrows next to the folder icons. -"but this will not work when you set indent_markers (because of UI conflict) - -" default will show icon by default if no icon is provided -" default shows no icon by default -let g:nvim_tree_icons = { - \ 'default': '', - \ 'symlink': '', - \ 'git': { - \ 'unstaged': "✗", - \ 'staged': "✓", - \ 'unmerged': "", - \ 'renamed': "➜", - \ 'untracked': "★", - \ 'deleted': "", - \ 'ignored': "◌" - \ }, - \ 'folder': { - \ 'arrow_open': "", - \ 'arrow_closed': "", - \ 'default': "", - \ 'open': "", - \ 'empty': "", - \ 'empty_open': "", - \ 'symlink': "", - \ 'symlink_open': "", - \ } - \ } - -nnoremap :NvimTreeToggle -nnoremap r :NvimTreeRefresh -nnoremap n :NvimTreeFindFile -" NvimTreeOpen, NvimTreeClose, NvimTreeFocus, NvimTreeFindFileToggle, and NvimTreeResize are also available if you need them - -set termguicolors " this variable must be enabled for colors to be applied properly - -" a list of groups can be found at `:help nvim_tree_highlight` -highlight NvimTreeFolderIcon guibg=blue - -lua << EOF -local cmp = require'cmp' - -local capabilites = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) -require'lspconfig'.tsserver.setup{ -capabilites = capabilites -} -require'lspconfig'.dockerls.setup{ -capabilites = capabilites -} -require'lspconfig'.eslint.setup{ -capabilites = capabilites -} -require'lspconfig'.gdscript.setup{ -capabilites = capabilites -} -require'lspconfig'.gopls.setup{ -capabilites = capabilites -} - -cmp.setup({ - snippet = { - -- REQUIRED - you must specify a snippet engine - expand = function(args) - -- vim.fn["vsnip#anonymous"](args.body) -- For `vsnip` users. - require('luasnip').lsp_expand(args.body) -- For `luasnip` users. - -- vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. - -- require'snippy'.expand_snippet(args.body) -- For `snippy` users. - end, - }, - mapping = { - [''] = cmp.mapping.select_prev_item(), - [''] = cmp.mapping.select_next_item(), - [''] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }), - [''] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }), - [''] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }), - [''] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `` mapping. - [''] = cmp.mapping({ - i = cmp.mapping.abort(), - c = cmp.mapping.close(), - }), - [''] = cmp.mapping.confirm({ select = true }), - [''] = function(fallback) - if cmp.visible() then - cmp.select_next_item() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() - else - fallback() - end - end, - [''] = function(fallback) - if cmp.visible() then - cmp.select_prev_item() - elseif luasnip.jumpable(-1) then - luasnip.jump(-1) - else - fallback() - end - end, - }, - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - -- { name = 'vsnip' }, -- For vsnip users. - { name = 'luasnip' }, -- For luasnip users. - -- { name = 'ultisnips' }, -- For ultisnips users. - -- { name = 'snippy' }, -- For snippy users. - }, { - { name = 'buffer' }, - }) - }) - -cmp.setup.cmdline('/',{ -sources = { - { name = 'buffer' } - } -}) - -cmp.setup.cmdline(':',{ -sources = cmp.config.sources({ -{name = 'path'} -},{{name='cmdline'}}) -}) - -require'nvim-tree'.setup { - disable_netrw = true, - hijack_netrw = true, - open_on_setup = false, - ignore_ft_on_setup = {}, - auto_close = false, - open_on_tab = false, - hijack_cursor = false, - update_cwd = false, - update_to_buf_dir = { - enable = true, - auto_open = true, - }, - diagnostics = { - enable = false, - icons = { - hint = "", - info = "", - warning = "", - error = "", - } - }, - update_focused_file = { - enable = false, - update_cwd = false, - ignore_list = {} - }, - system_open = { - cmd = nil, - args = {} - }, - filters = { - dotfiles = false, - custom = {} - }, - view = { - width = 30, - height = 30, - hide_root_folder = false, - side = 'left', - auto_resize = false, - mappings = { - custom_only = false, - list = {} - } - } -} - -EOF - map f :FZF - nnoremap ca lua vim.lsp.buf.code_action() - nnoremap gd lua vim.lsp.buf.definition() - nnoremap gD lua vim.lsp.buf.declaration() - nnoremap K lua vim.lsp.buf.hover() - nnoremap rn lua vim.lsp.buf.rename() - nnoremap F lua vim.lsp.buf.formatting() - inoremap lua vim.lsp.buf.signature_help() - - autocmd BufWritePre *.ts lua vim.lsp.buf.formatting_sync(nil, 1000) - - -endif From d68fbd645d8debda9b2dfcee644009a756ed7cba Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sun, 15 May 2022 12:35:36 +0200 Subject: [PATCH 3/3] remove old RC links, add hosted section --- startpage/dome.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/startpage/dome.js b/startpage/dome.js index 418c806..0a5aae9 100755 --- a/startpage/dome.js +++ b/startpage/dome.js @@ -47,8 +47,6 @@ var sites = { aws: "https://us-east-1.signin.aws.amazon.com/oauth?SignatureVersion=4&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJMOATPLHVSJ563XQ&X-Amz-Date=2019-10-15T15%3A01%3A16.654Z&X-Amz-Signature=5cd9c455e673d043421f5bc47b87c61a438cd5b85d808f85e6b3304f0ef6c2de&X-Amz-SignedHeaders=host&client_id=arn%3Aaws%3Aiam%3A%3A015428540659%3Auser%2Fhomepage&redirect_uri=https%3A%2F%2Fconsole.aws.amazon.com%2Fconsole%2Fhome%3Fstate%3DhashArgs%2523%26isauthcode%3Dtrue&response_type=code&state=hashArgs%23", "rc-intranet": "https://realcorevv.sharepoint.com/sites/RC-Intranet/", - food: - "https://www.rge-essen.de/dienstleistungen/gastronomie/speiseplaene.html", }, Social: { WhatsApp: "https://web.whatsapp.com", @@ -66,7 +64,6 @@ var sites = { "POSTAL 2" : "steam://run/223470" },*/ News: { - worldnews: "https://reddit.com/r/worldnews", golem: "https://www.golem.de/", heise: "https://www.heise.de/", WAZ: "http://www.waz.de", @@ -87,13 +84,12 @@ var sites = { games: "https://reddit.com/r/games", switchhacking: "https://reddit.com/r/switchhaxing+switchhacks", }, - brudi: { - heimdall: "http://brudi.xyz", + hosted: { + yavin: "http://yavin:8181", gitea: "http://gitea.brudi.xyz", - etherpad: "http://pad.brudi.xyz", send: "http://send.brudi.xyz", kanban: "http://kanboard.brudi.xyz", - pics: "http://pics.brudi.xyz", + media: "https://media.hartzarett.ruhr" }, };