It is a hack.
Set Jira Administration -> System -> Announcement Banner -> Announcement:
<style type="text/css">
pre {
white-space: pre-wrap!important;
}
</style>
It is a hack.
Set Jira Administration -> System -> Announcement Banner -> Announcement:
<style type="text/css">
pre {
white-space: pre-wrap!important;
}
</style>
mongo --eval "JSON.stringify(db.currentOp(true))" | \
tail -n +3 | \
jq -r .inprog[].client | \
sed 's/\(.*\):.*/\1/' \
| sort | uniq -c | sort -nr
cat book.txt | \
tr '!()[]{};:",<.>?“”‘’*/\r' ' ' | \
tr ' ' '\n' | \
grep -a -P "^[\p{L}\p{N}\-']+\$" | \
grep -a -P -v "^[\p{N}\-']+\$" | \
sed "s/'s\$//" | \
sed "s/^'//" | sed "s/'\$//" > words.txt
cat words.txt | \
sort | uniq -c | \
sort -nr | \
cut -c9- > words_desc.txt
\r
from `\r\n’output words.txt
sort and count unique words
sort by freqency in descending order
trim the frequency column
The UA detection algorithm is a pipeline containing 3 steps:
The scanner scans the user agent string into products. Each product has its own name, version and comments. e.g.
For user agent string:
Mozilla/5.0 (Linux; U; Android ROM v3; en-us; ALCATEL ONE TOUCH 991 Build/GRK39F) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Its products are:
The parser then parses the scanned products and fill the information into a Device struct, e.g.
Mozilla: 5.0
Linux: true
Security: U
Android: ROM v3
Locale: en-us
Model: ALCATEL ONE TOUCH 991
Build: GRK39F
Webkit: 533.1
Version: 4.0
Mobile: true
Safari: 533.1
The detector is then able to use the parsed Device structure to detect the device type & related info: vendor, screen resolution, tablet-or-not, etc, by searching in a device database.
The accuracy of the detection is determined by the completeness of the device database, then we might have to migrate the data from multiple sources. Automatic tests will be adapted from those resources.
This is an insightful list from Henry Ward:
A short investigation on reliable persistence:
Crash consistency is hard but possible at a huge performance cost
Data safty must rely on distributed solution
Perhaps we should just give up manual fsync and rely on