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
// ==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 |
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
#/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' |
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 'package:flutter/material.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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
#!/bin/bash | |
# Adaptation of: https://stackoverflow.com/questions/31020219/how-change-symlink-path-for-many-files | |
run_mode=false | |
[ $# -eq 3 ] && [ $3 = "run" ] && run_mode=true | |
if [ $# -ne 2 ] && [ "$run_mode" = false ]; then | |
echo "Usage:"; | |
echo "- dry-run: ./scriptname oldpath newpath"; | |
echo "- run: ./scriptname oldpath newpath run"; | |
exit -1; | |
fi |