Skip to content

Instantly share code, notes, and snippets.

View TheFanatr's full-sized avatar

Alex Fanat TheFanatr

View GitHub Profile

Process

This document details how I ended up with the contents of the GTKWave formula I published here.

I tried installing the gtkwave homebrew cask, but the .app it installed would not run on my version of macOS (Sequoia; 18.1). I needed to use GTKWave to view a .fst because it didn't seem like there were other options I could use at the time.

Build

I then tried the formula at randomplum/homebrew-gtkwave, but this build failed.

Fail
@TheFanatr
TheFanatr / Extranea-1.JSONC
Last active February 26, 2024 04:14
Microsoft Edge Chromium 114.0.1807.6 Extracted common/extensions/api/_api_features.json File
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This features file defines Chrome Apps APIs implemented under src/chrome.
// See chrome/common/extensions/api/_features.md to understand this file, as
// well as feature.h, simple_feature.h, and feature_provider.h.
{
"arcAppsPrivate": {
"dependencies": ["permission:arcAppsPrivate"],
"contexts": ["blessed_extension"]
@TheFanatr
TheFanatr / A.md
Created March 22, 2023 16:34
Bing Chat Generatives: SwiftUI-Provided Swift Attributes

SwiftUI provides several property wrappers that can be used for programming. Here is a list of some of them:

  • @State: This property wrapper is used to manage small amounts of value type data locally to a view. It owns its data⁵.
// Example
struct ContentView: View {
    @State private var name = ""
    
    var body: some View {
        TextField("Enter your name", text: $name)
@TheFanatr
TheFanatr / ManagedExecutableDataPersistenceUtilities.cs
Last active September 21, 2018 03:54
Approximately functional utlilities class for persisting data, containing possibly unstable code for non-Windows environments.
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Permissions;
using System.Text;
namespace StandardStorage