How to use:
./wordle.sh
Or try the unlimit mode:
| // imgLib -> Image package from https://pub.dartlang.org/packages/image | |
| import 'package:image/image.dart' as imglib; | |
| import 'package:camera/camera.dart'; | |
| Future<List<int>> convertImagetoPng(CameraImage image) async { | |
| try { | |
| imglib.Image img; | |
| if (image.format.group == ImageFormatGroup.yuv420) { | |
| img = _convertYUV420(image); | |
| } else if (image.format.group == ImageFormatGroup.bgra8888) { |
| #!/bin/bash | |
| # This script allows you to chroot ("work on") | |
| # the raspbian sd card as if it's the raspberry pi | |
| # on your Ubuntu desktop/laptop | |
| # just much faster and more convenient | |
| # credits: https://gist.github.com/jkullick/9b02c2061fbdf4a6c4e8a78f1312a689 | |
| # make sure you have issued |
| # If you use bash, this technique isn't really zsh specific. Adapt as needed. | |
| source ~/keychain-environment-variables.sh | |
| # AWS configuration example, after doing: | |
| # $ set-keychain-environment-variable AWS_ACCESS_KEY_ID | |
| # provide: "AKIAYOURACCESSKEY" | |
| # $ set-keychain-environment-variable AWS_SECRET_ACCESS_KEY | |
| # provide: "j1/yoursupersecret/password" | |
| export AWS_ACCESS_KEY_ID=$(keychain-environment-variable AWS_ACCESS_KEY_ID); | |
| export AWS_SECRET_ACCESS_KEY=$(keychain-environment-variable AWS_SECRET_ACCESS_KEY); |
| #!/usr/bin/env python | |
| # Reflects the requests from HTTP methods GET, POST, PUT, and DELETE | |
| # Written by Nathan Hamiel (2010) | |
| from http.server import HTTPServer, BaseHTTPRequestHandler | |
| from optparse import OptionParser | |
| class RequestHandler(BaseHTTPRequestHandler): | |
| def do_GET(self): |
| import argparse | |
| import logging | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument('--verbose', '-v', action='count', default=1) | |
| args = parser.parse_args() | |
| args.verbose = 40 - (10 * args.verbose) if args.verbose > 0 else 0 | |
| logging.basicConfig(level=args.verbose, format='%(asctime)s %(levelname)s: %(message)s', |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.