Skip to content

Instantly share code, notes, and snippets.

View JonnieDoe's full-sized avatar
🏠
Working from home

DC ground JonnieDoe

🏠
Working from home
View GitHub Profile
@ThomasR
ThomasR / PowerShell.xml
Created March 21, 2016 20:23
Syntax Highlighting for PowerShell scripts in IntelliJ IDEA
<filetype binary="false" description="PowerShell" name="PowerShell">
<highlighting>
<options>
<option name="LINE_COMMENT" value="#" />
<option name="COMMENT_START" value="&lt;#" />
<option name="COMMENT_END" value="#&gt;" />
<option name="HEX_PREFIX" value="" />
<option name="NUM_POSTFIXES" value="" />
<option name="HAS_BRACES" value="true" />
<option name="HAS_BRACKETS" value="true" />
var newPlace = document.querySelector(".p6n-product-logo");
newPlace.innerHTML="";
var interval = setInterval(function(){
//we have setInterval here because they are lazy loading the pins
var pins=document.querySelectorAll("pan-console-nav-section-item.p6n-console-nav-pin-container");
if (pins.length > 0) {
clearInterval(interval);
} else {
return;
}