This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIT License | |
Copyright (c) 2023 Experimental Software | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
A full page loading indicator can be created with the loader_overlay package.
flutter pub add loader_overlay
import 'package:loader_overlay/loader_overlay.dart';
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
print(''.length); | |
print('a'.length); | |
print('abc'.length); | |
print('abcdefghijklmnopqrstuvwxyz'.length); | |
} |
# Enable SSH login
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCaBEGFNl48E9S9YBP5ICcGXMvajY4et9S3JGkN65cjS2+Ws0LyFERSV027uJK7vwV9adN2a7fZCtbk7C/70Dsa5/lrf8ZE6N8lFbj/srsv+QPnj/6/MVCDbG+cgW/k0DZ2z2hwCuAZdcKnb3Pvwj02z/LtsxmH8rDruc/UQZTk/9NehiIM9QW38DnVP/IsVq9cmOt4/hT2R9nmo2uRxs/PdVcDoqwatLzO7fXO2BrufpD9M4GrEphHDc3WNe2Pf0vhEmeJQOzAkPquKb9DTe1yGSnsW9X4dpRplbWRWO70MkwAoKqwuhnX2N8Xz7pt3asbIQTV5xVaMmT9ohsTwO1Zafhjb9M0pBipwRPs4/G/CQoojLVhy6IlP+JfyrgvoEcPQQYTvfJ1JJPBM9ySJGOnUMXGtYy8zXj914ZIgoxDaydFEYhCiq23imEg8DJumNWB4mE0GjeE42ELj2dkdL6UhBFp0aRxFM9r0LeL3c6/EvoeZpoarjwiKhVc9bwyMKr1fm/IazZEwAtPOxQmsq2cqO/ybBBwE5JUgEM+nAKaSDI1Z+v5E3BghA3vl57PmgHe/bSQi4TBxFOvcdMl0dmSrLQU4SJSESbU7Tigx+HJE3gEsQxODHVjpC9r9aa1eBYI1zS3qPRtWbJJVW5nNhmJrGX/BiOLxJsuiJ4cLjBNOw== jm@experimental-software.com" >> ~/.ssh/authorized_keys
# Enable Chrome browser to start
sudo apt-get install -y xvfb
sudo apt-get -y install xorg xvfb gtk2-engines-pixbuf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git stash list | awk -F: '{ print "\n\n\n\n"; print $0; print "\n\n"; system("git --no-pager stash show -p " $1); }' | less | |
# See https://stackoverflow.com/questions/10725729/see-whats-in-a-stash-without-applying-it#comment27167616_10726185 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Profiling mode | |
flutter build web --profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<h1>Clean Code Checklist</h1> | |
<form action=#"> | |
<fieldset> | |
<br/><label><input type="checkbox">Reasonable unit test coverage</label> | |
<br/><label><input type="checkbox">Code is easily understandable</label> | |
<br/><label><input type="checkbox">Logical module structure</label> | |
<br/><label><input type="checkbox">Regresssion tests passed</label> | |
<br/><label><input type="checkbox">Code style tests passed</label> |
NewerOlder