Skip to content

Instantly share code, notes, and snippets.

call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" On-demand loading
Plug 'Townk/vim-autoclose'
Plug 'fatih/vim-go'
Plug 'scrooloose/nerdcommenter'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-abolish'
/* tslint:disable */
// This file was automatically generated and should not be edited.
export type CreateBlogInput = {
id?: string | null,
name: string,
};
export type ModelBlogConditionInput = {
name?: ModelStringInput | null,
@hirochachacha
hirochachacha / cVimrc
Created January 10, 2020 02:34
cVimrc
set noautofocus
set cncpcompletion
set smoothscroll
let scrollstep = 250
map h previousTab
map l nextTab
map d closeTab
map u lastClosedTab
map <C-h> moveTabLeft
map <C-l> moveTabRight
#!/usr/bin/env python
import argparse
import os
import boto3
client = boto3.client('ssm')
parser = argparse.ArgumentParser(
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" On-demand loading
Plug 'Townk/vim-autoclose'
Plug 'fatih/vim-go'
Plug 'scrooloose/nerdcommenter'
Plug 'tpope/vim-surround'
Plug 'vim-airline/vim-airline'
@hirochachacha
hirochachacha / getfilename.go
Created April 15, 2017 01:39
get file name
package main
import (
"fmt"
"os"
"syscall"
"unsafe"
)
var (
@hirochachacha
hirochachacha / nfd_mac.go
Created May 30, 2016 17:54
NFD for OS X
package main
import (
"fmt"
"unicode/utf8"
"golang.org/x/text/unicode/norm"
)
func main() {
@hirochachacha
hirochachacha / ccm.go
Created March 24, 2016 05:12
AES CCM Mode
// CCM Mode, defined in
// NIST Special Publication SP 800-38C.
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"errors"
@hirochachacha
hirochachacha / eval_symlinks_windows.go
Last active January 21, 2016 14:56
filepath.EvalSymlinks