Skip to content

Instantly share code, notes, and snippets.

View RusinovAnton's full-sized avatar
⌨️
Keep on keeping on

Anton Rusinov RusinovAnton

⌨️
Keep on keeping on
View GitHub Profile
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGDQcMQBDADdS+qj3Yl8sxXphnwZVlHYp/ER3UxIZ+urLDcXaofxGgKeGx8a
9c24I3Ivx6ZAx8bXZ108U6e4NGvVwZf7ijtLMSt1SqD5fLB2/M+mTq6zUKUsFiho
PpHpneuvpFQgitwZXK41MEr3KcfePzbOJJxou2iAczz8phKy3N3dP4W4nWL/A5X3
v2CkF0UC76LB/9vAQxk9ejrcXKaS17kRQjW1tFHDXOf/6WT4EZhsLZymfYB8YfmE
4Tm+c1Q+2Dsel3Z8sA65AbHmWyFgFgaAeE3OGr4dhKx0nYZfA1D6hYZPh52+2bZM
XJqn6Xtc9TARxQC6AmxyPUP8HCJuwzpFKLdrpDWT6zgvOHh+VRqgVmyRGiTu/6nW
dppeVXVzS650HMUMOyCEKaILL7W4SqYskxz7CzRRK5MfT3Ojne1GCkZigMwYdNEd
fmWQo5PFsjZH4fmm/+/A9S4IfSc1QkTFWSrkvgggOP23+an/y+pjmKO3hwnZEVBS
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZSTDQXC/GTLes8k8ePr1us4ze+LHAPABJxJPG5AUkVIf44FS5DEiS/RGBAux5i5mXQme+2wM5cQEOrfgLJ6TL8OuumZSRw+9aSupjFa1341kkCaCeBwg7/o4WarsWqaejPCzyMdSv+nymyZ5TcOC1B7VqcKTe5R+2ef7Y82heZUBV0eK5g0o/3QhNMXZ0rFEdSf8SsmHmf5AbOgb0HuS/9P91QQxatSkjOYr0h1WEsiVvQngZQQbr3mkHHuhYkIVcYG+gHQuPf7MngogIZQ8hIennJSowKw7uhbSmOZylcKsBybluZkLxg2+SGRhxCH54/bueJsFfMuNHwzW9cqC9 rusinov@Antons-MacBook-Pro.local
@RusinovAnton
RusinovAnton / git-cheat-list.md
Last active February 17, 2017 21:57
Git cheat list

Git cheat list

  • name of the current banch and nothing else (for automation)

    git rev-parse --abbrev-ref HEAD
    
  • all commits that your branch have that are not yet in master

    git log master..<HERE_COMES_YOUR_BRANCH_NAME>
    
@RusinovAnton
RusinovAnton / compositional-components-demo.js
Created January 9, 2017 18:51 — forked from developit/compositional-components-demo.js
Demonstrates compositional components in Preact (or React). Live demo: https://jsfiddle.net/developit/umnb4y87/
import { h, cloneElement, Component } from 'preact';
/** Example <Fetch url="/foo.json" /> compositional component.
* Just to demonstrate a compositional component that requires input massaging.
*/
class Fetch extends Component {
state = { loading: true };
componentDidMount() {
this.update();