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
Nice it works | |
Second 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
class HelloWorld | |
def initialize(name) | |
@name = name.capitalize | |
end | |
def sayHi | |
puts "Hello !" | |
end | |
end | |
hello = HelloWorld.new("World") |
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
#SingleInstance,Force | |
Version:="0.000.01" | |
Branch:="master" | |
x:=Studio(1) | |
NewWin:=new GuiKeep("MyWindow1") | |
global SmallSettings | |
NewWin.Add("ListView,w200 h200 NoSortHdr,Numbers|Words,wh","Edit,x+M w200 h200 vHello,,xh" | |
,"Button,xm gAdd,&Add,y" | |
,"Button,xm gTesting,Click Me,y" | |
,"Button,gDelete,D&elete,y" |
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
#SingleInstance,Off | |
#MaxHotkeysPerInterval,2000 | |
#NoEnv | |
SetBatchLines,-1 | |
Tick:=A_TickCount | |
SetWorkingDir,%A_ScriptDir% | |
SetControlDelay,-1 | |
SetWinDelay,-1 | |
DetectHiddenWindows,On | |
CoordMode,ToolTip,Screen |
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
#SingleInstance,Force | |
global settings:=new xml("settings") | |
if(FileExist("workspaces.ico")) | |
Menu,Tray,Icon,Workspaces.ico | |
Gui() | |
return | |
show: | |
WinShow,% hwnd([1]) | |
return | |
capture(){ |
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
@-moz-document domain("youtube.com") { | |
@namespace html url(http://www.w3.org/1999/xhtml); | |
@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
body { | |
background: none #222222 !important; | |
color: #aaaaaa !important; | |
} | |
a:href, a:hover { | |
background-color: #222222; | |
} |
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
html:=ComObjCreate("htmlfile") | |
code= | |
( | |
<a href="PageResolver.jsp?pageResolverType=FolderDocumentPageResolver&folderId=22404433062&docType=PackingPlanManifest">22404433062</a> | |
<a href="PageResolver.jsp?pageResolverType=FolderDocumentPageResolver&folderId=22404433062&docType=PackingPlanManifest">22404433061</a> | |
<a href="PageResolver.jsp?pageResolverType=FolderDocumentPageResolver&folderId=22404433062&docType=PackingPlanManifest">22404433063</a> | |
<a href="PageResolver.jsp?pageResolverType=FolderDocumentPageResolver&folderId=22404433062&docType=PackingPlanManifest">22404433065</a> | |
) | |
html.write(code) | |
tags:=html.getelementsbytagname("a") |
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
#SingleInstance,Force | |
changemixer("user.config","setting","name","COMPort_Audio","COM7") | |
updateatt("ipinfo.config","flan/server","host","192.168.1.60") | |
return | |
updateatt(file,node,attribute,newval){ | |
myxml:=new xml("root",file) | |
node:=myxml.ssn("//" node "/@" attribute) | |
node.text:=newval |
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
#SingleInstance,Force | |
if !FileExist("scilexer.dll") | |
URLDownloadToFile,http://files.maestrith.com/AHK-Studio/SciLexer.dll,SciLexer.dll | |
Version=0.001.0 | |
sc:=new s(1,{pos:"w200 h200"}) | |
Gui,+hwndhwnd | |
Gui,Add,Text,x+5 w200 h200 hwndtext,Type things in the left box | |
Gui,Show,,Scintilla Testing | |
return | |
GuiEscape: |
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
#SingleInstance,Force | |
tv:=new xml("tv","tv.xml"),info:=tv.ssn("//Series"),id:=tv.ssn("//Series/id").text,series:=[],obj:=series["s" id]:=[] | |
for a,b in StrSplit("id,SeriesName,Overview,Airs_Time,Network,Status",",") | |
obj[b]:=ssn(info,b).text | |
epstuff:=tv.sn("//Episode"),episodes:=[] | |
while,ee:=epstuff.item[A_Index-1]{ | |
id:=ssn(ee,"id").text | |
ep:=episodes["e" id]:=[] | |
for a,b in StrSplit("id,seasonid,SeasonNumber,EpisodeNumber,FirstAired,EpisodeName,Overview",",") | |
ep[b]:=ssn(ee,b).text |
NewerOlder