- Create a
/usr/local/bin/audiointerfaceswitch.sh file
with the content above. Change "FiiO USB DAC-E10" with the name of your interface. Run/usr/local/bin/SwitchAudioSource -a
to get a list of the available interfaces on your system. - With Automator.app, create an app
- Run the app to switch interfaces. Use a launcher or BetterTouchTool or a similar tool to map the app to a keyboard shortcut.
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
'use strict'; | |
angular.module('myApp').directive( | |
'ngSelectOnFocus', | |
function() { | |
var factory = { | |
restrict: 'A', | |
link: function postLink(scope, element) { | |
$(element).focus(function(event) { | |
event.target.select(); |
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
<!DOCTYPE HTML> | |
<html lang="en" ng-app="myApp"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dynamic Pagination w/ Filtering</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content="Kim Maida"> | |
<!-- JS Libraries --> |
I hereby claim:
- I am simonjodet on github.
- I am neuromancer99 (https://keybase.io/neuromancer99) on keybase.
- I have a public key ASC6ffhtTtuMPlVmCjlRYHxKxLshVQDXJ5fHZDL_mtkKuwo
To claim this, I am signing this object:
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
blueprint: | |
name: Thermostat TPI | |
description: Thermostat TPI (Time Propertional & Integral) | |
domain: automation | |
input: | |
coeff_c: | |
name: Coefficient C | |
description: coefficient multiplicateur de la différence entre la consigne et la température intérieure pour le calcul de la puissance (0.6 conseillé) | |
selector: |
OlderNewer