The popular open-source contract for web professionals by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: March 15th 2016
- Revised by Bytes Unlimited : Feb 3rd 2020
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
| import React from 'react'; | |
| import Rx from 'rxjs/Rx'; | |
| import { observeComponent, fromComponent } from 'observe-component/rxjs'; | |
| // Create the component with the listeners we want | |
| const TextArea = observeComponent('onInput')('textarea'); | |
| export default class MyComponent extends React.Component { | |
| constructor() { | |
| super(); |
| import { Component, PropTypes } from 'react' | |
| import { noop } from 'lodash' | |
| import raf from 'raf' | |
| const cache = new Map() | |
| export function createNonBlockingRenderLoop({ key, concurrencyLevel = 1 }) { | |
| if (cache.has(key)) { | |
| return cache.get(key) | |
| } |
| apt-get install ipython | |
| apt-get install python-pip | |
| pip install selenium | |
| mkdir /root/bin | |
| cd /root/bin | |
| wget https://github.com/mozilla/geckodriver/releases/download/v0.9.0/geckodriver-v0.9.0-linux64.tar.gz | |
| tar -xvzf geckodriver-v0.9.0-linux64.tar.gz | |
| rm geckodriver-v0.9.0-linux64.tar.gz | |
| chmod +x geckodriver | |
| cp geckodriver wires |
React.createClass, extending React.Component and also stateless functional components.renderOnError() in a compThis gist has moved to a proper git repo so people can make pull requests: https://github.com/Zenexer/internet-reference/blob/main/Mac%20Keyboard%20Symbols.md
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist.
Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).