Skip to content

Instantly share code, notes, and snippets.

View lru_main.go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package main
import (
agnivade / margo.go
Created Nov 14, 2019
gosublime config
View margo.go
package margo
import (
// Margo is the entry-point to margo
View .prettierignore
View new.html
<td class="pkg-name" style="padding-left: 0px;">
<a href="elgamal/">elgamal</a>
<td class="pkg-synopsis">
Package elgamal implements ElGamal encryption, suitable for OpenPGP, as specified in &#34;A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms,&#34; IEEE Transactions on Information Theory, v.
<td class="pkg-name" style="padding-left: 0px;">
View main.go
package main
import (
agnivade / commit-msg
Last active Jul 7, 2020
Bash file to check commit message structure
View commit-msg
while IFS='' read -r line || [[ -n "$line" ]]; do
if [ $cnt -eq 1 ]; then
# Checking if subject exceeds 50 characters
if [ $length -gt 50 ]; then
echo "Your subject line exceeds 50 characters."
agnivade / vimrc
Last active Aug 29, 2015
my vimrc file
View vimrc
set number
set tabstop=2
set expandtab
set smartindent
set autoindent
set smarttab
set shiftwidth=2
set ignorecase
set incsearch
set hls