THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| print([[ | |
| HYPER | |
| ## install | |
| Use karabiner-elements to bind capslock to F18 | |
| install hammerspoon |
| [General] | |
| loglevel = notify | |
| skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
| bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
| # dns-server = 119.29.29.29,223.5.5.5,114.114.115.115 | |
| # external-controller-access = [email protected]:6155 | |
| # ipv6 = true | |
| // REMEMBER TO CHANGE THE external-controller-access' PASSWORD |
| <?php | |
| /* | |
| Backup script for trakt.tv (API v2). | |
| Live demo: https://darekkay.com/blog/trakt-tv-backup/ | |
| */ | |
| // create a Trakt app to get a client API key: http://docs.trakt.apiary.io/#introduction/create-an-app | |
| $apikey = "CLIENT_API_KEY"; |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| data:text/html, | |
| <style type="text/css"> | |
| #e { | |
| position:absolute; | |
| top:0; | |
| right:0; | |
| bottom:0; | |
| left:0; | |
| font-size:16px; | |
| } |
| require 'fileutils' | |
| require 'date' | |
| require 'yaml' | |
| require 'rexml/document' | |
| require 'ya2yaml' | |
| include REXML | |
| doc = Document.new(File.new(ARGV[0])) |
| from numpy import linspace, cos, pi, absolute | |
| from numpy.fft import fft, fftfreq, fftshift | |
| import matplotlib.pyplot as plt | |
| # Sampling rate | |
| fs = 64 # Hz | |
| # Time is from 0 to 1 seconds, but leave off the endpoint, so | |
| # that 1.0 seconds is the first sample of the *next* chunk | |
| length = 1 # second |