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
Section "Monitor" | |
Identifier "NEC" | |
Option "PreferredMode" "1280x1024_60.00" | |
EndSection | |
# the left one | |
Section "Monitor" | |
Identifier "FUS" | |
Option "PreferredMode" "1280x1024_60.00" | |
Option "LeftOf" "NEC" |
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
Option Explicit | |
#Const LateBind = True | |
Function RegExpSubstitute(ReplaceIn, _ | |
ReplaceWhat As String, ReplaceWith As String) | |
#If Not LateBind Then | |
Dim RE As RegExp | |
Set RE = New RegExp | |
#Else | |
Dim RE As Object |
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
Sub Test() | |
Const strTest As String = "qwerty123456uiops" | |
MsgBox RE6(strTest) | |
End Sub | |
Function RE6(strData As String) As String | |
Dim RE As Object, REMatches As Object | |
Set RE = CreateObject("vbscript.regexp") | |
With RE |
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
#!/usr/local/bin/bootup_ruby | |
# this is /my/daemon/file | |
require 'rubygems' | |
require 'daemons' | |
Daemons.run('main.rb') | |
#main.rb is the real script |