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
Future upload( | |
String token, String project, List<int> file, String ext) async { | |
try { | |
String uri = 'https://io.etter.cloud/v4/upload'; | |
var request = http.MultipartRequest('POST', Uri.parse(uri)); | |
request.fields['token'] = token; | |
request.fields['project'] = project; |
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
// ignore_for_file: library_private_types_in_public_api, | |
// ignore_for_file: use_build_context_synchronously, | |
// ignore_for_file: prefer_interpolation_to_compose_strings | |
import 'dart:convert'; | |
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; |
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
[ | |
{ | |
"id": "a16c714bbdecade9", | |
"type": "tab", | |
"label": "whatsapp server", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
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
// ignore_for_file: library_private_types_in_public_api, | |
// ignore_for_file: use_build_context_synchronously | |
import 'dart:convert'; | |
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; |
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
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.userosscache | |
*.sln.docstates | |
# User-specific files (MonoDevelop/Xamarin Studio) |
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
<?xml version='1.0' encoding='utf-8'?> | |
<widget id="com.studygo.admin" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |
<name>StudyGo Admin</name> | |
<description> | |
Application for Administrator | |
</description> | |
<author email="[email protected]" href="http://studygo.my"> | |
S3 Education | |
</author> | |
<content src="index.html" /> |
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
1. Open System Environment Variable | |
Settings > System > About > System Info > Environmental Variables | |
2. Edit path and append %USERPROFILE%\AppData\Roaming\npm at the end | |
3. npm config set prefix %USERPROFILE%\AppData\Roaming\npm |
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 localize = { | |
locals: { | |
'id': { | |
title: "Judul Baru", | |
description: "Deskripsi Baru" | |
}, | |
'en': { | |
title: "New Title", | |
description: "New Description" | |
} |
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 fileDownload(dirName, fileURL, fileName) { | |
window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; | |
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, fsAccess, fsFail); | |
function fsAccess(fileSystem) { | |
fileSystem.root.getDirectory(dirName, { create: true, exclusive: false }, dirReady, dirFail); |
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
// Get Browser Info | |
function browserId() { | |
var navigator_info = window.navigator; | |
var screen_info = window.screen; | |
var uid = navigator_info.mimeTypes.length; | |
uid += navigator_info.userAgent.replace(/\D+/g, ''); | |
uid += navigator_info.plugins.length; | |
uid += screen_info.height || ''; | |
uid += screen_info.width || ''; | |
uid += screen_info.pixelDepth || ''; |