Skip to content

Instantly share code, notes, and snippets.

View mimikun's full-sized avatar
💭
Hobby Driven Developing

mimikun

💭
Hobby Driven Developing
View GitHub Profile
@sheepla
sheepla / Get-PhysicalMemory.ps1
Created April 29, 2023 09:23
Get physical memory device detailed info on Windows
<#
.DESCRIPTION
Get physical memory (RAM) detailed information
#>
using namespace System.Collections.Generic
$memoryType = [Dictionary[int,string]]::new()
$memoryType.Add(0,"Unknown")
$memoryType.Add(1,"Other")
@vrtmrz
vrtmrz / typography-ja-mod.css
Created September 21, 2023 08:52
Obsidianの日本語の微調整CSS
:root {
--default-font: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
--editor-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
/* --override-font: "BIZ UDゴシック"; */
/* --override-font: "HackGen35"; */
/* --override-font: "BIZ UDPゴシック"; */
/* --override-font: "Yu Gothic"; */
}
.cm-content {
@quolpr
quolpr / Readme.md
Last active February 3, 2025 09:33
Cspell integration to nvim
  1. Clone https://github.com/streetsidesoftware/vscode-spell-checker locally and compile it with npm i && npm run build-production. You can put js build to nvim config dir, so if you are store config in git .js will be always available on all machines.
  2. Create file lua/cspell-lsp/init.lua. Put main.cjs to lua/cspell-lsp.
local util = require 'lspconfig.util'

-- Function to decode a URI to a file path
local function decode_uri(uri)
  return string.gsub(uri, 'file://', '')
end