Skip to content

Instantly share code, notes, and snippets.

View mkloouo's full-sized avatar
🗼
foo

Kolia Odnosumov mkloouo

🗼
foo
View GitHub Profile
@mkloouo
mkloouo / how-to-react-native-app-versioning.md
Created December 20, 2024 10:00
How to easily update React Native app semantic/build versions

TL;DR

This script automates the process of updating:

  • The package.json version.
  • Xcode target versions.
  • Android Gradle version names.

It ensures the build numbers are synced across both iOS and Android platforms.


@mkloouo
mkloouo / messWithTikTokProfile.js
Created May 5, 2020 07:46
messes with TikTok profile :)
function messWithTikTokProfile() {
Array.prototype.filter
.call(
document.getElementsByClassName('count-infos')[0].children,
(item) => {
return item.tagName === 'STRONG';
})
.forEach((item) => item.innerText = Math.floor(Math.random() * 10 + 1));
Array.prototype.forEach
.call(document.querySelectorAll('strong[class~="video-count"]'),