This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
html, body { | |
height: 100%; | |
width: 100%; | |
margin: 0; | |
font-size: 100%; | |
background-color: #000000; | |
color: green; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function extractDomain(url) { | |
return url.match(/(www\.)?([a-z0-9]+\.)+[a-z]{2,}/)[0]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
unbind '"' | |
unbind % | |
set-option -g default-command "reattach-to-user-namespace -l bash" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { HostConfig, Reconciler } from 'react-fiber-types'; | |
import type { ReactNodeList } from 'react-fiber-types/ReactTypes'; | |
import DOMPropertyOperations from './DOMPropertyOperations'; | |
import type { | |
Props, | |
Container, | |
Instance, | |
TextInstance, | |
OpaqueHandle, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Fiber = any; | |
type ReactNodeList = any; | |
type ExpirationTime = number; | |
type Batch = { | |
_defer: boolean, | |
_expirationTime: ExpirationTime, | |
_onComplete: () => mixed, | |
_next: Batch | null, | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
var _$0 = this; | |
var _2 = function (i) { | |
return _$0.Math.cos(i * 0.19634954084936207); | |
}; | |
var _5 = function (value, min, max) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.out = this.out || {}; | |
this.out.js = (function (exports) { | |
'use strict'; | |
const minMargin = 1; | |
const sizes = [15, 20, 25 , 50, 40, 130]; | |
const stepPi = (1 / 16) * Math.PI; | |
// this ensure we go through a wide range of values |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import css from 'dom-helpers/style'; | |
import Reconciler from 'react-reconciler'; | |
const isEventRegex = /^on([A-Z][a-zA-Z]+)$/; | |
const RDL = Reconciler({ | |
getRootHostContext() { | |
return ''; | |
}, | |
getChildHostContext() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class App extends Component { | |
constructor() { | |
super(); | |
this.state = { | |
count: 0 | |
}; | |
} | |
render() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default {} |