Skip to content

Instantly share code, notes, and snippets.

View fullflash's full-sized avatar

fullflash

View GitHub Profile
@MarcinHradowicz
MarcinHradowicz / improved_draggable_scrollable_sheet.dart
Last active May 8, 2025 21:05
ImprovedDraggableScrollableSheet
class ImprovedDraggableScrollableSheet extends StatefulWidget {
const ImprovedDraggableScrollableSheet({Key? key}) : super(key: key);
@override
State<ImprovedDraggableScrollableSheet> createState() => _ImprovedDraggableScrollableSheetState();
}
class _ImprovedDraggableScrollableSheetState extends State<ImprovedDraggableScrollableSheet> {
final GlobalKey commentsHeaderKey = GlobalKey();
@patriknyblad
patriknyblad / xcrun_simctl_cheatsheet.md
Last active April 1, 2025 10:07
iOS Simulator Terminal Commands `$ xcrun simctl`

Managing iOS Simulators

List all simulators created

$ xcrun simctl list --json

Delete old and unavailable simulators

$ xcrun simctl delete unavailable
@joashp
joashp / PushNotifications.php
Last active February 19, 2025 06:09
Simple PHP script to send Android Push Notification, iOS Push Notification and Windows Phone 8 Push Notification
<?php
// Server file
class PushNotifications {
// (Android)API access key from Google API's Console.
private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI';
// (iOS) Private key's passphrase.
private static $passphrase = 'joashp';
// (Windows Phone 8) The name of our push channel.
private static $channelName = "joashp";