Skip to content

Instantly share code, notes, and snippets.

Avatar

Jakub Kadlubiec jakubka

  • Pipedrive
  • Prague, Czech Republic
View GitHub Profile
View generovaniDatumu.js
// funkce, ktera vygeneruje 7 datumu (ode dneska vcetne)
function generateDates() {
const dates = [];
const currentDate = new Date();
for (let i = 0; i < 7; i++) {
const date = new Date(currentDate);
date.setDate(date.getDate() + i);
View chlastbot-twiml.xml
<Response>
<script/>
<Say voice="alice">A product is available! Go get it.</Say>
</Response>