This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"runtime" | |
"weak" | |
) | |
type Observable struct { | |
subscribers []weak.Pointer[Subscriber] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
set -g prefix C-a | |
set -g mouse on | |
set -g default-terminal "screen-256color" | |
set-option -ga terminal-overrides ",xterm-256color:Tc" | |
set-window-option -g mode-keys vi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mode = process.env.NODE_ENV; | |
const isProduction = mode === 'production'; | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | |
const config = { | |
mode, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GIT | |
# -------------------------------------------- | |
alias ga="git add" | |
alias gaa="git add ." | |
alias gc="git commit -m " | |
alias gp="git push github" | |
alias gs="git status" | |
alias nah="git reset --hard; git clean -df;" | |
# -------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface IGate { | |
fun open(): IGate | |
fun close(): IGate | |
} | |
class Gate(private val gateEvents: GateEvents) : IGate { | |
override fun open(): IGate { | |
return this.gateEvents.open() | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
so ./.vim/plugins.vim | |
let mapleader = ',' | |
syntax on | |
colorscheme dracula | |
nmap <Leader>ev :e $MYVIMRC<cr> | |
nmap <Leader>ep :e ~/.vim/plugins.vim<cr> |