Note: This is the guide for v 2.x.
For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
Download: StarUML.io
Source: jorgeancal
| import 'dart:io'; | |
| import 'dart:async'; | |
| import 'dart:typed_data'; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| //import 'package:path_provider/path_provider.dart'; | |
| //import 'package:simple_permissions/simple_permissions.dart'; |
| <?php | |
| //set printing option to raw | |
| $tmpdir = sys_get_temp_dir(); # ambil direktori temporary untuk simpan file. | |
| $file = tempnam($tmpdir, 'ctk'); # nama file temporary yang akan dicetak | |
| $handle = fopen($file, 'w'); | |
| $condensed = Chr(27) . Chr(33) . Chr(4); | |
| $bold1 = Chr(27) . Chr(69); | |
| $bold0 = Chr(27) . Chr(70); | |
| $initialized = chr(27).chr(64); |
| // just an example. A cleaner way is to wrap the showLine-stuff in a dedicated component | |
| <template> | |
| <div> | |
| <my-line v-if="showLine" :data="lineData" :options="options"> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| data () { |
| public class RealPathUtil { | |
| public static String getRealPath(Context context, Uri fileUri) { | |
| String realPath; | |
| // SDK < API11 | |
| if (Build.VERSION.SDK_INT < 11) { | |
| realPath = RealPathUtil.getRealPathFromURI_BelowAPI11(context, fileUri); | |
| } | |
| // SDK >= 11 && SDK < 19 | |
| else if (Build.VERSION.SDK_INT < 19) { |
| <?php | |
| defined('BASEPATH') or exit('no access'); | |
| /** | |
| * | |
| */ | |
| use Mike42\Escpos\PrintConnectors\FilePrintConnector; | |
| use Mike42\Escpos\Printer; | |
| use Mike42\Escpos\PrintConnectors\WindowsPrintConnector; |
Note: This is the guide for v 2.x.
For the v3, please follow this url: https://blog.csdn.net/sam_shan/article/details/80585240 Thanks @liy-cn for contributing.
Download: StarUML.io
Source: jorgeancal
Since Chrome apps are now being depracated. Download postman from https://dl.pstmn.io/download/latest/linux
tar -xzf Postman-linux-x64-5.3.2.tar.gzIf any version is installed before, remove it.
sudo rm -rf /opt/Postman| buildscript { | |
| repositories { | |
| mavenCentral() | |
| maven { | |
| url 'https://oss.sonatype.org/content/repositories/snapshots/' | |
| } | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:0.9.+' | |
| classpath 'com.squareup.gradle:gradle-android-test-plugin:0.9.1-SNAPSHOT' |
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| maven { | |
| url 'https://oss.sonatype.org/content/repositories/snapshots/' | |
| } | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:0.9.+' | |
| classpath 'com.squareup.gradle:gradle-android-test-plugin:0.9.1-SNAPSHOT' |