This file contains 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 DynamicConnection.example; | |
import DynamicConnection.WeightedQuickUnion; | |
public class Percolation { | |
private enum States { | |
CLOSE, | |
OPEN | |
} | |
private final int N; |
This file contains 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 db.oplog.values.hashes () { | |
local host | |
local dbAddr | |
host=${2:-${ORBIT_DB_HOST}} | |
dbAddr=$(rawurlencode "${1}") | |
_curl "${host}/db/${dbAddr}/oplog/values" | jsawk "'return this.hash'" -a "'return this.join(\" \")'" |