• 17 Posts
  • 64 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

help-circle







  • After hours of trying out different plugins the closest I could find is the lualine & tabby combination:

    About to test it during work, at first look it looks like it has everything I need, only shows current buffers in tab, and in correct order

    local lualine_theme = require("highlight").lualine_theme
    require("lualine").setup({
    	options = {
    		icons_enabled = true,
    		theme = lualine_theme,
    		component_separators = { left = "", right = "" },
    		section_separators = { left = "", right = "" },
    		disabled_filetypes = {
    			statusline = {},
    			winbar = {},
    		},
    		ignore_focus = {},
    		globalstatus = true,
    		refresh = {
    			statusline = 1000,
    			tabline = 1000,
    			winbar = 1000,
    		},
    	},
    	sections = {
    		lualine_a = { "branch" },
    		lualine_b = { empty_section },
    		lualine_c = {},
    		lualine_x = {},
    		lualine_y = { { "diagnostics", sections = { "error", "warn" } } },
    		lualine_z = { "location" },
    	},
    	inactive_sections = {},
    	tabline = {},
    	winbar = {},
    	inactive_winbar = {},
    	extensions = { "fugitive", "nvim-tree" },
    })
    
    local theme = {
    	fill = "TabLineFill",
    	-- Also you can do this: fill = { fg='#f2e9de', bg='#907aa9', style='italic' }
    	head = "TabLine",
    	current = "TabLineSel",
    	tab = "TabLine",
    	win = "TabLine",
    	tail = "TabLine",
    }
    
    vim.o.showtabline = 2
    local tabby_theme = require("highlight").tabby_theme
    require("tabby.tabline").set(function(line)
    	return {
    		line.tabs().foreach(function(tab)
    			local hl = tab.is_current() and tabby_theme.current or tabby_theme.tab
    
    			return {
    				line.sep("", hl, tabby_theme.fill),
    				tab.number(),
    				tab.name(),
    				line.sep("", hl, tabby_theme.fill),
    				hl = hl,
    				margin = " ",
    			}
    		end),
    		line.spacer(),
    		line.wins_in_tab(line.api.get_current_tab()).foreach(function(win)
    			local hl = win.is_current() and tabby_theme.current or tabby_theme.tab
    
    			return {
    				line.sep("", hl, tabby_theme.fill),
    				win.buf_name(),
    				line.sep("", hl, tabby_theme.fill),
    				hl = hl,
    				margin = " ",
    			}
    		end),
    		hl = tabby_theme.fill,
    	}
    end)
    



  • I tried to explain most of the things you asked in the second readme update, and also added some minor details in a third update:

    https://gitlab.com/catlover_stuff/dotastats-cli#main-analysis-the-one-that-shows-by-default-dotastats

    1. “Meaning of the numbers: The tens: 1: herald, 2: guardian, 3: crusader, … The ones: 0: 1 star, 2: 2 star, 4: 3 star, 6: 4 star 8: 5 star So for ex.: 36: crusader 4 star” (“The graph could be a bit inaccurate (showing 35.82 here)”)
    2. “The outcome of your lane in the first 10 minutes” … “W: win, L: loss, S: stomp” … “T means tie”
    3. “Which hero you played in the game, the first 3 letters of the hero. Should be read from top to bottom per column”
    4. PARTY: If you played in a party it will print a P, otherwise empty” … “AWARD: Stratz award for your ingame performance. T: top core/support, M: MVP, empty: none”
    5. “Here 25: x 50: x and 100: x means that ‘x’ is calculated using the last 25/50/100 games.”

    Edit: thanks for the feedback and pointing out the not so obvious parts, this way its clearer for anyone in the future (I hope :D)











  • last time (~ half year ago) they thaught me this they said chest compression is more than enough. there should be enough oxygen in the lungs and blood till professional help arrives, and as you said most of the time airway is blocked in these situations

    also most people are extremely unconfortable to blow air through someones nose/mouth, so it incrreases the number of people that are willing to help

    at least sa far as i know