See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
Credit Circle People for old skins
All libraries have subtle rules that you have to follow for them to work well. Often these are implied and undocumented rules that you have to learn as you go. This is an attempt to document the rules of React renders. Ideally a type system could enforce it.
A number of methods in React are assumed to be "pure".
On classes that's the constructor, getDerivedStateFromProps, shouldComponentUpdate and render.
/* | |
Example of how to get raw mouse input data using the native Windows API | |
through a "message-only" window that outputs to an allocated console window. | |
Not prepared for Unicode. | |
I don't recommend copy/pasting this, understand it before integrating it. | |
*/ | |
// Make Windows.h slightly less of a headache. | |
#define NOMINMAX |
// By Simon Lydell 2015. | |
// This file is in the public domain. | |
var stdin = require("get-stdin") | |
var tools = require("text-frequencies-analysis") | |
var helpers = require("text-frequencies-analysis/lib/helpers") | |
stdin(function(text) { | |
process.stdout.write(tools.jsonStringifyRow(convert(JSON.parse(text)))) | |
}) |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)