Skip to content

Instantly share code, notes, and snippets.

@mikowl
mikowl / .vimrc
Last active June 10, 2019 20:54
.vimrc (NerdTree version)
set encoding=utf8
set nocompatible
" Plugins
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-markdown'
Plug 'masukomi/vim-markdown-folding'
@mikowl
mikowl / .vimrc
Last active July 15, 2020 16:51
My vim config
set encoding=utf8
set nocompatible
" Plugins
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-markdown'
Plug 'tpope/vim-speeddating'
@mikowl
mikowl / emacs-config.org
Last active December 27, 2021 17:42
emacs config as of 12/08/20

Emacs configuration

Improve startup time

@mikowl
mikowl / .vimrc
Last active June 21, 2022 16:49
work vimrc 06/23/19
set encoding=utf8
set nocompatible
" Plugins
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-markdown'
Plug 'tpope/vim-speeddating'
@mikowl
mikowl / my-vscode-plugins.md
Last active June 21, 2022 16:52
vscode plug-in list

vs code extensions

code --install-extension aaron-bond.better-comments code --install-extension akamud.vscode-javascript-snippet-pack code --install-extension alefragnani.Bookmarks code --install-extension alefragnani.rtf code --install-extension alexanderte.dainty-nord-vscode code --install-extension angelo-breuer.clock code --install-extension atlassian.atlascode code --install-extension BeardedBear.beardedtheme code --install-extension buenon.scratchpads

@mikowl
mikowl / auto-animate.tsx
Created August 4, 2022 22:38 — forked from hwkr/auto-animate.tsx
Auto Animate Component
import { ElementType, HTMLAttributes } from "react";
import { useAutoAnimate } from "@formkit/auto-animate/react";
interface Props extends HTMLAttributes<HTMLElement> {
as?: ElementType;
}
export const AutoAnimate: React.FC<Props> = ({
as: Tag = "div",
children,
{
"colors": {
// An extra border around active elements to separate them from others for greater contrast.
"contrastActiveBorder": "",
// An extra border around elements to separate them from others for greater contrast.
"contrastBorder": "",
//Overall border color for focused elements. This color is only used if not overridden by a component.
"focusBorder": "",
//Overall foreground color. This color is only used if not overridden by a component.
@mikowl
mikowl / settings.json
Last active September 5, 2022 20:16
vscode config
{
"workbench.colorCustomizations": {
// "editorGroupHeader.tabsBorder": "#303340",
"tab.activeBorder": "#c692ea",
// "editorLineNumber.foreground": "#525a86",
// "statusBar.background": "#011627",
// "statusBar.noFolderBackground": "#011627",
// "statusBar.debuggingBackground": "#011627",
// "statusBar.foreground": "#d6deeb",
// "statusBar.debuggingForeground": "#d6deeb"
@mikowl
mikowl / clean.sh
Created November 15, 2022 19:22 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs
@mikowl
mikowl / keybindings.json
Last active December 13, 2022 19:05
vscode keybindings
// mikowls mostly vimish vscode keybindings
[
{
"key": "cmd+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "cmd+k cmd+t",
"command": "workbench.action.selectTheme"
},