NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
# Need to enable scripting before executing the file | |
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force | |
cd ~ | |
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression | |
scoop install git | |
scoop bucket add java |
import 'dart:ffi'; | |
import 'dart:io'; | |
import 'package:ffi/ffi.dart'; | |
import 'package:unorm_dart/unorm_dart.dart' as unorm_dart; // fallback | |
String _getLibicuModuleName() { | |
if (Platform.isAndroid) { | |
return 'libicu.so'; | |
} else if (Platform.isWindows) { |
#include <cstdio> | |
#include <cstring> | |
#include <vector> | |
#include <map> | |
#define APP(n) (0xe0 + n) | |
struct HUFF_ENTRY | |
{ | |
unsigned char len; |
/* | |
* The MIT License | |
* | |
* Further resources on the MIT License | |
* Copyright 2018 Cuminas Corporation/@espresso3389 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to | |
* deal in the Software without restriction, including without limitation the | |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(const MyApp()); | |
class MyApp extends StatelessWidget { | |
const MyApp({Key? key}) : super(key: key); |
void main() { | |
print('''Multiline | |
String | |
can be | |
directly embedded on the code!'''); | |
} |
#include <cstdio> | |
#include <random> | |
#include <experimental/generator> | |
auto random() | |
{ | |
std::mt19937 r; | |
for (;;) | |
co_yield r(); | |
} |