Skip to content

Instantly share code, notes, and snippets.

View habdenscrimen's full-sized avatar

Slava Yefremov habdenscrimen

View GitHub Profile
@habdenscrimen
habdenscrimen / obsidian.css
Last active January 29, 2024 22:29
Set custom font sizes for Obsidian default theme
View obsidian.css
:root
{
--font-size-normal: 19px;
--font-size-code: 15px;
--font-size-side-dock: 15px;
--font-size-side-dock-title: 18px;
--font-size-status-bar: 12px;
--font-size-h1: 38px;
--font-size-h2: 30px;
--font-size-h3: 24px;
@habdenscrimen
habdenscrimen / bomb.js
Created March 18, 2020 10:38
Codewars - Defuse the bombs!
View bomb.js
// 10
Bomb.diffuse(Bomb.key)
// 9
Bomb.diffuse()
Bomb.diffuse()
Bomb.diffuse()
Bomb.diffuse()
Bomb.diffuse()
View hi.txt
👋👋👋
View __pocketbook-db-request.sql
SELECT
HighlightID as ID,
COALESCE(Title, '') AS BookName,
COALESCE(Authors, '') AS Authors,
json_extract(Highlight, '$.text') AS Highlight,
BookID,
TimeEdit
FROM
Books
INNER JOIN (
@habdenscrimen
habdenscrimen / vscode.json
Last active January 9, 2020 09:50
VSCode settings
View vscode.json
{
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "file-icons",
"workbench.startupEditor": "newUntitledFile",
"workbench.statusBar.visible": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.closeOnFileDelete": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.list.automaticKeyboardNavigation": false,
View .zshrc
export ZSH="/Users/viacheslav/.oh-my-zsh"
# Go development
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
eval $(thefuck --alias)