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
def check_match(regex, line, type, value): | |
m = regex.match(line) | |
if m: | |
dj.log_info('found: %s' % m.group(0)) | |
line = ' \'%s\' => \'%s\', \n' % (type, value) | |
dj.log_info('replaced: %s' %line) | |
return line | |
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
/* | |
Primer: | |
messagingSimobil = require('./messaging.js'); | |
var username = "ime"; | |
var password = "geslo"; | |
var sms = new messagingSimobil.messagingSimobil(username, password); | |
sms.sendSMS('040xxxxxx', 'sporočilo', function(messages_left) { |
NewerOlder