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
| const readline = require('readline'); | |
| const say = require('say'); | |
| const responses = [ | |
| { keyword: 'hello', message: 'Hi there, how can I help you?' }, | |
| { keyword: 'hi', message: 'Hey, what\'s up?' }, | |
| { keyword: 'hey', message: 'Hi! How are you doing today?' }, | |
| { keyword: 'good morning', message: 'Good morning! How can I assist you today?' }, | |
| { keyword: 'good afternoon', message: 'Good afternoon! What brings you here?' }, | |
| { keyword: 'good evening', message: 'Good evening! Is there anything I can help you with?' }, |
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
| const fs = require('fs'); | |
| const say = require('say'); | |
| // Read command line arguments | |
| const args = process.argv.slice(2); | |
| const fileName = args[0]; | |
| // Read the file contents | |
| fs.readFile(fileName, 'utf8', (err, data) => { | |
| if (err) throw err; |
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
| C:\Windows\explorer.exe ms-settings:network-mobilehotspot |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| U2FsdGVkX1/7DNglflcflNX1NepqxK7hBWR8E7BW3ZYSrQ4a7/EuyFNJe2mVXZqb63/Ln0Jf93I+ZX3h7oT1ew== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| import pygame | |
| # Initialize pygame | |
| pygame.init() | |
| # Define colors | |
| black = (0, 0, 0) | |
| # Set the height and width of the screen | |
| size=[800, 600] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.