This file contains hidden or 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
/** | |
* Color conversion algorithms (RGB, HSL, XYZ, LAB, LCH) | |
* Derived from jQuery Color Picker Sliders by István Ujj-Mészáros | |
* Licensed under the Apache License 2.0 | |
* https://github.com/istvan-ujjmeszaros/jquery-colorpickersliders | |
*/ | |
export function rgbToHsl(rgb) { | |
const r = rgb.r / 255 | |
const g = rgb.g / 255 |
This file contains hidden or 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
- name: NHK BS1 | |
type: BS | |
channel: BS15_0 | |
serviceId: 101 | |
- name: NHK BSプレミアム | |
type: BS | |
channel: BS03_1 | |
serviceId: 103 | |
- name: BS日テレ | |
type: BS |
This file contains hidden or 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/sh | |
# Mirakurun/mirakc channel yaml output by uru (https://twitter.com/uru_2) | |
# | |
# require: | |
# stz2012/epgdump | |
# xmllint (libxml2 tools) | |
# ISDB-T/S record software | |
# recpt1, dvbv5-zap & Chinachu/dvbconf-for-isdb | |
set -eu |
This file contains hidden or 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
#!/usr/bin/osascript | |
on run argv | |
set theFilePath to POSIX file (item 1 of argv) | |
set theFolder to theFilePath as alias | |
tell application "System Events" to set theDocs to theFolder's items whose name extension = "numbers" | |
repeat with aDoc in theDocs | |
set docName to aDoc's name as text |