Skip to content

Instantly share code, notes, and snippets.

View Hypnosphi's full-sized avatar
🐙

Filipp Riabchun Hypnosphi

🐙
View GitHub Profile
{
"name": "ringui-teamcity",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "^10.13.0 || >=11.10.1",
"yarn": ">=1.12.0"
},
"private": true,
@Hypnosphi
Hypnosphi / docker-shell.sh
Created November 29, 2019 17:53 — forked from falvarez/docker-shell.sh
Run docker container, mount current working directory and get interactive shell
docker run -ti -v $(pwd):/tmp -w /tmp DOCKER_IMAGE /bin/bash
class Example extends React.Component {
constructor(props) {
super(props);
this.state = {date: new Date()};
}
componentDidMount() {
this.timerID = setInterval(
() => this.tick(),
1000
!not_exists: (//article)[2]
?path: /meanwhile/.+
?path: /world/.+
?path: /music/.+
title: //h1[has-class("e2-smart-title")]
title: //div[has-class("page-title")]/h1
body: //article/div[has-class("e2-note-text")]
body: //div[has-class("narrative")]
body: //div[has-class("main")]
// __mocks__/icons.js
import path from 'path';
import fs from 'fs';
const svgRE = /\.svg$/
function getIcons(kind) {
const files = {};
@Hypnosphi
Hypnosphi / esnextbin.md
Last active May 25, 2017 18:42
esnextbin sketch
@Hypnosphi
Hypnosphi / esnextbin.md
Last active May 25, 2017 18:38
esnextbin sketch
// @flow
import FlipMove from "./FlipMove";
declare class Class0 extends Element<> {
accessKey: string,
accessKeyLabel: string,
className: string,
contentEditable: string,
contextMenu: ?HTMLMenuElement,
dataset: { [key: string]: string },
@Hypnosphi
Hypnosphi / esnextbin.md
Last active April 23, 2017 02:01
esnextbin sketch
@Hypnosphi
Hypnosphi / esnextbin.md
Last active December 31, 2016 14:56
esnextbin sketch