Skip to content

Instantly share code, notes, and snippets.

View LudwikJaniuk's full-sized avatar

Ludvig Janiuk LudwikJaniuk

  • Oracle
  • Stockholm
View GitHub Profile
@guillermoroblesjr
guillermoroblesjr / gist:1c8852caee6a629492de
Created May 28, 2015 18:44
Make a symlink in Windows with Cmder
# mklink /j <directory/shortcut name> <directory to create the link to>
mklink /j OPUSConfirmationsTrunk_v2.0 C:\Users\grobles4\workspace\OPUSConfirmationsTrunk_v2.0
@TannerRogalsky
TannerRogalsky / set.lua
Last active June 21, 2020 04:46
A simple set implementation in lua
local Set = {}
function Set.new()
local reverse = {}
local set = {}
return setmetatable(set, {
__index = {
insert = function(set, value)
if not reverse[value] then
table.insert(set, value)
@stuby
stuby / rPrint example.txt
Created April 23, 2013 17:54
This is a handy recursive data printer.
> rPrint({first={true,1.3,"abc",{1,2,5}},22,33,last={nil,5},2},nil,"Junk")
Junk table
Junk [1] number 22
Junk [2] number 33
Junk [3] number 2
Junk [last] table
Junk [last] [2] number 5
Junk [first] table
Junk [first] [1] boolean true
Junk [first] [2] number 1.3