Skip to content

Instantly share code, notes, and snippets.


Filipp Riabchun Hypnosphi

View GitHub Profile
View package.json
"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 /
Created Nov 29, 2019 — forked from falvarez/
Run docker container, mount current working directory and get interactive shell
docker run -ti -v $(pwd):/tmp -w /tmp DOCKER_IMAGE /bin/bash
View example.js
class Example extends React.Component {
constructor(props) {
this.state = {date: new Date()};
componentDidMount() {
this.timerID = setInterval(
() => this.tick(),
View instant view template
!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")]
View __mocks__ icons.js
// __mocks__/icons.js
import path from 'path';
import fs from 'fs';
const svgRE = /\.svg$/
function getIcons(kind) {
const files = {};
View AutogeneratedLibdef.js
// @flow
import FlipMove from "./FlipMove";
declare class Class0 extends Element<> {
accessKey: string,
accessKeyLabel: string,
className: string,
contentEditable: string,
contextMenu: ?HTMLMenuElement,
dataset: { [key: string]: string },