- Documentação -> https://github.com/mperham/sidekiq/wiki/API
ps -ef | grep sidekiq | grep busy | grep -v grep | awk '{print $2}' > tmp/sidekiq.pid
cat tmp/sidekiq.pid
bundle exec sidekiqctl stop tmp/sidekiq.pid
ps -ef | grep sidekiq | grep busy | grep -v grep | awk '{print $2}' > tmp/sidekiq.pid
cat tmp/sidekiq.pid
bundle exec sidekiqctl stop tmp/sidekiq.pid
{"version":1,"resource":"file:///home/lc/work/cepeti-backend/app/graphql/types/models/specialty_type.rb","entries":[{"id":"yP8n.rb","timestamp":1650402679430},{"id":"3zep.rb","timestamp":1650402921948}]} |
import React from 'react'; | |
const ExampleApplication = () => ( | |
<div> | |
<Header /> | |
<React.StrictMode> | |
<div> | |
<ComponentOne /> | |
<ComponentTwo /> | |
</div> |
const listItems = numbers.map((number) => | |
<li key={number.toString()}>{number}</li> | |
); |
// Bad | |
render() { | |
return <Welcome className="class"> | |
<child /> | |
</Welcome>; | |
} | |
// Good | |
render() { | |
return ( |
export default class SampleComponent extends React.Component<Props, State> { | |
// 1. Constructor | |
constructor(props) { | |
} | |
// React life cycle methods | |
componentDidCatch(){ | |
} | |
const Username = ({ username }) => <p> The logged user is: {username} </p> |