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
Installation: | |
- install also system sshfs for using reverse sshfs. | |
- vagrant-libvirt | |
- local yaml example: | |
centos7-devel: | |
primary: true | |
box: centos7 | |
sshfs: | |
host_path: '/home/rlavi/Projects/theforeman/vagrant-shares/centos7-devel' | |
guest_path: '/home/vagrant' |
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
1. yarn build:storybook && cp -r .out .public/patternfly-3 | |
2. yarn build:prdocs && cp -r packages/patternfly-4/react-docs/public .public/patternfly-4 && cp -r packages/patternfly-4/react-docs/public/assets .public/assets | |
3. yarn run surge --project .public --domain $DEPLOY_DOMAIN |
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
export const fetchData = () => ({ | |
path: '/data', | |
method: 'GET', | |
query: { srach: 'some-search' }, | |
debounce: 300, | |
baseConst: 'AUTO_COMPLETE', | |
finalizeRespnse: (response) => response.data.myData | |
}); | |
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
git checkout 83d7959b8a65cbd073c9721f72ca4f5713257a20 |
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
<html lang="en" data-timezone="UTC" class="layout-pf layout-pf-fixed"><head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Hosts</title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
<link rel="shortcut icon" type="image/x-icon" href="/assets/favicon-3c4b227479d0b22ade7a9ad5483b48b6f14ed265befe5e29ffcc4fbb63cbcc1a.ico"> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> |
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
curl https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash |
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
import React from "react" | |
import { Route, Switch } from "react-router-dom" | |
const AppRoute = ({ component: Component, layout: Layout, ...rest }) => ( | |
<Route {...rest} render={props => ( | |
<Layout> | |
<Component {...props} /> | |
</Layout> | |
)} /> | |
) |
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
jest.mock('../../redux/API'); | |
const combinedReducers = { notifications: notificationReducer, ...APIReducers }; | |
const middlewares = [APIMiddleware] | |
const failResponse = { response: { status: 401 } }; | |
const notificationProps = { | |
data: componentMountData, | |
}; | |
describe('Notification integration test', () => { | |
it('should flow', () => { |
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
// foreman-js | |
npm i | |
npm run build | |
// foreman | |
npm i | |
npm run foreman-js:link |
OlderNewer