Skip to content

Instantly share code, notes, and snippets.

View Askadar's full-sized avatar
💭
dn noʎ ǝʌᴉƃ ɐuuoƃ ɹǝʌǝu

Nono Square Askadar

💭
dn noʎ ǝʌᴉƃ ɐuuoƃ ɹǝʌǝu
  • ZN
  • Moving to Zarahia
View GitHub Profile
@Askadar
Askadar / makefile
Last active November 21, 2020 20:45
Android cordova simplification makefile
# apk settings (building)
apk:=app-release-unsigned.apk
aligned-apk:=app-release-unsigned-aligned.apk
signed-apk:=app-release-signed.apk
signed-aligned-apk:=app-release-signed-aligned.apk
# cordova
cordova-build-path:=src-cordova/platforms/android/app/build/outputs/apk/release
# keystore settings (signing)
@Askadar
Askadar / iterate.js
Created April 26, 2020 15:21
bizzre iterate function that uses only math to iterate range with a step
/**
* Creator: Dmitryck MPreobrazhenskiy https://disqus.com/by/dmitryck/
* Description: bizzre iterate function that uses only math to iterate range with a step
* Wanted to preserve it for education purposes,
* formatted and replaced `~~` with `Math.floor` for simplicity and descriptivness
*/
function iterate(a, b, c, fn = console.log){
code = [
function(a, b, c, k){