Starting Vim
vim [file1] [file2] ...
| ["TAB q w e r t y u i o p BS \nCTL a s d f g h j k l :; RET\nSFT z x c v b n m , . / \u25cc\n \u25cc \u25cc OPT CMD M1 M3 \u2423 M2 \u25cc \u25cc \u25cc \u25cc", " ~ ! @ # $ % ^ 7 8 9 \u25cc \u25cc\n \u25cc \" & * _ \u25cc + 4 5 6 ' |\n \u25cc \u25cc \u25cc \u25cc \u25cc . 0 1 2 3 / \u25cc\n \u25cc \u25cc OPT CMD \u25c9 \u25cc \u25cc M5 \u25cc \u25cc \u25cc \u25cc", " ` \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc BS\n \u25cc [ ] ( ) \u25cc \u25cc - = \u25cc \u25cc \\\n \u25cc < > { } \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc \u25cc\n \u25cc \u25cc OPT CMD M4 \u25cc \u25cc \u25c9 |
| # displayknob_test1.py -- Demonstrate round LCD as a display knob | |
| # | |
| # 1 Jul 2022 - @todbot / Tod Kurt | |
| # | |
| # You'll need to install 'adafruit_display_text', 'adafruit_imageload' | |
| # and 'gc9a01' library. | |
| # Easiest way is from Terminal: | |
| # circup install adafruit_display_text adafruit_imageload gc9a01 | |
| # |
| [ | |
| { | |
| "name": "SofleKeyboard", | |
| "author": "Josef Adamcik", | |
| "switchMount": "cherry" | |
| }, | |
| [ | |
| { | |
| "y": 0.2, | |
| "x": 3, |
| #! /usr/bin/env ruby | |
| # NOTE: Requires Ruby 2.1 or greater. | |
| # This script can be used to parse and dump the information from | |
| # the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
| # | |
| # It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
| # | |
| # It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
| import numpy as np | |
| def find_closest_orthogonal_matrix(A): | |
| ''' | |
| Find closest orthogonal matrix to *A* using iterative method. | |
| Bases on the code from REMOVE_SOURCE_LEAKAGE function from OSL Matlab package. | |
| Args: | |
| A (numpy.array): array shaped k, n, where k is number of channels, n - data points |
| import json, time, os.path | |
| import blinkt, requests | |
| status_colors = {'current':[1,1,1],'high':[1,0,0],'low':[0,0,1],'precip':[0,1,0]} | |
| blinkt.set_clear_on_exit() | |
| blinkt.set_brightness(.1) | |
| def getForecast(key,lat,lng): | |
| url = 'https://api.darksky.net/forecast/' + key + '/' + str(lat) + ',' + str(lng) |
| #!/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 |
| # Fish function to import bash aliases v0.2 | |
| # Copyright (C) 2016 Malte Biermann | |
| # Copyright (C) 2017 Rodrigo Bermudez Schettino | |
| # Released under the GPL | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
Make sure ffmpeg is up-to-date:
brew update
brew upgrade ffmpeg
Convert a MOV into frames. Tweak the 2/1 if you want more or fewer frames.