Skip to content

Instantly share code, notes, and snippets.

View marceliwac's full-sized avatar
:octocat:
Bug-bounty hunting

Marceli Wac marceliwac

:octocat:
Bug-bounty hunting
View GitHub Profile
@multiarts
multiarts / ClipShadowPath.dart
Last active March 2, 2024 18:36 — forked from coman3/ClipShadowPath.dart
Updated to null safety
import 'package:flutter/material.dart';
class ClipShadowPath extends StatelessWidget {
final Shadow shadow;
final CustomClipper<Path> clipper;
final Widget child;
const ClipShadowPath({
Key? key,
required this.shadow,
@fauxpark
fauxpark / applefn.patch
Last active May 2, 2024 18:45
QMK Apple Fn
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 18f8b0bbfc..4ef3e230e4 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
endif
endif
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes)
+ OPT_DEFS += -DAPPLE_FN_ENABLE
@miglen
miglen / osx_wifi_strenght_command_line.sh
Created January 14, 2018 18:46
Mac OS X Wifi Signal strength meter command line
#!/bin/bash
# Simple command to display the wireless strenght signal
#
clear
while x=1
do /System/Library/PrivateFrameworks/Apple*.framework/Versions/Current/Resources/airport -I \
| grep CtlRSSI \
| sed -e 's/^.*://g' \
| xargs -I SIGNAL printf "\rWifi dBm: SIGNAL"
sleep 0.5