# remove the remote to the original repo
git remote remove origin
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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <h2>The Dash Land</h2> | |
| <img src="https://firebasestorage.googleapis.com/v0/b/dashatar-dev.appspot.com/o/dashatars%2FRGFzaGF0YXJfRGV2ZWxvcGVyX0hhcHB5X2NvbG9yX1BCX3NoYWRvdw==.png?alt=media", style="width:250px;height:150px;"> | |
| <img src="https://firebasestorage.googleapis.com/v0/b/dashatar-dev.appspot.com/o/dashatars%2FRGFzaGF0YXJfTWFya2V0aW5nX092ZXJJdF9jb2xvcl9NS19zaGFkb3c=.png?alt=media", style="width:250px;height:150px;"> | |
| <img src="https://firebasestorage.googleapis.com/v0/b/dashatar-dev.appspot.com/o/dashatars%2FRGFzaGF0YXJfTWFya2V0aW5nX05ldXRyYWxfY29sb3JfTVlfc2hhZG93.png?alt=media", style="width:250px;height:150px;"> | |
| <img src="https://firebasestorage.googleapis.com/v0/b/dashatar-dev.appspot.com/o/dashatars%2FRGFzaGF0YXJfTWFya2V0aW5nX05ldXRyYWxfY29sb3JfTVVfc2hhZG93.png?alt=media", style="width:250px;height:150px;"> |
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'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Editable Button Text Demo', | |
| theme: ThemeData( |
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
| void sendCompressed() async { | |
| var gzip = GZipCodec(); | |
| String jsonToSend = '{"field1":"Some JSON to send to the server."}'; | |
| var compressedBody = gzip.encode(jsonToSend.codeUnits); | |
| Map<String, String> headers = { | |
| "Content-Encoding": "gzip", | |
| "Content-Type": "application/json; charset=UTF-8", | |
| }; | |
| var response = await http.post( |
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'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
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
| /// Flutter code sample for SwitchListTile | |
| //  | |
| // | |
| // This widget shows a switch that, when toggled, changes the state of a [bool] | |
| // member field called `_lights`. | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); |
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
| function useFormFields<T>(initialValues: T) { | |
| const [formFields, setFormFields] = React.useState<T>(initialValues); | |
| const createChangeHandler = (key: keyof T) => ( | |
| e: React.ChangeEvent<HTMLInputElement>, | |
| ) => { | |
| const value = e.target.value; | |
| setFormFields((prev: T) => ({ ...prev, [key]: value })); | |
| }; | |
| return { formFields, createChangeHandler }; | |
| } |
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'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
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'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
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 pyttsx3 | |
| import PyPDF2 | |
| book = open('oop.pdf', 'rb') | |
| pdfReader = PyPDF2.PdfFileReader(book) | |
| pages = pdfReader.numPages | |
| speaker = pyttsx3.init() | |
| for num in range(7, pages): | |
| page = pdfReader.getPage(num) | |
| text = page.extractText() |