Skip to content

Instantly share code, notes, and snippets.

@Chengings
Chengings / apple-tv.txt
Created March 1, 2020 16:26
How to get Apple TV screensavers
Source: https://github.com/JohnCoates/Aerial/blob/master/Documentation/OfflineMode.md
1) Download resource file..
2) Extract and check `entries.json`.
3) Check url-* and get what you want.
@Chengings
Chengings / Symfony.md
Last active January 25, 2021 13:41
Symfony
@Chengings
Chengings / gist:028e98fbece098a1a6f1020658e372fe
Last active September 11, 2020 10:45
Xdebug with docker project in PHPStorm

Prerequisite

Set xdebug.remote_host=host.docker.internal and xdebug.remote_enable=1 in php.ini

  1. Set host, port and use path maaping with project in PHP Server preferences.
  2. Open "Run/Debug Configurations" dialog and set
    1. Set server from 1st step
    2. Set IDE Key to PHPSTORM

References

https://www.jetbrains.com/help/phpstorm/configuring-xdebug.html

@Chengings
Chengings / allizom.js
Last active September 20, 2024 17:03
Bookmarklets
javascript: (() => {
/mozilla.org/.test(document.location.host) &&
(document.location.hostname = "www-dev.allizom.org");
})();
@Chengings
Chengings / speech_synthesiser.html
Last active November 24, 2021 18:55
Web Speech API
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>Speech synthesiser</title>
<style>