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 com.mingweisamuel.zyra.util; | |
import java.util.Arrays; | |
import java.util.function.Supplier; | |
/** | |
* <p>This class represents a token bucket system. One instance represents one recurring bucket with a certain | |
* limit of tokens per timespan.</p> | |
* | |
* <p>A circular buffer keeps track of tokens. The index of each bucket represents the number of requests sent |
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
.flair { | |
padding: 0px; | |
margin: 0; | |
line-height: 26px; | |
vertical-align: middle; | |
text-align: right; | |
color: #FFF; | |
background: url(%%brandflairs%%) top left no-repeat #000; | |
min-width: 40px; | |
padding-right: 10px; |
NewerOlder