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
#! /bin/sh | |
## Check current git branch against original release abi | |
# Copyright (C) 2017, Red Hat, Inc | |
# Copyright (C) 2017, Nicira, Inc | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at: | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
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
import sys | |
import pymongo | |
import rflib.defs as defs | |
import rflib.ipc.MongoIPC as MongoIPC | |
from rflib.ipc.RFProtocolFactory import RFProtocolFactory | |
def usage(): | |
print('Usage: %s <channel>' % sys.argv[0]) | |
print(' channel: "rfclient" or "rfproxy"') |
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
function gr() | |
{ | |
if [ "$#" == "1" ] | |
then | |
grep -r $* . | |
elif [ "$#" -ge "2" ] | |
then | |
grep -r $* | |
else | |
echo ">.<" |