This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
terminal_app = "/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal" | |
project_path = "/Applications/CoronaSDK/SampleCode/GettingStarted/Clock/" | |
corona_path = "/Applications/CoronaSDK/simulator" | |
main_file = "main.lua" | |
app_name_text = "MyTestApp" | |
app_version_text = "1" | |
app_package_text = "com.arek.mytestapp" | |
app_destination_folder = "/Users/arek/tools/corona/helloworld/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- base64.lua | |
-- | |
-- https://gist.github.com/2563975 | |
-- | |
-- V0.3 for Lua 5.1 | |
-- | |
-- A simple Base64 encoder/decoder that uses a URL safe variant of the standard. | |
-- This implementation encodes character 62 as '-' (instead of '+') and character 63 as '_' (instead of '/'). | |
-- In addition, padding is not used by default. | |
-- A full description of the specification can be found here: http://tools.ietf.org/html/rfc4648 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.naming.Context; | |
import javax.naming.NamingEnumeration; | |
import javax.naming.NamingException; | |
import javax.naming.directory.Attributes; | |
import javax.naming.directory.SearchControls; | |
import javax.naming.directory.SearchResult; | |
import javax.naming.ldap.InitialLdapContext; | |
import javax.naming.ldap.LdapContext; | |
import javax.xml.registry.infomodel.User; | |
import java.io.FileOutputStream; |