考え方としてはテーブルのデーターを集計対象の取得で取得し、このテーブルを1とする。 テーブル1のデーターを引当金と対応するサブ明細でグループ化し、グループ化したテーブルを2とする。 そのうえでテーブル1の金額に-1をかけ、Table.TransformRowsで取得したテーブル2をTable.InsertRowsで挿入しているだけである。 なお、金額を-1しているのは元データーの明細が収入の時だけ金額が-1になっているのをプラスにしたいからである。
This file contains hidden or 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
| //ForEachLinesの内容ははLineToIndex.csを参照すること | |
| IList<LineToIndexTableData> CreateLineList(long index, long length,bool setdirtyflag = false, int lineLimitLength = -1) | |
| { | |
| const int CoreNum = 4; | |
| const long thresholdParallelCreateList = CoreNum + 1; | |
| //const long thresholdParallelCreateList = 1024 * 1024; | |
| //const long thresholdParallelCreateList = int.MaxValue - 1; | |
| if (length < thresholdParallelCreateList) | |
| { |
This file contains hidden or 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
| const links = document.querySelectorAll('#contents-in table tr').forEach((tr)=>{ | |
| let datas = tr.querySelectorAll('td p'); | |
| if(datas.length == 0) | |
| return; | |
| let address = datas[2].textContent; | |
| let as = tr.querySelectorAll('td p a'); | |
| let a = as[0]; | |
| let url = a.getAttribute('href'); | |
| let text = a.textContent.trim(); | |
| str = new URL(url).searchParams.get("ll").split(","); |
This file contains hidden or 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
| $inputFile = $Args[0] | |
| $outputFile = $Args[1] | |
| $jsonContent = Get-Content -Raw $inputFile | ConvertFrom-Json | |
| Write-Output '<?xml version="1.0" encoding="UTF-8"?>' | Out-File -Encoding utf8NoBOM -FilePath $outputFile | |
| Write-Output '<kml xmlns="http://earth.google.com/kml/2.0">' | Out-File -Append -Encoding utf8NoBOM -FilePath $outputFile | |
| Write-Output '<Folder>' | Out-File -Append -Encoding utf8NoBOM -FilePath $outputFile | |
| foreach($item in $jsonContent) | |
| { | |
| Write-Output "<Placemark>" | Out-File -Append -Encoding utf8NoBOM -FilePath $outputFile |
This file contains hidden or 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
| [void][Reflection.Assembly]::LoadFile("C:\edgedriver_win32\Selenium.WebDriver.4.0.0-alpha05\lib\net47\WebDriver.dll") #DLL読み込み | |
| $msedge = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" #Edge本体のパス | |
| $msedgedriverDir = "C:\edgedriver_win32" #Edge Driverがあるフォルダのパス | |
| $msedgedriverExe = "msedgedriver.exe" #Edge Driver名 | |
| $edgeOptions = New-Object OpenQA.Selenium.Edge.EdgeOptions | |
| $edgeOptions.UseChromium = $true | |
| $edgeOptions.BinaryLocation = $msedge | |
| $service = [OpenQA.Selenium.Edge.EdgeDriverService]::CreateChromiumService($msedgedriverDir, $msedgedriverExe) | |
| $service.EnableVerboseLogging = $false |
This file contains hidden or 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
| getElementsByXPath = function(expression, parentElement) { | |
| var r = [] | |
| var x = document.evaluate(expression, parentElement || document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null) | |
| for (var i = 0, l = x.snapshotLength; i < l; i++) { | |
| r.push(x.snapshotItem(i)) | |
| } | |
| return r | |
| } | |
| //ここにユーザーネームを追加する |
This file contains hidden or 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
| ##flow | |
| 1.get crystal.construct oblisk to front line | |
| 2.next few minutes,battle enemy,go to other crystal | |
| 3.in some cases, summon warth or knight etc. construct obelisk | |
| please see "how to construct obelisk" or "battle enemy" | |
| please left crystal to a friend.because enemy left three crystal when you is die. | |
| ##how to construct obelisk | |
| construct oblisk to front line. | |
| ###how to draw front line |
This file contains hidden or 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
| var FezWarData = (function(){ | |
| function FezWarData(){ | |
| } | |
| FezWarData.prototype.result = ""; | |
| FezWarData.prototype.fetchRecords = function(record_list_url){ | |
| console.log(record_list_url); | |
| var d = new $.Deferred(); |