This file contains hidden or 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
; gist.github.com/englishextra/1a24ecf97591e06442f49b754e30eee9 | |
; Script generated by the ISS2NSI program. | |
; Generated from: D:\server\sources\englishextra-app\englishextra-app-win32-ia32.iss | |
; before converting from .iss to nsi with HM NIS Edit | |
; temporary remove lines strating with #define | |
; change INNO's {pf32} to NSIS's $PROGRAMFILES32 | |
; change INNO's {pf64} to NSIS's $PROGRAMFILES64 | |
; fix englishextra-app\./.dist\ to englishextra-app\.dist\ | |
; change Unins000.exe to uninstall.exe |
This file contains hidden or 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
/*! | |
* load JS async | |
* modified order of arguments, removed CommonJS stuff | |
* github.com/filamentgroup/loadJS | |
* gist.github.com/englishextra/397e62184fde65d7755744fdb7a01829 | |
* @param {String} _src path string | |
* @param {Object} callback callback function | |
* loadJS(_src,callback) | |
*/ | |
var loadJS=function(_src,callback){"use strict";var ref=document.getElementsByTagName("script")[0];var script=document.createElement("script");script.src=_src;script.async=true;ref.parentNode.insertBefore(script,ref);if(callback&&"function"===typeof callback){script.onload=callback;}return script;}; |
This file contains hidden or 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
/*! | |
* load CSS async | |
* modified order of arguments, added callback option, removed CommonJS stuff | |
* github.com/filamentgroup/loadCSS | |
* gist.github.com/englishextra/50592e9944bd2edc46fe5a82adec3396 | |
* @param {String} _href path string | |
* @param {Object} callback callback function | |
* @param {String} media media attribute string value | |
* @param {Object} [before] target HTML element | |
* loadCSS(_href,callback,media,before) |
This file contains hidden or 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
;https://gist.github.com/englishextra/70e4b8e70ae971a0af3ba92c1dddc611 | |
; Script generated by the ISS2NSI program. | |
; Generated from: D:\server\sources\englishextra-app\englishextra-app-win32-ia32.iss | |
;change INNO's {pf32} to NSIS's $PROGRAMFILES32 | |
;change INNO's {pf64} to NSIS's $PROGRAMFILES64 | |
; fix englishextra-app\./.dist\ to englishextra-app\.dist\ | |
; change Unins000.exe to uninstall.exe | |
;1 warning: | |
;!warning: MUI_LANGUAGE should be inserted after the MUI_[UN]PAGE_* macros (macro:MUI_LANGUAGE:8) |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<DOCUMENT Type="Advanced Installer" CreateVersion="12.8" version="12.8" Modules="enterprise" RootPath="." Language="en" Id="{70C9B116-2517-4F28-AAC7-87C552879636}"> | |
<COMPONENT cid="caphyon.advinst.msicomp.ProjectOptionsComponent"> | |
<ROW Name="HiddenItems" Value="SccmComponent;ActSyncAppComponent"/> | |
</COMPONENT> | |
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent"> | |
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/> | |
<ROW Property="ALLUSERS" Value="1"/> | |
<ROW Property="ARPCOMMENTS" Value="https://gist.github.com/englishextra/64c6c44acc73b64ba5a276bead011c18" ValueLocId="*"/> | |
<ROW Property="ARPHELPLINK" Value="https://irrverbsscr.codeplex.com/documentation"/> |
This file contains hidden or 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
/*! | |
* Adds Element as fragment BEFORE NeighborElement | |
* gist.github.com/englishextra/fa19e39ce84982b17fc76485db9d1bea | |
* @param {String|object} e HTML Element to prepend before before | |
* @param {Object} a target HTML Element | |
* prependFragmentBefore(e,a) | |
*/ | |
var prependFragmentBefore=function(e,a){"string"===typeof e&&(e=document.createTextNode(e));var p=a.parentNode||"",df=document.createDocumentFragment();p&&df.appendChild(e)&&p.insertBefore(df,a);return!1;}; |
This file contains hidden or 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
/*! | |
* Temporal hiding of module | |
* github.com/electron/electron/pull/3497 | |
* gist.github.com/englishextra/1bf72395f77c8cf25ddd900aa69a0d68 | |
*/ | |
var hideWindowModule=function(){"object"===typeof module&&(window.module=module,module=void 0);}; |
This file contains hidden or 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
/*! | |
* Temporal reveal of module | |
* github.com/electron/electron/pull/3497 | |
* gist.github.com/englishextra/1bf72395f77c8cf25ddd900aa69a0d68 | |
*/ | |
var revealWindowModule=function(){window.module&&(module=window.module);}; |
This file contains hidden or 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
/*! | |
* Open external links in default browser out of Electron / nwjs | |
* gist.github.com/englishextra/b9a8140e1c1b8aa01772375aeacbf49b | |
* stackoverflow.com/questions/32402327/how-can-i-force-external-links-from-browser-window-to-open-in-a-default-browser | |
* github.com/nwjs/nw.js/wiki/shell | |
* electron - file: | nwjs - chrome-extension: | http: Intel XDK | |
* wont do in electron and nw, | |
* so manageExternalLinks will set target blank to links | |
* var win = w.open(url, "_blank"); | |
* win.focus(); |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!-- https://gist.github.com/englishextra/dc6763ed8322a90ce19b4aa775d819f9 --> | |
<gdipp> | |
<version>0.9.1</version> | |
<gdimm> | |
<process> | |
<freetype> | |
<cache_max_faces>8</cache_max_faces> | |
<cache_max_sizes>16</cache_max_sizes> |