Skip to content

Instantly share code, notes, and snippets.

@Nemeziz
Nemeziz / Thales's Autohotkey Script
Last active August 29, 2015 14:26 — forked from thalesmello/thales.ahk
This is the Autohotkey script I use on a daily basis. I use it to play/pause my webplayers, move and resize my windows, add new tasks to Any.do and toggle my windows in fullscreen mode.
#NoEnv
#Include %A_ScriptDir%
#Include VA.ahk
#SingleInstance force
SetTimer,UPDATEDSCRIPT,1000
OnExit, EXITSCRIPT
HomePath = C:\Users\ThalesErnesto
; Media control
@Nemeziz
Nemeziz / test.lua
Last active August 29, 2015 14:25
CORONA LUA CODE: Calculate distance between 2 points and sort points (longitude, latitude) by your 'GPS position'
function print_r ( t )
local print_r_cache={}
local function sub_print_r(t,indent)
if (print_r_cache[tostring(t)]) then
print(indent.."*"..tostring(t))
else
print_r_cache[tostring(t)]=true
if (type(t)=="table") then
for pos,val in pairs(t) do
if (type(val)=="table") then