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
// ==UserScript== | |
// @name Youtube Bigger Theater | |
// @version 0.1 | |
// @description Make 'Theater View' on Youtube videos fill the screen. | |
// @author Kai Hao | |
// @match https://www.youtube.com/* | |
// @grant none | |
// ==/UserScript== | |
function addGlobalStyle(css) { |
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
const fetch = require('node-fetch'); | |
const request = require('request'); | |
const FormData = require('form-data'); | |
const fs = require('fs'); | |
const emojis = JSON.parse(fs.readFileSync('./emoji.json', 'utf8')); | |
const SLACK_TOKEN = 'YOUR_PERSONAL_SLACK_TOKEN'; | |
const SLACK_DOMAIN = 'YOUR_SLACK_DOMAIN'; |
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
/** | |
* Transform `<Aux>` to `<Fragment>` | |
*/ | |
module.exports = function tranformAuxToFragment(file, api, options) { | |
const j = api.jscodeshift; | |
const root = j(file.source); | |
const FROM_PATH = options.fromPath || '@/components/Aux'; |