Jul 5 LinkedIn Member sent the following message at 7:19 PM LinkedIn Member Hi Oleg
We are a 12 person team of young professionals building our own company in Berlin. We are looking for another Reactjs developer to cofound with us. Would you like to hear more about it?
Best regards, Josh
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
yarn cache clean | |
npm cache clean --force | |
sudo rm -rfv /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} | |
sudo rm -rfv ~/.npm ~/.nvm ~/node_modules ~/.node-gyp ~/.npmrc ~/.yarnrc ~/.node_repl_history | |
sudo rm -rfv /usr/local/bin/npm /usr/local/bin/node-debug /usr/local/bin/node /usr/local/bin/node-gyp | |
sudo rm -rfv /usr/local/share/man/man1/node* /usr/local/share/man/man1/npm* | |
sudo rm -rfv /usr/local/include/node /usr/local/include/node_modules | |
sudo rm -rfv /usr/local/lib/node /usr/local/lib/node_modules /usr/local/lib/dtrace/node.d | |
sudo rm -rfv /opt/local/include/node /opt/local/bin/node /opt/local/lib/node |
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
// Original implementation https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Switch/Switch.js | |
// An attempt to use state machines inside of styles declaration. | |
const useStyles = createUseStyles({ | |
root: { | |
display: 'inline-flex', | |
overflow: 'hidden', | |
boxSizing: 'border-box', | |
position: 'relative', | |
flexShrink: 0, |
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
// source js | |
const styles = { | |
static: { | |
color: 'green' | |
}, | |
mixed: { | |
color: 'red', | |
margin: (props) => props.spacing | |
} | |
} |
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
- components | |
- utils | |
features | |
- feature-x | |
- action-types | |
- action-creators | |
- reducer | |
- containers | |
- renderers | |
- index.js |
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
class MyComponent extends Component { | |
componentWillMount() { | |
alert('will mount') | |
} | |
onClick = () => { | |
alert('Button Clicked') | |
// Forward click to the outer listeners. | |
this.props.onClick() |
- Open Source being officially part of the job, not just an "after job fun" instead of spending time with the family.
- Colleagues one can learn from, not those one needs to clean up after.
- Money matters. Only a stupid person can think that money doesn't matter in our capitalistic society. This also includes social security, medical ensurance and any other expenses. I am not mercantile, no.
- Soft deadlines. Having time to do things right.
- No pressure in being at time every day in the office. We all got our issues.
- Workout during working hours. Possibility to go quickly for a run or to the gym.
- Office is optional. I prefer to work from any location I want. Sometimes being in the office is nice though.
- Good sitting conditions: good chairs, gym ball, stay desk, sofas.
- Relaxation room or nap room.
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
// This allows you to benchmark CSSinJS libs after styles have been really applied. | |
function detectCSSRendered(className, callback) { | |
const probe = document.createElement('div') | |
probe.style.visibility = 'hidden' | |
probe.className = className | |
var style = document.head.appendChild(document.createElement('style')) | |
style.textContent = '' + | |
'@keyframes probe-animation {' + | |
' from {left: 20%}' + |
NewerOlder