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
-- Save this as "Google Chat.app" | |
-- Check "Stay open after run handler" during save dialog | |
-- Locate "Google Chat.app" and fix the icon yourself (see comment) | |
on run | |
-- This runs once on launch and sets the timer. | |
do shell script "\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --app=\"https://mail.google.com/chat/u/1/\" &> /dev/null &" | |
end run | |
on idle | |
-- This delay must be at the start, otherwise the script would immediately close |
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
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); |
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
import 'dart:ui'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(TestClipping()); | |
class TestClipping extends StatefulWidget { | |
const TestClipping({super.key}); | |
@override |
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
import 'package:flutter/material.dart'; | |
import 'package:flutter/cupertino.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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> | |
<head> | |
<!-- This goes into <head> --> | |
<link rel="stylesheet" href="https://cdn.plyr.io/3.6.2/plyr.css" /> | |
<script src="https://cdn.plyr.io/3.6.2/plyr.polyfilled.js"></script> | |
</head> | |
<body> |