Skip to content

Instantly share code, notes, and snippets.


jakub-g jakub-g

View GitHub Profile
jakub-g /
Last active Jun 2, 2020
Deprecation Dailymotion postMessage API


If you landed on this page, you probably found a message like this in your logs:

This page is using deprecated Dailymotion postMessage API communication format that will be soon removed.
Please update your code. See for details.

Two possibilities

jakub-g / loggers.txt
Created May 29, 2020
Filter out annoying loggers Chrome DevTools
View loggers.txt
-cookie -sourcemap -corb -cors
jakub-g /
Last active May 16, 2020
Trójka LP3 1998 Kazik
jakub-g /
Last active May 14, 2020
UC browser vs Chromium: Kangax ES2016+ tests
jakub-g / gist:b7b54852011dfd8d708fa88300452f5a
Created May 12, 2020
Samsung TV browser and Samsung TV webview useragent strings
View gist:b7b54852011dfd8d708fa88300452f5a
Samsung Browser:
Mozilla/5.0 (SMART-TV; Linux; Tizen 5.0) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.2 Chrome/63.0.3239.84 TV Safari/537.36
Mozilla/5.0 (SMART-TV; Linux; Tizen 4.0) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.1 Chrome/56.0.2924.0 TV Safari/537.36
Samsung WebView:
Mozilla/5.0 (SMART-TV; LINUX; Tizen 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Version/5.0 TV Safari/537.36
jakub-g /
Created Apr 20, 2020
Use nodejs in bash script for string manipulation
$ echo "FOO_BAR" | node -p 'require("fs").readFileSync(process.stdin.fd, "utf-8").replace("_", "..")'
View Intl.DateTimeFormat.js
new Intl.DateTimeFormat('en-GB', {timeZone: 'Europe/Paris',
year: 'numeric',
month: 'long',
day: 'numeric',
hour: 'numeric',
minute: 'numeric'
}).format(new Date())
// "17 April 2020, 17:03"
jakub-g / filter.txt
Created Apr 15, 2020
vscode exclude filters
View filter.txt
*.spec.js*, bin, tools, *webpack*, spec/*, karma*
You can’t perform that action at this time.