Skip to content

Instantly share code, notes, and snippets.

View Shchvova's full-sized avatar

Vlad Svoka Shchvova

View GitHub Profile
@Shchvova
Shchvova / togif
Last active February 24, 2023 18:50
Screen recording to gif advanced
#!/bin/zsh
function help {
echo "Easily make gifs from screen recordings
> to install on macOS:
brew install imagemagick ffmpeg
sudo curl https://gist.githubusercontent.com/shchvova/4e8c24f35340166c515f7e8ae48b526f/raw/togif > /usrl/local/bin/togif
sudo chmod +x /usrl/local/bin/togif
> usage
@Shchvova
Shchvova / Rules.md
Created March 2, 2021 18:28
Corona Forum rules

"With great power there must also come... great responsibility!" — Stan Lee

Last month we upgraded our forums. The new software has many new features and abilities that our old forums did not. This is a great thing, but in rare cases it leads to abuse of accepted online etiquette.

Forum rules are written with the hope that moderators will never have to enforce them. The problem is that forum rules are usually not all that visible and it's easy to forget them. So, we are posting them here as a reminder.

Without further delay, here are Corona Labs' official forum rules:

1. Be polite!

Posts may not include personal attacks or links to offensive or illegal material. Remember that we have members in various age groups, so keep things professional. Instead of posting an attack, post something positive that contributes to the conversation.

@Shchvova
Shchvova / build.sh
Last active September 29, 2020 19:35
Building `libevet` and/with `OpenSSL` for Apple Silicon
#!/usr/bin/env bash
set -e
set -x
mkdir libevent_ossl_build
cd libevent_ossl_build
ROOT="$(pwd)"
git clone git://git.openssl.org/openssl.git
cd openssl
@Shchvova
Shchvova / gist:62200d4835354d6cb15c010b8600f6fb
Last active July 2, 2020 18:23
Debug Corona/Solar2d build
reg ADD "HKEY_CURRENT_USER\Software\Ansca Corona\Corona Simulator\Preferences" /f /v debugBuildProcess /d 5
defaults write com.coronalabs.Corona_Simulator debugBuildProcess -int 5
@Shchvova
Shchvova / Appodeal.md
Created March 3, 2020 11:16
Appodeal Corona adapters
  • plugin.appodeal.beta.AdColony
    • com.appodeal.ads.sdk.networks:adcolony:2.6.0.2
  • plugin.appodeal.beta.AmazonAds
    • com.appodeal.ads.sdk.networks:amazon_ads:2.6.0.1
  • plugin.appodeal.beta.AppLovin
    • com.appodeal.ads.sdk.networks:applovin:2.6.0.2
  • plugin.appodeal.beta.Appnext
  • plugin.appodeal.beta.Chartboost
    • com.appodeal.ads.sdk.networks:chartboost:2.6.0.1
  • plugin.appodeal.beta.FacebookAudience
@Shchvova
Shchvova / build.settings
Last active March 11, 2019 22:30
WebkitSpeech
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait", },
},
}
@Shchvova
Shchvova / keybase.md
Created August 15, 2018 14:47
keybase.md

Keybase proof

I hereby claim:

  • I am shchvova on github.
  • I am svoka (https://keybase.io/svoka) on keybase.
  • I have a public key whose fingerprint is 9002 70DF 210E EB06 EE2B BE9D 5181 234B 6659 167C

To claim this, I am signing this object:

@Shchvova
Shchvova / minimize.sh
Last active November 5, 2018 02:06
Minimizing corona app to 2.8/3.6 MB
#!/bin/bash -e
DELETE_RES=0
while test $# -gt 0; do
case "$1" in
-h|--help)
echo "minimize.sh - repackage APK for minimal size"
echo " "
echo "./minimize.sh [--no-res|-n] <input.apk>"
@Shchvova
Shchvova / build.settings
Created November 13, 2017 15:32
safe area demo
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" }
},
iphone =
{
xcassets = "Images.xcassets",