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
| # Install the toolchain | |
| ```bash | |
| brew tap SergioBenitez/osxct | |
| brew install x86_64-unknown-linux-gnu | |
| ``` | |
| # this should get installed in: | |
| # /opt/homebrew/Cellar/x86_64-unknown-linux-gnu/ | |
| # Installing the macOS OpenSSL - if not already installed |
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
| ;------------------------------------------------------------------------- | |
| ; | |
| ; The WOZ Monitor for the Apple 1 | |
| ; Written by Steve Wozniak 1976 | |
| ; | |
| ;------------------------------------------------------------------------- | |
| .CR 6502 | |
| .OR $FF00 | |
| .TF WOZMON.HEX,HEX,8 |
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
| $userPath = $env:USERPROFILE | |
| $pathExclusions = New-Object System.Collections.ArrayList | |
| $processExclusions = New-Object System.Collections.ArrayList | |
| $pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
| $pathExclusions.Add('C:\Windows\assembly') > $null | |
| $pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
| $pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null | |
| $pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null | |
| $pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null |
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
| public enum aEnum { | |
| aValue ("value"), | |
| aOtherValue ("string for value"), | |
| aAddValue ("another value"); | |
| private final String name; | |
| private aEnum(String name) { | |
| this.name = name; | |
| } |
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 lombok.extern.log4j.Log4j2; | |
| @Log4j2 | |
| public class CSysFormular { | |
| public void preJava8() { | |
| String parameter1 = "test"; | |
| // Log only if log level equal or above debug | |
| if (logger.isDebugEnabled()) { |