mpv
The latest working mpv version for this guides is 0.27.2, tested on 2018-03-13-raspbian-stretch.
sudo apt-get update && sudo apt-get upgrade -y &&
sudo apt-get install -y git devscripts equivs &&
sudo apt-get install -y libgles2-mesa-dev
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 4.18.7 Kernel Configuration | |
# | |
# | |
# Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y |
#import <Cocoa/Cocoa.h> | |
@interface SpaceChangeNotifier : NSObject | |
- (void) registerNotifier; | |
- (void)spaceChanged:(NSNotification *)aNotification; | |
@end | |
@implementation SpaceChangeNotifier | |
- (id) init |
mpv
The latest working mpv version for this guides is 0.27.2, tested on 2018-03-13-raspbian-stretch.
sudo apt-get update && sudo apt-get upgrade -y &&
sudo apt-get install -y git devscripts equivs &&
sudo apt-get install -y libgles2-mesa-dev
adb
and fastboot
(components of platform-tools) are in your-- TerminalVim.app | |
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm | |
-- To use this script: | |
-- 1. Open Automator and create a new Application | |
-- 2. Add the "Run Applescript" action | |
-- 3. Paste this script into the Run Applescript section | |
-- 4. Save the application as TerminalVim.app in your Applications folder | |
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default |
-- Create animated GIFs with mpv | |
-- Requires ffmpeg. | |
-- Adapted from http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
-- Usage: "g" to set start frame, "G" to set end frame, "Ctrl+g" to create. | |
local msg = require 'mp.msg' | |
-- Set this to the filters to pass into ffmpeg's -vf option. | |
-- filters="fps=24,scale=320:-1:flags=lanczos" | |
filters="fps=15,scale=540:-1:flags=lanczos" |
---- | |
-- A tab chooser for Safari written with AppleScript (yikes) and HammerSpoon | |
---- | |
---- | |
-- Known issues: | |
-- If a tab has double quotes, unsure about what will happen, the tab | |
-- list creation is brittle. Single quote is fixed though |
25 pacman -Rsn flashplugin | |
26 sudo pacman -Rsn flashplugin | |
29 sudo pacman -Rsn gimp | |
33 sudo pacman -Rsn libreoffice-still | |
36 sudo pacman -Rsn viewnior | |
40 sudo pacman -Rsn pidgin | |
43 sudo pacman -Rsn firefox-gtk2 | |
48 sudo pacman -Rsn hexchat | |
51 sudo pacman -Rsn thunderbird | |
57 sudo pacman -Rsn guayadeque |
@implementation AppDelegate | |
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification | |
{ | |
NSNotificationCenter *nc = [[NSWorkspace sharedWorkspace] notificationCenter]; | |
[nc addObserver:self | |
selector:@selector(spaceChanged:) | |
name:NSWorkspaceActiveSpaceDidChangeNotification | |
object:[NSWorkspace sharedWorkspace]]; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000