Skip to content

Instantly share code, notes, and snippets.

@Benzeliden
Benzeliden / corona-lua-snippet.json
Created June 14, 2019 05:30
vs code snippets for Corona
{
// Place your snippets for lua here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
local N, M = 7500, 7500
local startTime, sum, memused, memused2, memusedArr,testMatrix
memusedArr = {0,0,0}
matrix = {}
matrix.__index = matrix
function matrix:new(w, h)
self = setmetatable({}, self)
self.w = w
@Benzeliden
Benzeliden / config.lua
Created April 26, 2018 21:43
Corona androidSystemUiVisibility
--
-- For more information on config.lua see the Project Configuration Guide at:
-- https://docs.coronalabs.com/guide/basics/configSettings
--
application =
{
content =
{
--width = 320,