Skip to content

Instantly share code, notes, and snippets.

Gary Katsevman gkatsev

Block or report user

Report or block gkatsev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View non-passing-tests.md

Incomplete tests

API tests

VTTCue

region

Safari Tech Preview is failing due to its non-standard region implementation. It can pass if accounting for it. Firefox is failing due to throwing an error when cue.region is set to a value other than a VTTRegion or null. An error is not supposed to be thrown.

VTTRegion

@gkatsev
gkatsev / get-count.js
Created Jan 16, 2019
Get item count in getpocket.com by piggy backing on their cookie.
View get-count.js
fetch('https://getpocket.com/v3/get?enable_cors=1&consumer_key=78809-9423d8c743a58f62b23ee85c', {
method: 'POST',
credentials: 'include',
body: JSON.stringify({
"detailType": "simple",
"since": "1318881176"
})
}).then((res) => res.json())
.then((data) => {
console.log(data);
@gkatsev
gkatsev / fixed.js
Last active Sep 6, 2017
undocumented breaking change in url.format
View fixed.js
var url = require('url')
url.format({host: 'google.com', pathname: 'foo', slashes: true})
// > '//google.com/foo'
@gkatsev
gkatsev / osx-software-update-urls.txt
Created Jan 25, 2017 — forked from geoff-nixon/osx-software-update-urls.txt
URLs of the index files used by the software update client on OS X
View osx-software-update-urls.txt
10.3 (Panther):
https://swscan.apple.com/scanningpoints/scanningpointX.xml
10.4 (Tiger):
https://swscan.apple.com/content/catalogs/index.sucatalog
https://swscan.apple.com/content/catalogs/index-1.sucatalog
10.5 (Leopard):
https://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog
@gkatsev
gkatsev / .babelrc
Last active Nov 8, 2018
when running babel on `bar.js`, the output method `_interopRequireDefault` will have the return object with property `default` be unquoted. Commenting out line 6, will make `default` be quoted properly.
View .babelrc
{
"presets": [ "es3", ["es2015", {"loose": true}] ]
}
View bbb-sintel.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXTINF:10.00000,
https://hslsslak-a.akamaihd.net/3303963094001/5147697469001/3303963094001_5147697469001_5147609827001-1.ts
#EXTINF:10.00000,
https://hslsslak-a.akamaihd.net/3303963094001/5147697469001/3303963094001_5147697469001_5147609827001-2.ts
#EXTINF:10.00000,
https://hslsslak-a.akamaihd.net/3303963094001/5147697469001/3303963094001_5147697469001_5147609827001-3.ts
#EXTINF:10.00000,
View keybase.md

Keybase proof

I hereby claim:

  • I am gkatsev on github.
  • I am gkatsev (https://keybase.io/gkatsev) on keybase.
  • I have a public key whose fingerprint is 3B6D 5E7F 1A02 E7C6 1258 8EE1 F903 5236 A344 385A

To claim this, I am signing this object:

View out.txt
iPad & iPhone Video Poster Fix (bonus Javascript Placement Fix) post/35888138568/ipad-iphone-video-poster-fix-bonus-javascript-placement/index.html
VideoJS is IE9 Compatible post/35888302484/videojs-is-ie9-compatible/index.html
New Player Skin Designer for Video.js post/55553002104/new-player-skin-designer-for-videojs/index.html
New VideoJS Site (Now with more HTML5)! post/35888462908/new-videojs-site-now-with-more-html5/index.html
Video.js 4.1.0 Released post/54136228059/videojs-410-released/index.html
Video.js version 4.3.0 released w/ shiny new API docs post/66138384272/videojs-version-430-released-w-shiny-new-api/index.html
Repo Moved! post/49797985868/repo-moved/index.html
Video.js 4.2.0 released! RTMP, CSS designer, and stability post/60471080014/videojs-420-released-rtmp-css-designer-and/index.html
4.2.2 Patch Release post/64150919930/422-patch-release/index.html
Running Video.js unit tests in real browsers with Karma post/61644484835/running-videojs-unit-tests-in-real-browsers-with/index.html
View something.js
let prop = [].concat(data[qfield]);
let q = query[qfield].toLowerCase();
return prop.map((p) { return p.toLowerCase(); }).includes(q);
You can’t perform that action at this time.