
sudo apt install python python3-venv
#!/usr/bin/env ruby | |
require 'openssl' | |
def print_usage | |
puts "Usage: #{File.basename($0)} [-s|-S|-C component] <serial_number> [keychain]" | |
puts "Options:" | |
puts " -s Show only certificate subject (single line)" | |
puts " -S Show only certificate subject (one parameter per line)" | |
puts " -C component Show only specified component (e.g., -C CN for Common Name)" |
#!/usr/bin/env ruby | |
require 'openssl' | |
def print_usage | |
puts "Usage: #{File.basename($0)} <provisioning_profile_path>" | |
puts "Example: #{File.basename($0)} /path/to/profile.mobileprovision" | |
exit 1 | |
end |
#ifndef WINRT_FORMATTERS_H | |
#define WINRT_FORMATTERS_H | |
#include <windows.h> | |
#include <winrt/base.h> | |
#include <string> | |
#include <format> |
const fs = require('fs').promises; | |
const path = require('path'); | |
const cheerio = require('cheerio'); | |
const sharp = require('sharp'); | |
const zlib = require('zlib'); | |
const util = require('util'); | |
const gzip = util.promisify(zlib.gzip); | |
async function optimizeAndConvertToDataURI(imagePath, baseDir, useLossless) { |
# 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) { |
NOTE: WORK IN PROGRESS
This document assumes Windows Insider Preview Dev.
Installing Ubuntu 22.04.1 LTS from Microsoft Store.
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); |