Skip to content

Instantly share code, notes, and snippets.

View Malix-off's full-sized avatar
🌊

Malix Malix-off

🌊
View GitHub Profile
@Malix-off
Malix-off / main.sh
Last active November 28, 2023 21:42
Git - StashFlow
#!/bin/bash
# Define the directory for alias hooks
hooks_dir=~/.git/aliasHooks
# Create the directory for alias hooks if it doesn't exist
mkdir "$hooks_dir"
# Create or update the scripts for checkout, switch, and branch
cat >"$hooks_dir/checkout.sh" <<'EOF'
@Malix-off
Malix-off / SimpleCalculator.java
Last active December 11, 2023 14:15
Simplest Java Calculator GUI
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class SimpleCalculator extends JFrame implements ActionListener {
private JTextField displayField;
private double currentValue = 0;
private String currentOperator = "";
@Malix-off
Malix-off / 1px black.jpg
Last active January 27, 2024 18:04
1px black.jpg
1px black.jpg
@Malix-off
Malix-off / README.md
Last active February 4, 2024 20:49
Discord Official Hidden Dark Themes CSS

Discord Official Hidden Dark Themes CSS

Latest Update

2024-02-04

Console

Midnight

@Malix-off
Malix-off / main.go
Created March 30, 2024 16:56
Go ChainCode Starter
package main
import (
"encoding/json"
"fmt"
"github.com/hyperledger/fabric-contract-api-go/contractapi"
)
type SupplyChainContract struct {