Skip to content

Instantly share code, notes, and snippets.

Avatar
🐙

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
Hypnosphi / docker-shell.sh
Created Nov 29, 2019 — forked from falvarez/docker-shell.sh
Run docker container, mount current working directory and get interactive shell
View docker-shell.sh
docker run -ti -v $(pwd):/tmp -w /tmp DOCKER_IMAGE /bin/bash
View example.js
class Example extends React.Component {
constructor(props) {
super(props);
this.state = {date: new Date()};
}
componentDidMount() {
this.timerID = setInterval(
() => this.tick(),
1000
View ilyabirman.ru 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 },