Skip to content

Instantly share code, notes, and snippets.

@emusan
emusan / xilinx example makefile
Created May 15, 2014 22:23
just a quick example makefile
PROJECT_NAME = graph_radius
PART = xc3s250e-cp132-5
# Set the amount of output that will be displayed (xflow or silent generally)
INTSTYLE = xflow
BUILD_DIR = build
all: syn tran map par trce bit
@cowboy
cowboy / #bf4-emblem-import-export.md
Last active December 3, 2023 17:43
JavaScript: BF4 Battlelog Emblem Import / Export

Exporting an emblem

  1. Log into BF4 Battlelog.
  2. Visit the Customize emblem page.
  3. Select the emblem you wish to export.
  4. Open the console (Ctrl-Shift-J).
  5. 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)+');');
  6. Paste somewhere useful, like a gist. Whatever.
  7. Close the console (Ctrl-Shift-J).