pinboard-elinks

Check-in [720e4ef66c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add note about part of code not covered by license
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 720e4ef66cc198e803204962fb144d43e7a958a8e8023decf99909d742308cef
User & Date: atomicules@users.noreply.github.com 2014-02-11 11:53:28
Context
2014-03-07
10:13
Merge branch 'master' of github.com:atomicules/pinboard-elinks check-in: d04a0af032 user: base@atomicules.co.uk tags: master, trunk
2014-02-11
11:53
Add note about part of code not covered by license check-in: 720e4ef66c user: atomicules@users.noreply.github.com tags: master, trunk
11:50
Add license check-in: 31c581828a user: atomicules@users.noreply.github.com tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pinboard.lua.

93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
			getnextlines = getnextlines - 1
		end
	end
	return login,password
end


--The following taken from the contrib hooks.lua sample
function hx (c)
    return string.char((c >= 10 and (c - 10) + string.byte ('A')) or c + string.byte ('0'))
end

function char2hex (c)
    return '%'..hx (math.floor(string.byte (c) / 16))..hx (math.mod(string.byte (c), 16))
end

function escape (str)
    return string.gsub (str, "(%W)", char2hex)
end
--end stealing







|












93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
			getnextlines = getnextlines - 1
		end
	end
	return login,password
end


--The following taken from the contrib hooks.lua sample and so not covered by accompanying LICENSE
function hx (c)
    return string.char((c >= 10 and (c - 10) + string.byte ('A')) or c + string.byte ('0'))
end

function char2hex (c)
    return '%'..hx (math.floor(string.byte (c) / 16))..hx (math.mod(string.byte (c), 16))
end

function escape (str)
    return string.gsub (str, "(%W)", char2hex)
end
--end stealing