- Log into BF4 Battlelog.
- Visit the Customize emblem page.
- Select the emblem you wish to export.
- Open the console (Ctrl-Shift-J).
- Enter the following code snippet to copy the raw emblem data to the clipboard:
copy('emblem.emblem.load('+JSON.stringify(emblem.emblem.data,null,2)+');');
- Paste somewhere useful, like a gist. Whatever.
- Close the console (Ctrl-Shift-J).
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
[alias] | |
graph1 = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative --color --date-order | |
graph2 = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(bold white)— %an%C(reset)%n%w(70,12,10)%C(white)%s%C(reset)%n' --abbrev-commit --color --date-order | |
graph = !"git graph1" |
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
void FilterBrush::mouseMoveEvent(QMouseEvent* event, PaintArea *ourImage) | |
{ | |
QImage* qImage = ourImage->getImage(); | |
int xCenter = event->pos().x(), yCenter = event->pos().y() , radius = 35; | |
int left = xCenter - radius; | |
int right = left + radius * 2; | |
int top = yCenter - radius; |