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 July 12, 2023 23:54
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 November 10, 2024 15:34
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 June 3, 2024 15:38
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";