- 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
#Reference: http://michaellwest.blogspot.com/2013/03/add-font-to-powershell-console.html | |
#Reference: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q247815 This explains why we name it 000 | |
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Get the properties of TTF | |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' -Name 000 -Value 'Source Code Pro' #Set it to SCP | |
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont' #Check to see if we properly set it so that SCP is an option |
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
<?php | |
/* | |
Plugin Name: bbPress - Custom Remove 'Protected:' and 'Private:' title prefixes | |
Plugin URI: https://gist.github.com/ntwb/8662354 | |
Description: bbPress - Custom Remove 'Protected:' and 'Private:' title prefixes | |
Version: 0.1 | |
Author: Stephen Edgar - Netweb | |
Author URI: http://netweb.com.au | |
*/ |
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
<div id="transcript"> </div> | |
<br> | |
<div id="instructions"> </div> | |
<div id="controls"> | |
<button id="start_button">Click to Start</button> | |
</div> | |
<style> |
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
<?php | |
//Self Explanatory \ | |
$postchars = http_build_query(array( | |
'redirect' => '', | |
'email' => '[email protected]', | |
'password' => 'wdfaqwgaf', | |
'submit' => 'Log+in' | |
), '', '&'); |
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 Add-Path() { | |
[Cmdletbinding()] | |
param([parameter(Mandatory=$True,ValueFromPipeline=$True,Position=0)][String[]]$AddedFolder) | |
# Get the current search path from the environment keys in the registry. | |
$OldPath=(Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment' -Name PATH).Path | |
# See if a new folder has been supplied. | |
if (!$AddedFolder) { | |
Return 'No Folder Supplied. $ENV:PATH Unchanged' | |
} | |
# See if the new folder exists on the file system. |
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
// | |
// Example showing how to use TFS with grunt. | |
// Plays well with grunt-contrib-compass and other tasks that spawn processes. | |
// This example only shows tf checkout, but you could reuse this pattern to add more tf commands. | |
// | |
// Gist by https://github.com/localnerve, http://www.localnerve.com | |
// | |
var path = require("path"); | |
module.exports = function(grunt) { |
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
<?php | |
/** | |
* @file | |
* Default theme implementation to display the basic html structure of a single | |
* Drupal page. | |
* | |
* Variables: | |
* - $css: An array of CSS files for the current page. | |
* - $language: (object) The language the site is being displayed in. |
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
#Based on <http://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542> | |
function Test-RebootRequired | |
{ | |
$result = @{ | |
CBSRebootPending =$false | |
WindowsUpdateRebootRequired = $false | |
FileRenamePending = $false | |
SCCMRebootPending = $false | |
} |