-
Enter the Nintendo WFC Settings menu, which can be found in any WFC-enabled game.
-
Select "Nintendo Wi-Fi Connection Settings".
-
Set up a new connection if you haven't already done so, then select the connection slot you wish to use.
-
Scroll down and set "Auto-obtain DNS" to "No", then set Primary DNS to
178.62.43.212
and Secondary DNS to0.0.0.0
. Select "OK" to confirm.
This file contains 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
rem to disable private dns | |
adb shell settings put global private_dns_mode off | |
rem to enable private dns with hostname (example with dns.adguard.com) | |
adb shell settings put global private_dns_mode hostname | |
adb shell settings put global private_dns_specifier dns.adguard.com |
This file contains 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 callerMap = {}; | |
function getCaller(error) { | |
if (error && error.stack) { | |
const lines = error.stack.split('\n'); | |
if (lines.length > 2) { | |
let match = lines[2].match(/at ([a-zA-Z\-_$.]+) (.*)/); | |
if (match) { | |
return { | |
name: match[1].replace(/^Proxy\./, ''), |
This file contains 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 java.util.function.Consumer; | |
import java.util.function.Function; | |
import java.util.Optional; | |
public class Example { | |
public static void main(String []args) { | |
// Create a series of nullable objects. | |
Test a = new Test(); |
This file contains 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
<?php | |
// have to add that opening tag to get syntax highlighting... ¯\_(ツ)_/¯ | |
/** | |
* Prevent update notification for plugin | |
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
* Place in theme functions.php or at bottom of wp-config.php | |
*/ | |
function disable_plugin_updates( $value ) { |
This file contains 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
/** | |
* SHA-256 hash function reference implementation. | |
* | |
* This is an annotated direct implementation of FIPS 180-4, without any optimisations. | |
* it is intended to aid understanding of the algorithm rather than for production use!!! | |
* | |
* While it could be used where performance is not critical, I would recommend using the ‘Web | |
* Cryptography API’ (developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest) for the browser, | |
* or the ‘crypto’ library (nodejs.org/api/crypto.html#crypto_class_hash) in Node.js. | |
* |
This file contains 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
[ | |
{ | |
"data": 0, | |
"id": 0, | |
"name": "minecraft:air", | |
"runtimeID": 0 | |
}, | |
{ | |
"data": 0, | |
"id": 1, |
This is for students who are running on a Non-Microsoft OS, or students who would rather use a lighter weight IDE
-
First download VS Code and install it.
-
Install a C++ extension in VS Code
*The extension button is the square logo on the
NewerOlder