Skip to content

Instantly share code, notes, and snippets.

Brilliant developer

Alexander Shniperson AlexanderShniperson

Brilliant developer
  • OrionLab
  • USSR
View GitHub Profile
AlexanderShniperson / MinMaxPriceTextInputFormatter.dart
Last active Jul 29, 2020
Flutter custom price input formatter for standard TextField
View MinMaxPriceTextInputFormatter.dart
import 'package:flutter/services.dart';
class MaxPriceTextInputFormatter extends TextInputFormatter {
: assert(maxPrice == null || maxPrice > 0);
final double maxPrice;
TextEditingValue formatEditUpdate(
AlexanderShniperson /
Created Feb 7, 2019 — forked from lukicdarkoo/
Raspberry Pi: AP + client mode
# The script configures simultaneous AP and Managed Mode Wifi on Raspberry Pi Zero W (should also work on Raspberry Pi 3)
# Usage: curl | sh -s WifiSSID WifiPass APSSID APPass
# Licence: GPLv3
# Author: Darko Lukic <>
# Special thanks to:
MAC_ADDRESS="$(cat /sys/class/net/wlan0/address)"