- Homebrew, run
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
from the command line to install it. - Homebrew Cask, run
brew tap caskroom/cask
from the command line to install it. - Alfred, buy the powerpack to get the full use of it.
- Spectacle
- Fish shell
- VLC
- Unarchiver
- f.lux
- n, run
brew install n
from the command line to install it. - Fisherman, run
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
from the command line to install it.
This basic guide supports Ubuntu Xenial Xerus 16.04 and will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide][1].
Note: Copy and paste the whole code box for each step.
using System.Collections; using System.Collections.Generic; | |
using System.IO; using UnityEngine; | |
/// <summary> | |
/// Attach this script to an empty gameObject. Create a secondary camera | |
/// gameObject for offscreen rendering (not your main camera) and connect it | |
/// with this script. Offscreen camera should have a texture object attached to it. | |
/// OffscreenCamera texture object is used for rendering (please see camera properties). | |
/// </summary> | |
public class OffscreenRendering : MonoBehaviour { |
docopt==0.6.2 | |
trimesh==2.10.18 |
set-option -g default-terminal "xterm-256color" | |
set-window-option -g xterm-keys on | |
run-shell "tmux setenv -g TMUX_VERSION $(tmux -V | cut -c 6-)" | |
setw -g mode-keys vi | |
unbind C-b | |
# remap prefix to Control + Space |
This guide creates a reverse SSH tunnel to route all Plex server traffic through it.
Step 2 is done on the tunnel, all other steps are done on the plex server.
On plex server:
Shader "Outline2D" { | |
Properties { | |
_Color ("Main Tint", Color) = (1,1,1,1) | |
_OutlineColor ("Outline Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
_Cutoff ("Main Alpha Cutoff", Range(0,1)) = 0.5 | |
_OutlineCutoff ("Outline Alpha Cutoff", Range(0,1)) = 0.25 | |
_LineOffset ("Outline Depth Offset", Range(0,-10000)) = -1000 |
// fragment shader | |
// | |
// RGBA color to RGBA greyscale | |
// | |
// smooth transition based on u_colorFactor: 0.0 = original, 1.0 = greyscale | |
// | |
// http://www.johndcook.com/blog/2009/08/24/algorithms-convert-color-grayscale/ | |
// "The luminosity method is a more sophisticated version of the average method. | |
// It also averages the values, but it forms a weighted average to account for human perception. | |
// We’re more sensitive to green than other colors, so green is weighted most heavily. The formula |
#!/bin/bash | |
#brew install eigen3 | |
EIGEN_PATH=/opt/local/include/eigen3 | |
# build for device | |
cmake . -DCMAKE_TOOLCHAIN_FILE=./cmake/iOS.cmake -DEIGEN_INCLUDE_DIR=${EIGEN_PATH} -DIOS_PLATFORM=OS -DEIGENSPARSE=ON | |
make -j8 | |
# install headers in .. | |
make install |