First install Java JDK 8:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Follow this link to use the jdk 8 for Netbeans:
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| <title>Untitled Document</title> | |
| <style type="text/css"> | |
| #sampleDialog{ | |
| height:200px; | |
| width:500px; | |
| background:white; |
| --[[ | |
| Implemented as described here: | |
| http://flafla2.github.io/2014/08/09/perlinnoise.html | |
| ]]-- | |
| perlin = {} | |
| perlin.p = {} | |
| -- Hash lookup table as defined by Ken Perlin | |
| -- This is a randomly arranged array of all numbers from 0-255 inclusive |
First install Java JDK 8:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Follow this link to use the jdk 8 for Netbeans:
I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.
Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.
All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.
Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
WARNING: This process is EXTREMELY experimental and not officially supported yet!
Thanks to the ongoing work on .NET WebAssembly support, it is now possible to build FNA games for the web!
If you decide to give this a try, be sure to tell us about it in the FNA Discord! I'm happy to help if you run into problems or have any further questions that are not answered here.
This is a mini-tutorial of sorts for getting started with gdb on the Switch, with the target audience being people who want to mod and/or reverse games, with no prerequisite knowledge of gdb. The goal will be to walk you through some of the basic workflows needed to use a debugger on the Switch, while being brief enough for skimming for when you forget things.
If some part is unclear, your OS doesn't have install instructions, or you feel part of your workflow should be added here, feel free to comment any additions.
(If you only need a quick reference Jump to the Appendix)
First off you'll need a version of GDB compatible with aarch64. This can be obtained via either a distribution of
If you have not played OneShot yet, go do that RIGHT NOW. It's available on Steam and itch.io, and it's one of my favorite games of all time.
This puzzle appears in the Factory in the Refuge, and is a variant of the game Mastermind. You have 5 lights that you can toggle to either orange, blue, green or red. There's a correct pattern of 5 colors that you're supposed to guess. After you set each light, you can pull a lever, and it will tell you how many lights you got correct. You get 10 attempts before the puzzle resets itself. Depending on the pattern, it can be quite easy or fairly tricky to guess the right pattern.
| # Based on: | |
| # https://stackoverflow.com/a/21957017 | |
| # https://gist.github.com/HaiyangXu/ec88cbdce3cdbac7b8d5 | |
| from http.server import SimpleHTTPRequestHandler | |
| import socketserver | |
| import sys | |
| class Handler(SimpleHTTPRequestHandler): | |
| extensions_map = { |
| // written by https://talk.objc.io/episodes/S01E211-simple-fuzzy-matching | |
| // credits should go to obj.io | |
| import SwiftUI | |
| import Cocoa | |
| struct ContentView: View { | |
| @State var needle: String = "" | |
| var filtered: [(string: String, indices: [String.Index])] { |