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
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Streaming UI</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| </head> | |
| <body class="bg-black text-white"> | |
| <header class="flex items-center justify-between p-4"> |
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
| var f_globalUrl = window.location.href; | |
| var f_mainUrl = new URL(f_globalUrl); | |
| var hasSetfont = f_mainUrl.searchParams.get("setfont"); | |
| if(hasSetfont){ | |
| console.log('setFont is running!') | |
| const addStyle = () => { |
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 GNOME budget widget | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://genome.klick.com/tasks/project/home/* | |
| // @icon https://www.google.com/s2/favicons?domain=klick.com | |
| // @grant none | |
| // ==/UserScript== |
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
| # | |
| bag = [1, 2, 3, 4, 5] | |
| for i in range(len(bag)): | |
| bag[i]= bag[i]* 2 | |
| print bag | |
| bag = [elem * 2 for elem in bag] | |
| print "new:", bag |
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
| # calculator program | |
| def menu(): | |
| print "Welcome to calculator.py" | |
| print "your options are:" | |
| print " " | |
| print "1) +" | |
| print "2) -" | |
| print "3) x" | |
| print "4) /" | |
| print "5) Quit" |