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
//----------------------------------------------------------------------------------------------- | |
// SquirrelNoise5.hpp | |
// | |
#pragma once | |
///////////////////////////////////////////////////////////////////////////////////////////////// | |
// SquirrelNoise5 - Squirrel's Raw Noise utilities (version 5) | |
// | |
// This code is made available under the Creative Commons attribution 3.0 license (CC-BY-3.0 US): |
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
from picamera import PiCamera | |
from io import BytesIO | |
import socket | |
import time | |
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
with PiCamera(resolution='VGA', framerate=5) as camera: | |
time.sleep(2) |
NokiaTool is a simple Bash script (nokiatool.sh
) that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.
This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.
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
#!/bin/bash | |
# syntax: $0 -p <packagename> [-a "author <email>"] [-k "my-keyring-filename.gpg"] [-d <destdir for package>] [-v <packageversion>] [--] <keyfiles...> | |
set -e | |
selfdir=$(readlink -f "$0") | |
selfdir=$(dirname "${selfdir}") | |
tmpdir=$(mktemp --tmpdir -d create-gpgring-package-XXXXXXX) |