#Linux Cheat Sheet
##File Commands:
- ls – directory listing
- ls -al – formatted listing with hidden files
- cd dir - change directory to dir
- cd – change to home
- pwd – show current directory
- mkdir dir – create a directory dir
- rm file – delete file
#Linux Cheat Sheet
##File Commands:
class MyProvider with ChangeNotifier { | |
List<dynamic> responseBody; | |
String errMsg = ""; | |
//for movies | |
Future<void> getSub(id) async { | |
try { | |
HttpClient client = new HttpClient(); | |
client.userAgent = 'TemporaryUserAgent'; | |
HttpClientRequest request = await client.getUrl(Uri.parse( |
// Website you intended to retrieve for users. | |
const upstream = 'api.openai.com' | |
// Custom pathname for the upstream website. | |
const upstream_path = '/' | |
// Website you intended to retrieve for users using mobile devices. | |
const upstream_mobile = upstream | |
// Countries and regions where you wish to suspend your service. |