Skip to content

Instantly share code, notes, and snippets.

View katio's full-sized avatar

Johann Echavarria katio

  • Medellín, Colombia
View GitHub Profile
@katio
katio / HttpRequest.lss
Last active December 28, 2015 08:39
Small modification to Lotusscript HttpRequest-class. original author: Tommy Valand http://dontpanic82.blogspot.com/2007/12/httprequest-class.html This is a usefull classic lotusscript created by Tommy Valand. It allow you to capture parameters POST, GET and Cookies. i just made a couple of small modifications for my personal use with POST parame…
Class HttpRequest
'##############################################################
'## ##
'## A class to simplify fetching parameters from Post/Get-requests ##
'## The class also supports fetching cookies from a request ##
'## ##
'## Example of use: ##
'## Dim request As New HttpRequest ##
'## ##
@katio
katio / Preferences.sublime-settings.json
Created December 26, 2015 06:52
Simple Sublime Text preferences JSON
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"font_face": "",
"font_size": 14,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"save_on_focus_lost": true
}
@katio
katio / HTMLMail.ssjs
Last active October 31, 2015 08:26
Class to generate HTML e-mail messages from IBM Domino XPages SSJS by Mark Leusink (Twitter @markleusink). This is a small modification to solve a problem when you use the mime header "To" and the length in characters of a recipient is greater than or equal to 79, as can be the case in a long canonical name. This is solved here using the item "S…
/*
* Took from:
* http://openntf.org/XSnippets.nsf/snippet.xsp?id=create-html-mails-in-ssjs-using-mime
*
* Class to generate HTML e-mail messages from SSJS
*
* Author: Mark Leusink (m.leusink@gmail.com)
*
* Version: 2012-11-20
*