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
package main | |
import ( | |
"os" | |
"os/exec" | |
"path" | |
"path/filepath" | |
) | |
func main() { |
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
// in src/app.js | |
import React from 'react'; | |
import { jsonServerRestClient, Admin, Resource } from 'admin-on-rest'; | |
import { PostList, PostEdit, PostCreate } from './posts'; | |
const App = () => ( | |
<Admin restClient={jsonServerRestClient('http://jsonplaceholder.typicode.com')}> | |
<Resource name="posts" list={PostList} create={PostCreate} edit={PostEdit} /> | |
</Admin> | |
); |
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 { jsonServerRestClient, Admin, Resource } from 'admin-on-rest'; | |
import createHistory from 'history/createBrowserHistory'; | |
import { PostList, PostEdit, PostCreate } from './posts'; | |
const history = createHistory(); | |
const App = () => ( | |
<Admin history={history} restClient={jsonServerRestClient('http://jsonplaceholder.typicode.com')}> | |
<Resource name="posts" list={PostList} create={PostCreate} edit={PostEdit} /> |
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
#!/bin/bash | |
### usage ./convert.sh game | |
## where game is baseName of the export | |
if [ ! "$1" ]; then | |
read -p 'Game name: ' game | |
else | |
game="$1" | |
fi |
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 PropTypes from 'prop-types'; | |
import { connect } from 'react-redux'; | |
import { formValueSelector, getFormValues } from 'redux-form'; | |
import get from 'lodash/get'; | |
import set from 'lodash/set'; | |
import FormField from 'admin-on-rest/lib/mui/form/FormField'; | |
const REDUX_FORM_NAME = 'record-form'; |
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
||t.cncenter.cz | |
||cerebroad.com | |
||consensu.org | |
##b-lackhole |