Skip to content

Instantly share code, notes, and snippets.

@magazmj
magazmj / raspberry-pi.printer.md
Created April 24, 2022 14:35 — forked from johnantoni/raspberry-pi.printer.md
raspberry pi printer server with cups
sudo apt-get -y install cups

sudo usermod -a -G lpadmin pi

sudo nano /etc/cups/cupsd.conf

comment out: Listen localhost:631

and replace with: Port 631

@magazmj
magazmj / main.dart
Last active February 15, 2019 12:02
GlowingOverscrollIndicator causes the blur effect of the BackdropFilter to be out of the range of the child widget
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',