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
; INSTRUCTIONS ########################################## | |
;Sublime-Text Autocomplete Adder | |
;By Avi Aryan | |
; | |
;Tested with Sublime-Text 2 | |
;Absolutely No guaranty | |
;Make sure to create a backup before going | |
;Don't worry about Duplicates, they will not be added again. | |
;######################################################## | |
;Write your completes in listed form, one auto-complete in a line. |
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
;The Speeling Errors are done intentionally to show how HParse() manages them. | |
msgbox % Hparse("Cntrol + ass + S", false) ;returns {blank} As 'ass' is out of scope and RemoveInvaild := false | |
msgbox % Hparse("Contrl + At + S") ;returns ^!s | |
msgbox % Hparse("^!s") ;returns ^!s as the function-feed is already in Autohotkey format. | |
msgbox % Hparse("LeftContrl + X") ;returns Lcontrol & X | |
msgbox % Hparse("Contrl + Pageup + S") ;returns {blank} As the hotkey is invalid | |
msgbox % HParse("PagUp + Ctrl", true) ;returns ^PgUp as ManageOrder is true (by default) | |
msgbox % HParse("PagUp + Ctrl", true, false) ;returns {blank} as ManageOrder is false and hotkey is invalid | |
msgbox % Hparse("Ctrl + Alt + Ctrl + K") ;returns {blank} as two Ctrls are wrong |
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
11/05/13 | |
Third Revision | |
•Improved [Autohotkey] Modifiers handling | |
Will accept keys of the form [PageUp & PageDown] and [^!x] | |
•Fixed problems with certain keys | |
===================================================== | |
1/05/13 | |
Second Revision |
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
;NakariaSan's Google Search Script | |
;Modified by Avi for use with Clipjump | |
;Have questions, please contact | |
;Updated on 24/08/13 | |
;Use Ctrl+G to do Google Search | |
Hotkey,^g,Google,On | |
return | |
BrowserPath(){ |
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
;Parses list items a/c starting alphabets | |
;Modify it to achieve desired results | |
MsgBox,% Categorize("L2332,j23923,j9239,l23020,p2392,p239,q912,z9323,c92932,b239239,n23923,z23929,b23823 ") | |
Categorize(var){ | |
loop, parse, var, `,, %A_Space% | |
{ | |
first := SubStr(A_LoopField, 1, 1) | |
if first is alpha |
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
SetWorkingDir %A_ScriptDir% | |
var = sqrt(4) - [892839.2382389 - 89238239.923] | |
msgbox,% SM_Solve(var) | |
msgbox,% SM_Solve("log(2) + log(3) + log(4) - 23898238239.32 * 3282398239238.92382 / 892382938239.8923") | |
msgbox,% SM_Solve("Sqrt(4) * 2 * log(100) / 32") | |
msgbox,% SM_UniquePmt("avi,annat,koiaur,aurkoi") ;no of permutation = 24 | |
msgbox,% SM_UniquePmt("abd", 3) ;no of permutation = 6 | |
msgbox,% SM_UniquePmt("abcdefghijklmnop",2) |
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
Maths() CHANGELOG*********************************************************** | |
Avi Aryan * | |
**************************************************************************** | |
23 / 07 / 13 | |
v2.7 | |
* Performance Improvements - SM_ Pow() , fact() and e() functions are now much faster | |
* SM_e(N, auto=true) now has an auto param. Use it as true for better speed. | |
29 / 06 / 13 |
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
Concatenate(string, ntimes){ | |
return, (ntimes<2) ? string : string . Concatenate(string , ntimes-1) | |
} |
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
[Section1] | |
; Comment for Section1 | |
key1 = value1 | |
; Comment for key1 | |
key2 = value2 | |
; Comment for key2 |
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
[section1] | |
;Section 1 comment | |
exepathname=kath | |
;kath | |
exe2=belkath | |
;exe2 cmnt | |
exe3=belkath | |
;exe3 cmnt | |
[sec2] | |
;sec2 comment |