Skip to content

Instantly share code, notes, and snippets.

View alexbejann's full-sized avatar
💻
Coding

Alex Bejan alexbejann

💻
Coding
  • Utrecht, The Netherlands
  • 03:42 (UTC +02:00)
View GitHub Profile
@alexbejann
alexbejann / libtiff.sh
Created March 14, 2024 19:15 — forked from dulacp/libtiff.sh
Download & Compile Libtiff for iOS (all architectures)
# Builds a Libtiff framework for the iPhone and the iPhone Simulator.
# Creates a set of universal libraries that can be used on an iPhone and in the
# iPhone simulator. Then creates a pseudo-framework to make using libtiff in Xcode
# less painful.
#
# To configure the script, define:
# IPHONE_SDKVERSION: iPhone SDK version (e.g. 8.1)
#
# Then go get the source tar.bz of the libtiff you want to build, shove it in the
# same directory as this script, and run "./libtiff.sh". Grab a cuppa. And voila.
@alexbejann
alexbejann / migrate_strings.dart
Created May 18, 2023 14:14
This gist contains relevant code in order to convert the xml file from android and ios to covnert them into json format
import 'dart:convert';
import 'dart:io';
import 'package:xml/xml.dart';
void main(List<String> arguments) {
final files = [
'appresources_de',
'appresources_en',
'appresources_nl',
'appresources_en-US'