- Click the Manage button next to the domain in the Domain List view
- In the Domain tab, scroll down and remove any entries in the Redirect Domain list
- In the Advanced DNS tab...
- Turn on Dynamic DNS and make a note of the password
- Add an A Record for @ pointing to 127.0.0.1
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
| from unittest.mock import MagicMock | |
| # both of the next imports are optional; | |
| # they are used for this example only, but thet could be very well what you need to use | |
| import csv | |
| import io | |
| # our custom "client" simulating the "boto3.client" call | |
| def mock_boto3_client(service_name, *args, **kwargs): | |
| # any service could be added here, just as long you create the custom mocked class for it | |
| services = { |
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
| function getDecimalFromBinary(strNumber) { | |
| if (strNumber == null) { | |
| console.log("Input must be an string.") | |
| return false; | |
| } | |
| let stringTrimmed = strNumber.trim(); | |
| let regexBinary = /^(\d[0-1]*)$/; | |
| let regexResult = regexBinary.test(stringTrimmed); | |
| if (!regexResult) { |
#IRC Reference
Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
##The Basics
/join #channel- Joins the specified channel.
/part #channel- Leaves the specified channel.
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 io = require("socket.io-client"); | |
| const socket = io("http://localhost:3000/default-room", { | |
| path: "/chat", | |
| autoConnect: true | |
| }); | |
| socket.on("connect", function () { | |
| socket.emit("testEvent", "asdf"); |