<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    隨筆 - 12  文章 - 0  trackbacks - 0
    <2025年7月>
    293012345
    6789101112
    13141516171819
    20212223242526
    272829303112
    3456789

    常用鏈接

    留言簿(103)

    隨筆檔案

    文章檔案

    jQuery

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    Public Sub ValSprr() If testing Then Exit Sub Dim currentRow As Integer currentRow = ActiveCell.row Dim chkResult As Boolean chkResult = True Dim xUrl As String xUrl = Cells(currentRow, 13) Dim sprrTxt As String sprrTxt = RemoveBlankLine(HtmlToText(GetHtmlByIe(xUrl))) & Chr(10) PrintLog sprrTxt Dim sprrCmd As String 'sprrCmd = CutStrByStartEnd(sprrTxt, "pls run ", ".") sprrCmd = SearchRegxKwInStr(sprrTxt, "(/hpen/omniprod/SPRR/.*/PT_SPRR[0-9]{5})", False, False) 'MsgBox sprrCmd Dim sprrStatus As String 'sprrCmd = CutStrByStartEnd(sprrTxt, "pls run ", ".") sprrStatus = SearchRegxKwInStr(sprrTxt, "Status: (.*) \(View Workflow\)", False, False) 'Dim runAnyTime As String 'runAnyTime = SearchRegxKwInStr(sprrTxt, "Start Run Any Time: \r\n(.*) \r\n", True, False) Dim i As Integer Dim sprrSurvey As String sprrSurvey = CutStrByStartEnd(sprrTxt, Chr(13) & Chr(10) & "None Labels " & Chr(13) & Chr(10), Chr(13) & Chr(10) & "AIAPT Application: ", False, False) Dim sprrSurveys As Variant sprrSurveys = Split(sprrSurvey, Chr(13) & Chr(10)) Dim sprrSurveyStr As String For i = 0 To UBound(sprrSurveys) If i Mod 2 = 1 Then sprrSurveyStr = sprrSurveyStr & sprrSurveys(i) & Chr(13) & Chr(10) End If Next Cells(currentRow, 21) = sprrSurveyStr Dim details As String details = CutStrByStartEnd(sprrTxt, "Special Run Details: " & Chr(13) & Chr(10) & "Hide " & Chr(13) & Chr(10), "Show", False, False) Dim justification As String justification = CutStrByStartEnd(sprrTxt, "Justification with IT Head's approval and attach assessment approved by data owner: " & Chr(13) & Chr(10) & "Hide " & Chr(13) & Chr(10), "Show", False, False) Dim assignee As String assignee = SearchRegxKwInStr(sprrTxt, " (.*) Assign to me", False, False) Dim reporter As String reporter = SearchRegxKwInStr(sprrTxt, "Reporter:\r\n (.*) \r\n", True, False) Cells(currentRow, 5) = details Cells(currentRow, 6) = justification Cells(currentRow, 17) = sprrStatus Cells(currentRow, 20) = assignee Cells(currentRow, 22) = reporter Dim attachment As String attachment = CutStrByStartEnd(sprrTxt, Chr(13) & Chr(10) & "Attachments" & Chr(13) & Chr(10), Chr(13) & Chr(10) & "Activity", False, False) Dim attachments As Variant attachments = Split(attachment, Chr(13) & Chr(10)) Dim attachmentStr As String For i = 0 To UBound(attachments) If i Mod 4 = 0 Then attachmentStr = attachmentStr & attachments(i) & Chr(13) & Chr(10) End If Next Cells(currentRow, 23) = attachmentStr Dim mailTitle As String mailTitle = Cells(currentRow, 8) Dim strRegx As String strRegx = "(PT_SPRR[0-9]{5})" Dim str1 As String str1 = SearchRegxKwInStr(mailTitle, strRegx, False, False) Dim str2 As String str2 = SearchRegxKwInStr(sprrCmd, strRegx, False, False) Dim cmdDateStr As String Dim cmdDate As Date Dim mailDate As Date cmdDateStr = CutStrByStartEnd(sprrCmd, "/hpen/omniprod/SPRR/", "/") cmdDateStr = Left(cmdDateStr, 4) & "-" & Right(Left(cmdDateStr, 6), 2) & "-" & Right(cmdDateStr, 2) cmdDate = CDate(cmdDateStr) mailDate = Cells(currentRow, 12) If str1 <> str2 Then chkResult = chkResult And False 'MsgBox str1 'MsgBox str2 End If If Abs(mailDate - cmdDate) > 2 Then 'MsgBox "fail2" chkResult = chkResult And False End If 'Cells(currentRow, 21) = runAnyTime If chkResult Then MyMsgBox "Jira checking completed with positive result.", 3 Else MyMsgBox "Failed to Jira validation.", 3 End If End Sub
    posted @ 2018-12-27 10:24 萍水相逢 閱讀(189) | 評論 (0)編輯 收藏
    Public Sub Rdoc() If testing Then Exit Sub On Error GoTo ErrorHandler Dim currentRow As Integer currentRow = ActiveCell.row Dim dateStr As String dateStr = format(Date, "yyyyMMdd") Dim localPath As String localPath = Cells(currentRow, 9) Dim filePath As String Dim wa As Variant Dim wd As Word.document If InStr(Cells(currentRow, 11), ".doc") > 0 Then filePath = Cells(currentRow, 9) & Cells(currentRow, 11) Set wa = CreateObject("Word.Application") wa.Visible = False Set wd = wa.Documents.Open(filePath) Cells(currentRow, 10) = wd.Content.text wd.Close savechanges:=False wa.Quit Set wa = Nothing Else Dim wildcard As String wildcard = "*.doc*" Dim fileText As String Dim fso As Object Dim objFolder As Object Dim myFolder As Object Dim myFile As Object Set fso = CreateObject("Scripting.FileSystemObject") If fso.FolderExists(localPath) Then Set objFolder = fso.getfolder(localPath) For Each myFolder In objFolder.SubFolders For Each myFile In myFolder.files If myFile.Name Like wildcard Or myFile.Name = wildcard Then 'MsgBox myFile.path Set wa = CreateObject("Word.Application") wa.Visible = False Set wd = wa.Documents.Open(myFile.path) fileText = fileText & wd.Content.text wd.Close savechanges:=False wa.Quit Set wa = Nothing End If Next Next Set objFolder = Nothing End If Set fso = Nothing Cells(currentRow, 10) = Cells(currentRow, 10) & fileText End If ErrorHandler: If Err.Number <> 0 Then MyMsgBox Err.Number & " " & Err.Description, 10 End If End Sub
    posted @ 2018-12-27 10:21 萍水相逢 閱讀(136) | 評論 (0)編輯 收藏

    Here's a "cheat" for the comma that you want:

     

    When you hard code the data validation list, instead of a comma in your entry (Boston, MA) , use this key combination: Alt+0130

     

    It will display a comma in the data validation list, as you requested, BUT, it isn't a "real" comma, so it will be ignored if you search for the string - Boston, MA - in the other parts of the spreadsheet...Or if you try to use the ouput of the data validation selection to lookup matching values elsewhere in your workbook...

     

    But if you are hard-coding your data validation list, I assume that you aren't planning to use it to reference other places in the workbook, right?

    posted @ 2018-11-27 14:16 萍水相逢 閱讀(172) | 評論 (0)編輯 收藏
    HN FQ UN PS RE BODY1 REGX TIT LF BODY2 SF LUD WD CO SEQ ATN STS REGX1 REGX2 CATA ENDR REV1 REV2

    Xx Xy EmXtctReq EmXtctReqNs ChkSent ChkFrom ChkPriority ChkFeq ChkSupport SybInsTkt
    Xx Uz InsFlow
    Xx Uz EmXtctAppr ChkSent ChkFrom InsFlow
    Uz #iSprr InsAttribute EmMt



    Xtct Xx EmXtctReq EmXtctReqNs #EmXtctScrpNs
    Xtct Xx EmXtctReq EmXtctReqNs #EmXtctScrpNsCsp


    #Dbo LstFilO Xj Xx Rd2Cmd SqlXtctIns RplFil #iCp

    RfshTsk PttyRun
    Um RfshTsk PttyLSLATEST Xm RfshTsk RfshTsk #PttyRegx
    #PttyMv Um RfshTsk PttyLSFIRST
    posted @ 2018-09-20 09:49 萍水相逢 閱讀(126) | 評論 (0)編輯 收藏
    https://cn.vuejs.org/v2/guide/comparison.html
    posted @ 2018-03-18 18:27 萍水相逢 閱讀(145) | 評論 (0)編輯 收藏
    Checking JDK path and version
    which java (linux)
    for
    %i in (java.exe) do @echo. %~$PATH:i (windows)
    java -version
    echo %JAVA_HOME%

    Checking python version
    python -V
    posted @ 2018-02-02 10:32 萍水相逢 閱讀(581) | 評論 (0)編輯 收藏

    jdk 8u131
    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
    posted @ 2017-04-20 18:25 萍水相逢 閱讀(207) | 評論 (0)編輯 收藏
    SVN service 有兩種模式 Daemon 和 Windows Service。
    在沒有admin right的情況下只能用前者。
    本章描述的是第二種
    1. 下載安裝文件
    https://sourceforge.net/projects/win32svn/
    安裝目錄:C:\Services\Subversion
    手動創(chuàng)建目錄:C:\Data\svnserve

    2. cmd run
    C:\Services\Subversion\bin\svnadmin.exe create C:\Data\svnserve

    3. cmd run by administrator
    sc create svnserve binpath= "C:\Services\Subversion\bin\svnserve.exe --service -r C:\Data\svnserve" displayname= "Subversion Server" depend=Tcpip start=auto

    4. config 3 files as below
        1) C:\Data\svnserve\conf\authz
        2) C:\Data\svnserve\conf\passwd
        3) C:\Data\svnserve\conf\svnserve.conf

    5. run services.msc to startup the service manually at the first time. (搞定)

    6. go to eclipse to install subcplise plug-ins to test the installation.

    一直以來都是用這個package,從1.6 用到 1.8。如果有更好的方案歡迎指點。
    posted @ 2017-04-16 09:47 萍水相逢 閱讀(254) | 評論 (0)編輯 收藏
    最近淘了幾塊SSD,不同牌子,容量也不同,購買的時間先后也不太一樣,蛋素,本人感覺好長一段時間SSD的價格都徘徊在一個高位上。64G那塊還是二手的。當然測試環(huán)境不大相同。主要也是為了讀者了解一下情況。所以附上購買的價格給看官參考之。
    219 RMB 90G(Score: 1268)



    180 RMB 64G (Score: 300) 還是二手,但是用戶體驗好像還可以。



    290 RMB 128G (Score: 783)



    posted @ 2017-04-08 15:53 萍水相逢 閱讀(163) | 評論 (0)編輯 收藏
    僅列出標題  下一頁
    主站蜘蛛池模板: 中文成人久久久久影院免费观看| 免费看一级高潮毛片| 免费国产黄网站在线观看视频 | 国产成人午夜精品免费视频| 久久亚洲精品成人av无码网站| 国产精品视频白浆免费视频| 国产AV无码专区亚洲精品| 99久久精品毛片免费播放| 国产亚洲综合成人91精品| a级毛片毛片免费观看永久| 亚洲国产精品成人精品无码区在线 | 91在线视频免费播放| 亚洲国产午夜电影在线入口| 8x8x华人永久免费视频| 亚洲欧洲日产国码二区首页| 国产乱子精品免费视观看片| 久久精品亚洲AV久久久无码| 久久久www成人免费毛片| 亚洲精品永久在线观看| 久久伊人久久亚洲综合| 无码国产精品一区二区免费vr| 亚洲av日韩av高潮潮喷无码| 99精品免费观看| 亚洲午夜精品一区二区公牛电影院| 成人福利免费视频| 亚洲人成网站18禁止| 亚洲AⅤ无码一区二区三区在线 | 亚洲欧美日韩综合俺去了| 国产高清免费在线| 黄人成a动漫片免费网站| 亚洲精品狼友在线播放| 18禁免费无码无遮挡不卡网站| 国产精品亚洲一区二区麻豆| 国产成人精品高清免费| 91精品全国免费观看青青| 亚洲精品在线免费看| 国产无遮挡裸体免费视频| 最新国产乱人伦偷精品免费网站| 亚洲一级片在线观看| 亚洲国产电影av在线网址| 99re免费在线视频|