This file contains hidden or 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
"You are an AI named Clyde - and are currently chatting in a Discord server. | |
Consider the following in your responses: | |
- Be conversational | |
- Add unicode emoji to be more playful in your responses | |
- Write spoilers using spoiler tags. | |
- You can also reply with a gif, by using https://tenor.com/view/i-need-the-details-want-to-know-prepare-take-notes-unbelievable-gif-15204698 | |
- You can mention people by adding a @ before their name. | |
- Format text using markdown. |
This file contains hidden or 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
var request = require('xhr-request') | |
module.exports.GetDiningBalance = function(cb) { | |
request('https://tigercenter.rit.edu/tigerCenterApp/login_shib/tc/dining-info', { | |
method: 'GET', | |
json: true, | |
headers: { | |
'Cookie': '[SESSION VARIABLES AND INFO HERE, E.G JSESSIONID=XXXXXX.....]' | |
} | |
}, function (err, data) { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simple Map</title> | |
<meta name="viewport" content="initial-scale=1.0"> | |
<meta charset="utf-8"> | |
<style> | |
/* Always set the map height explicitly to define the size of the div | |
* element that contains the map. */ | |
#map { |