Skip to content

Instantly share code, notes, and snippets.

View Ananto30's full-sized avatar
🎯
Focusing

Azizul Haque Ananto Ananto30

🎯
Focusing
View GitHub Profile
@blockpane
blockpane / build.sh
Last active February 8, 2024 22:52
Build, package, sign, image, sign again, notarize, and staple a fyne.io app for MacOS
#!/bin/bash
# builds a fyne macos app, signs it, creates a .dmg, signs that, and then requests notarization.
# ... stapling the notarization should wait until the request is approved which can take a minute ...
#
# Pre-reqs:
# Install the full xcode package
# Install the fyne command line tool
# Create a certificate request, send to apple developer site, and import the resulting certificate
# Create an application password in appleid.apple.com tied to the app's name in the keychain
@tahniat-ashraf
tahniat-ashraf / reactor_operator_sample.java
Last active February 19, 2024 14:12
Spring Webflux Reactor Operator Sample Usage
@SpringBootTest
public class ReactorTest {
private Student messi = Student.builder().age(21).fName("Lionel").lName("Messi").id(1).registered(true).lastPaidInYear("2021").build();
private Student ronaldo = Student.builder().age(23).fName("Cristiano").lName("Ronaldo").registered(false).id(2).build();
private Student buffon = Student.builder().age(31).fName("Gigi").lName("Buffon").id(3).registered(false).build();
private Student zlatan = Student.builder().age(29).fName("Zlatan").lName("Ibrahimovic").id(4).registered(true).lastPaidInYear("2020").build();
private Student mbappe = Student.builder().age(19).fName("Kylian").lName("Mbappe").id(5).registered(true).lastPaidInYear("2019").build();
private Student pedri = Student.builder().age(16).fName("Pedri").lName("Gonzalez").id(6).registered(true).lastPaidInYear("2021").build();