git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
git fetch upstream
git checkout master
import React from 'react'; | |
import Proptypes from 'prop-types'; | |
import { isEmpty } from 'lodash'; | |
import { Paginator } from 'patternfly-react'; | |
import { | |
getURI, | |
getURIpage, | |
getURIperPage, | |
changeQuery, | |
translatePagination, |
Running Openshift Console along side a native local K8s is really nice and fast! Very useful for developers looking to test and create new components, and for users looking to take advantage of the console UI with their own cluster. There are a couple things that are missing: Metrics and Templates (Kubernetes doesn't support Templates kind, and there is no Prometheus)
Running Openshift Console locally with CodeReady Containers is really nice and fast! It is very useful for developers/designers looking to test and create new components.
ssh tlv-cnv@tlv-cnv-gilad.usersys.redhat.com
(Password is in coreos slack)cd coding/matthewcarleton/console
git fetch upstream
git fetch upstream pull/ID/head:BRANCHNAME
$taskName = "WSL2_PORTS" | |
$task = Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue | |
if ($null -ne $task) { | |
Unregister-ScheduledTask -TaskName $taskName -Confirm:$false | |
} | |
# TODO: Enter Path to script, change delay if you will. | |
$action = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-File "C:\Path\To\Script.ps1"' | |
$trigger = New-ScheduledTaskTrigger -AtStartup -RandomDelay 00:00:30 | |
$settings = New-ScheduledTaskSettingsSet -Compatibility Win8 |
# Start SSH Service. | |
wsl sudo service ssh start | |
# WSL2 network port forwarding script v1 | |
# for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
# for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
# written by Daehyuk Ahn, Aug-1-2020 | |
# Display all portproxy information | |
If ($Args[0] -eq "list") { |