added description to all projekt
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
"PowerShell(\\(Get-Content public\\\\app.js -Raw\\) -replace 'const rootPaths = \\\\\\(\\\\\\) =>', 'const rowRootPaths = \\(\\) =>' -replace 'have: rootPaths\\\\\\(\\\\\\)', 'have: rowRootPaths\\(\\)' | Set-Content public\\\\app.js -Encoding utf8 -NoNewline; Select-String -Path public\\\\app.js -Pattern 'rootPaths\\\\\\(\\\\\\)|rowRootPaths' | ForEach-Object { \"$\\($_.LineNumber\\): $\\($_.Line.Trim\\(\\)\\)\" }; node --check public/app.js; if \\($?\\) { 'OK' })",
|
||||
"PowerShell($b = [IO.File]::ReadAllBytes\\(\"$PWD\\\\public\\\\app.js\"\\); if \\($b[0] -eq 0xEF -and $b[1] -eq 0xBB\\) { [IO.File]::WriteAllBytes\\(\"$PWD\\\\public\\\\app.js\", $b[3..\\($b.Length-1\\)]\\); 'BOM removed' } else { 'no BOM' }; node --check public/app.js; if \\($?\\) { 'OK' })",
|
||||
"PowerShell($f = \"$PWD\\\\public\\\\app.js\"; $txt = [IO.File]::ReadAllText\\($f, [Text.UTF8Encoding]::new\\($false\\)\\); $orig = [Text.Encoding]::GetEncoding\\(1252\\).GetBytes\\($txt\\); $fixed = [Text.UTF8Encoding]::new\\($false, $true\\).GetString\\($orig\\); [IO.File]::WriteAllText\\($f, $fixed, [Text.UTF8Encoding]::new\\($false\\)\\); \"mojibake left: \" + \\([regex]::Matches\\($fixed, 'Ã|Â'\\).Count\\); \"umlauts: \" + \\([regex]::Matches\\($fixed, '[äöüÄÖÜß–…→]'\\).Count\\); node --check public/app.js; if \\($?\\) { 'OK' })",
|
||||
"PowerShell($c = Get-NetTCPConnection -LocalPort 4848 -State Listen -ErrorAction SilentlyContinue; foreach \\($x in $c\\) { Get-CimInstance Win32_Process -Filter \"ProcessId=$\\($x.OwningProcess\\)\" | Select-Object ProcessId, CreationDate, CommandLine, ExecutablePath | Format-List }; \\(Get-Item server.js\\).LastWriteTime; try { \\(Invoke-WebRequest -UseBasicParsing -Method Post -Uri 'http://127.0.0.1:4848/api/projects/xyz/git-init' -Headers @{Origin='http://127.0.0.1:4848'} -ContentType 'application/json' -Body '{}'\\).Content } catch { $_.Exception.Response.StatusCode; \\(New-Object IO.StreamReader\\($_.Exception.Response.GetResponseStream\\(\\)\\)\\).ReadToEnd\\(\\).Substring\\(0,120\\) })"
|
||||
"PowerShell($c = Get-NetTCPConnection -LocalPort 4848 -State Listen -ErrorAction SilentlyContinue; foreach \\($x in $c\\) { Get-CimInstance Win32_Process -Filter \"ProcessId=$\\($x.OwningProcess\\)\" | Select-Object ProcessId, CreationDate, CommandLine, ExecutablePath | Format-List }; \\(Get-Item server.js\\).LastWriteTime; try { \\(Invoke-WebRequest -UseBasicParsing -Method Post -Uri 'http://127.0.0.1:4848/api/projects/xyz/git-init' -Headers @{Origin='http://127.0.0.1:4848'} -ContentType 'application/json' -Body '{}'\\).Content } catch { $_.Exception.Response.StatusCode; \\(New-Object IO.StreamReader\\($_.Exception.Response.GetResponseStream\\(\\)\\)\\).ReadToEnd\\(\\).Substring\\(0,120\\) })",
|
||||
"Bash(node --check server.js)",
|
||||
"Bash(node -e ' *)"
|
||||
],
|
||||
"additionalDirectories": [
|
||||
"d:\\Oculusquest\\Projekt\\ProjectDashboard"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user