Skip to content

Instantly share code, notes, and snippets.

View englishextra's full-sized avatar
💜
the beat goes on

englishextra englishextra

💜
the beat goes on
View GitHub Profile
@englishextra
englishextra / loadJS.js
Last active October 1, 2016 20:00
load JS async
/*!
* 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;};
@englishextra
englishextra / englishextra-app-win32-ia32.nsi
Last active November 26, 2016 15:12
englishextra-app-win32-ia32.nsi
; 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
@englishextra
englishextra / englishextra-app-win32-x64.nsi
Last active November 26, 2016 15:10
englishextra-app-win32-x64.nsi
; gist.github.com/englishextra/dc68c3a8c1fd0a2853772006800f855b
; 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
@englishextra
englishextra / englishextra-app-win32-ia32.ispro
Created June 5, 2016 16:20
englishextra-app-win32-ia32.ispro
; InstallSimple project
[Setup]
WindowTitle=Установка
ProductName=englishextra-app
[Graphics]
SplashScreen=
SplashScreenDelay=3
Header=D:\server\sources\englishextra-app\WizModernSmallImage.bmp
@englishextra
englishextra / englishextra-app-win32-x64.ispro
Created June 5, 2016 16:19
englishextra-app-win32-x64.ispro
; InstallSimple project
[Setup]
WindowTitle=Установка
ProductName=englishextra-app
[Graphics]
SplashScreen=
SplashScreenDelay=3
Header=D:\server\sources\englishextra-app\WizModernSmallImage.bmp
@englishextra
englishextra / englishextra-app-win32-x64.aip
Last active November 26, 2016 15:14
englishextra-app-win32-x64.aip
<?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="{C3C17E54-3059-40C5-9798-42C3C4B3F0DB}">
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
<ROW Property="AI_ThemeStyle" Value="default" MultiBuildValue="DefaultBuild:classic" MsiKey="AI_ThemeStyle"/>
<ROW Property="ALLUSERS" Value="1"/>
<ROW Property="ARPCOMMENTS" Value="https://gist.github.com/englishextra/385ab4ac472f0723d827575aedac9977" ValueLocId="*"/>
<ROW Property="ARPHELPLINK" Value="https://englishextraapp.codeplex.com/documentation"/>
<ROW Property="ARPPRODUCTICON" Value="englishextraapp.exe" Type="8"/>
<ROW Property="ARPURLINFOABOUT" Value="https://englishextraapp.codeplex.com/"/>
@englishextra
englishextra / englishextra-app-win32-ia32.aip
Last active November 26, 2016 15:13
englishextra-app-win32-ia32.aip
<?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="{C3C17E54-3059-40C5-9798-42C3C4B3F0DB}">
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
<ROW Property="AI_BITMAP_DISPLAY_MODE" Value="0"/>
<ROW Property="AI_ThemeStyle" Value="default" MultiBuildValue="DefaultBuild:classic" MsiKey="AI_ThemeStyle"/>
<ROW Property="ALLUSERS" Value="1"/>
<ROW Property="ARPCOMMENTS" Value="https://gist.github.com/englishextra/bc4a46976d59162eaabc602ea68d38a6" ValueLocId="*"/>
<ROW Property="ARPHELPLINK" Value="https://englishextraapp.codeplex.com/documentation"/>
<ROW Property="ARPPRODUCTICON" Value="englishextraapp.exe" Type="8"/>
<ROW Property="ARPURLINFOABOUT" Value="https://englishextraapp.codeplex.com/"/>
@englishextra
englishextra / irrverbsscr-win32-ia32.iss
Last active June 17, 2016 11:36
Irregular Verbs.iss
;https://gist.github.com/englishextra/b70fd64ec0d2db49ca78d2621e2256b7
; -- Components.iss --
; Demonstrates a components-based installation.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
;http://www.jrsoftware.org/ispphelp/index.php?topic=define
#define APPID "{{21838ED2-0C77-455F-8779-D391270D14E8}"
#define APPNAME "Irregular Verbs Screensaver"
#define VERSION "0.1.1"
@englishextra
englishextra / englishextra-app-win32-ia32.iss
Last active November 26, 2016 22:16
englishextra-app-win32-ia32.iss
; gist.github.com/englishextra/3be1faaa2ae4f9db3a2b2658086384e1
; -- Components.iss --
; Demonstrates a components-based installation.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
; remember to add win-uninstall.ico in root
; .nsi wont need this icon: it provides one
; www.jrsoftware.org/ispphelp/index.php?topic=define
#define APPID "{{40D6CEE7-B506-481B-86FD-3307BEEE61F5}"
@englishextra
englishextra / englishextra-app-win32-x64.iss
Last active November 26, 2016 22:16
englishextra-app-win32-x64.iss
; gist.github.com/englishextra/e014c67a8dff224498bd51a88503afdb
; -- Components.iss --
; Demonstrates a components-based installation.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
; remember to add win-uninstall.ico in root
; .nsi wont need this icon: it provides one
; www.jrsoftware.org/ispphelp/index.php?topic=define
#define APPID "{{9C26620E-3CA9-4130-9370-4A7A10155F98}"