This file contains 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 type Omit<T, K> = Pick<T, Exclude<keyof T, K>> | |
export type GetProps<C> = C extends React.ComponentType<infer P> ? P : never | |
export type Matching<InjectedProps, DecorationTargetProps> = { | |
[P in keyof DecorationTargetProps]: P extends keyof InjectedProps | |
? InjectedProps[P] extends DecorationTargetProps[P] | |
? DecorationTargetProps[P] | |
: InjectedProps[P] | |
: DecorationTargetProps[P] | |
} |
This file contains 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
javascript:(function() {('.container').width('100%'); $('.repository-content').width('100%')})() |
This file contains 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
var log = function log (e) { | |
console.log(e); | |
}; | |
var Promise = function () { | |
this.resolved = false; | |
this.resolvedValue = null; | |
this.rejected = false; | |
this.rejectedValue = null; | |
}; |
This file contains 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
var fs = require('fs'); | |
var request = require('request'); | |
var jsdom = require('jsdom'); | |
var iconv = require('iconv-lite'); | |
var rankOpen = | |
'http://www.foosball.sk/sk/zebricky/?action=view&rank_name_id=513'; | |
var data = {}; |