Skip to content

Instantly share code, notes, and snippets.

@Milvintsiss
Milvintsiss / main.dart
Last active December 31, 2023 01:42
[SO]CircularProgressBar with percentage
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@Milvintsiss
Milvintsiss / get_kexts_versions.sh
Last active April 4, 2023 19:54
Little script to enumerate all OpenCore Kexts name's and their versions in an EFI.
#/bin/bash
while [ ! -d "EFI" ]
do
cd ..
if [ $(pwd) == "/" ]; then
echo "You are not in an EFI directory"
exit
fi
done
cat EFI/OC/kexts/*/Contents/Info.plist | grep -A 1 "CFBundleName\|CFBundleShortVersionString" | awk 'FNR%3==2{print $0}' | sed 's/..string.//g' | awk 'NR%2{printf "%s: ",$0;next;}1'
// ==UserScript==
// @name MAKE BLACKHOLE GREAT AGAIN
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Pouet
// @author Milvintsiss
// @match https://profile.intra.42.fr
// @include https://profile.intra.42.fr/users/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=42.fr
// @grant none