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
// | |
// Part of 2Chat.co | |
// Learn more about how to use this code at: https://blog.2chat.co/send-a-whatsapp-message-for-each-google-form-response/ | |
// | |
// | |
// Paste the URL you copied from the flow you created on 2Chat | |
// | |
// ❗ Replace everything inside the quotation marks with the URL generated by 2Chat ❗ | |
// |
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
API_KEY=UAK123123... |
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
// | |
// Part of 2Chat.co | |
// Learn more about how to use this code at: https://blog.2chat.co/send-a-whatsapp-message-for-each-google-form-response/ | |
// | |
// | |
// Paste the URL you copied from the flow you created on 2Chat | |
// | |
// ❗ Replace everything inside the quotation marks with the URL generated by 2Chat ❗ | |
// |
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
// | |
// App Script to send WhatsApp messages using 2Chat and Google Sheets | |
// | |
const _2CHAT_API_KEY = '<PASTE YOUR API KEY HERE>'; | |
const _2CHAT_SOURCE_PHONE_NUMBER = '<PASTE YOUR WHATSAPP PHONE NUMBER HERE>'; | |
const STATUS_PENDING = 'Pending'; | |
const STATUS_QUEUED = 'Queued'; | |
const STATUS_SENDING = 'Sending'; | |
const STATUS_FAILED = 'Failed'; |
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
#!KAMAILIO | |
# | |
# Kamailio (OpenSER) SIP Server v3.2 - default configuration script | |
# - web: http://www.kamailio.org | |
# - git: http://sip-router.org | |
# | |
# Direct your questions about this file to: <sr-users@lists.sip-router.org> | |
# | |
# Refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php |
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
#!KAMAILIO | |
# | |
# Kamailio (OpenSER) SIP Server v3.2 - default configuration script | |
# - web: http://www.kamailio.org | |
# - git: http://sip-router.org | |
# | |
# Direct your questions about this file to: <sr-users@lists.sip-router.org> | |
# | |
# Refer to the Core CookBook at http://www.kamailio.org/dokuwiki/doku.php |
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
% Lista de presidentes de Paraguay luego de la guerra del chaco | |
presidente('Eusebio Ayala', 1932, 1936, 'Liberal'). | |
presidente('Rafael Franco', 1936, 1937, 'Militar'). | |
presidente('Félix Paiva', 1937, 1939, 'Liberal'). | |
presidente('José Félix Estigarribia', 1939, 1940, 'Liberal'). | |
presidente('Higinio Morínigo', 1940, 1948, 'Liberal'). | |
presidente('Juan Manuel Frutos', 1948, 1948, 'Militar'). | |
presidente('Juan Natalicio González', 1948, 1949, 'Colorado'). | |
presidente('Raimundo Rolón', 1949, 1949, 'Colorado'). |
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
static int create_cca_return_code(int result) { | |
int rc; | |
int_str avp_val, avp_name; | |
avp_name.s.s = RO_AVP_CCA_RETURN_CODE; | |
avp_name.s.len = RO_AVP_CCA_RETURN_CODE_LENGTH; | |
avp_val.n = result; | |
avp_val.s.s = RO_RETURN_TRUE_STR; //assume true | |
avp_val.s.len = 1; |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Text; | |
using System.Windows.Forms; | |
using dwgsms.API; | |
using dwgsms.DWG; |
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
string number = "+595981146623"; | |
string text = "Hello World"; | |
int sendingPort = 0; | |
for(;;) | |
{ | |
Console.ReadLine(); | |
if (!Gateway.IsGwConnected) | |
{ |
NewerOlder