Skip to content

Instantly share code, notes, and snippets.

Avatar

Vlad Svoka Shchvova

View GitHub Profile
@Shchvova
Shchvova / Rules.md
Created Mar 2, 2021
Corona Forum rules
View Rules.md

"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 Sep 29, 2020
Building `libevet` and/with `OpenSSL` for Apple Silicon
View build.sh
#!/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
View gist:62200d4835354d6cb15c010b8600f6fb
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 Mar 3, 2020
Appodeal Corona adapters
View Appodeal.md
  • 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
View build.settings
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait", },
},
}
View 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 Nov 5, 2018
Minimizing corona app to 2.8/3.6 MB
View minimize.sh
#!/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>"
View build.settings
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" }
},
iphone =
{
xcassets = "Images.xcassets",
@Shchvova
Shchvova / main.lua
Created Sep 8, 2017
Graph Filter Demo
View main.lua
display.setStatusBar( display.HiddenStatusBar )
local effect = {
language = "glsl",
category = "filter",
name = "graphDemo",
graph =
{
nodes = {
@Shchvova
Shchvova / build.settings
Last active Aug 15, 2017
Corona Batching
View build.settings
--
-- For more information on build.settings, see the Project Build Settings guide at:
-- https://docs.coronalabs.com/guide/distribution/buildSettings
--
settings =
{
orientation =
{
-- Supported values for orientation: