Skip to content

Instantly share code, notes, and snippets.

View jaxatax's full-sized avatar
👍
HTML CSS JS

jaxatax

👍
HTML CSS JS
View GitHub Profile
@jaxatax
jaxatax / user_input.js
Created April 30, 2019 23:58 — forked from topherPedersen/user_input.js
Command-Line User Input in JavaScript (node.js)
// Code Snippet by Timmy Chen
// REFERENCE: https://repl.it/@timmy_i_chen/readline-sync-example-node
const rs = require('readline-sync');
const x = rs.question('enter thing: ');
console.log('wow you entered ' + x);
@jaxatax
jaxatax / chatbot.py
Created April 24, 2019 00:37 — forked from topherPedersen/chatbot.py
Twilio Chatbook with Python & Flask
from flask import Flask
from twilio.twiml.messaging_response import MessagingResponse
import random
app = Flask(__name__)
@app.route("/", methods=['GET', 'POST'])
def sms_reply():
"""Respond to incoming calls with a simple text message."""