Skip to content

Instantly share code, notes, and snippets.

load("@protobuf//bazel:proto_library.bzl", "proto_library")
load("@grpc//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
proto_library(
name = "example_proto",
srcs = ["example.proto"],
)
py_proto_library(
@mbland
mbland / count-matching-lines-driver.sh
Last active August 20, 2016 20:54
Proof-of-concept bash-only implementation of 'grep -o $exp | sort | uniq -c'
#! /bin/bash
#
# Driver for the count-matching-lines script
#
# Author: Mike Bland <[email protected]>
# https://mike-bland.com/, https://github.com/mbland/
# Date: 2016-08-19
usage() {
local message
@mbland
mbland / README.md
Created October 1, 2012 14:51 — forked from JanDupal/README.md
Quick'n'dirty Jekyll plugin for sorted cycle

Jekyll sorted_for plugin

Quick'n'dirty Jekyll plugin for sorted cycle.

Install

Copy sorted_for.rb to _plugins/ directory of your Jekyll site.

Usage