Open in app

Sign In

Write

Sign In

Borama Apps
Borama Apps

75 Followers

Home

About

Jul 28, 2021

Reverse audio files on IOS and Mac using Swift and Accelerate framework.

Recently my task at Kinzoo was to add an option to reverse audio files. I’ve found a few examples, but they weren’t fast. I decided to use the reverse function from the Accelerate framework. It works fast!!! It’s important to note that file format is not the same as…

Swift

1 min read

Swift

1 min read

Reverse audio files on IOS and Mac using Swift and Accelerate framework.

Recently my task at Kinzoo was to add an option to reverse audio files. I’ve found a few examples, but they weren’t fast. I decided to use the reverse function from the Accelerate framework. It works fast!!!

It’s important to note that file format is not the same as…

--

--


Feb 6, 2021

Re-sign H3lix for IOS (yes Jailbreak…)

I’ve been using h3lix (https://h3lix.tihmstar.net) in the past on my Iphone. Recently I needed it again, but it turned out Cydia Impactor doesn’t let you install h3lix anymore. There was a tweet about it: https://twitter.com/EzequielTBH/status/1197231387255939073 and followed the steps: Download h3lix (https://h3lix.tihmstar.net) Download (or copy paste) script and run it…

I OS

1 min read

Re-sign H3lix for IOS (yes Jailbreak…)
Re-sign H3lix for IOS (yes Jailbreak…)
I OS

1 min read


Jan 14, 2021

IOS, building WebRTC from source with bitcode enabled

Install depot_tools: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git export PATH=/path/to/fetched/depot_tools:$PATH Build: mkdir webrtc cd webrtc fetch --nohooks webrtc_ios gclient sync cd webrtc/src Enable bitcode and specify architecutres needed. tools_webrtc/ios/build_ios_libs.py --bitcode --arch arm64 x64 arm Framework is inside: webrtc/src/out_ios_libs/ Official docs:

I OS

1 min read

I OS

1 min read

IOS, building WebRTC from source with bitcode enabled

Install depot_tools:

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=/path/to/fetched/depot_tools:$PATH

Build:

mkdir webrtc
cd webrtc
fetch --nohooks webrtc_ios
gclient sync
cd webrtc/src

Enable bitcode and specify architecutres needed.

tools_webrtc/ios/build_ios_libs.py --bitcode --arch arm64 x64 arm

Framework is inside:

webrtc/src/out_ios_libs/

Official docs:

iOS

Show Contents The WebRTC framework is published on cocoapods.org. The framework is built from tip-of-tree. NOTICE: The…

webrtc.github.io

How to strip unwanted architectures (when distributing to app store you need to strip x64 or…

--

--


Nov 30, 2020

IOS/OSX Messaging Using the Network Framework and Bonjour Service (no external server required!).

Today we’ll explore how to send messages between multiple Apple devices using the Network framework, without the need of having external server. We’ll also use Bonjour service to let clients discover the each others automatically. Let’s start with the first task: discovering devices using Bonjour (https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/NetServices/Introduction.html)

I OS

4 min read

IOS/OSX Messaging Using the Network Framework and Bonjour Service.
IOS/OSX Messaging Using the Network Framework and Bonjour Service.
I OS

4 min read


Published in Next Level Swift

·Aug 23, 2020

Deep dive into Apple’s URLRequest Cache Policies

Hands-On analysis of Apple’s Cache Policies working together with a Node.js Express Server to increase API efficiency and performance — There are only two hard things in Computer Science: cache invalidation and naming things. — Phil Karlton Fortunately for us, Apple helps us by providing robust and powerful cache policies. Policies we should use instead of building a custom (NSCache) solution! In this post, we’ll explore different URLRequest cache policies…

Swift

5 min read

Deep dive into Apple’s URLRequest Cache Policies
Deep dive into Apple’s URLRequest Cache Policies
Swift

5 min read


Mar 20, 2020

Assorted OSX / Linux commands cheat sheet

Reset mysql root access: sudo service mysql stop sudo mysqld_safe —skip-grant-tables —skip-networking & mysql -u root In the mysql: use mysql; update user set authentication_string=password('NEWPASSWORD') where user='root'; flush privileges; quit Restart mysql: sudo service mysql restart In case of: mysqld_safe Directory ‘/var/run/mysqld’ for UNIX socket file don’t exists. error, create…

Linux

1 min read

Linux

1 min read


Nov 20, 2019

Vue, Nuxt, Firebase, Google-Sign

Let’s create a new Vue / Nuxt app: npx create-nuxt-app google-sign Enable Axios, choose Single Page App rendering mode. Add firebase to our Nuxt app: npm install firebase --save Create a firebase plugin, add new file ‘firebase.js’ inside /plugins and register it inside nuxt.config.js Next, create a Firebase project. Go…

Firebase

4 min read

Vue, Nuxt, Firebase, Google-Sign
Vue, Nuxt, Firebase, Google-Sign
Firebase

4 min read


Published in Better Programming

·Jul 9, 2019

Synchronizing Async Code

With DispatchGroup and DispatchSemaphore — Let say you need to perform multiple network calls and need to wait for them to complete to aggregate results. I think the simplest solution would be to use DispatchGroup (if the order of execution doesn’t matter) or DispatchSemaphore. I will demonstrate both the problem and its solutions by using…

I OS

2 min read

Synchronizing async code with DispatchGroup, DispatchSemaphore
Synchronizing async code with DispatchGroup, DispatchSemaphore
I OS

2 min read


Jun 18, 2019

Move Wordpress site into Docker and publish it on remote site using Nginx.

After finishing our family blog from our journey through Sulawesi, we still haven’t decided where we will host it. I decided using docker to contain it and make it easy to switch hosts in the future. Backup both content and database. Connect to your host (for example via ssh). Zip…

Docker

3 min read

Move wordpress from local host to remote site using Nginx and Docker.
Move wordpress from local host to remote site using Nginx and Docker.
Docker

3 min read


May 30, 2019

UICollectionView inside UIView in Swift using XIB

This post shows how to use UICollectionView inside UIView with custom UICollectionView cells and interface builder, this is super basic example without any extras. First Create new Single View App. Create custom view using File… New / Cocoa Touch Class, call it CustomView and make sure it subclasses UIView Next…

I OS

3 min read

UICollectionView inside UIView in Swift using XIB
UICollectionView inside UIView in Swift using XIB
I OS

3 min read

Borama Apps

Borama Apps

75 Followers

ios, android, web apps. https://borama.co, http://twitter.com/boramaapps

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech