(juste en dessous des badges sympatiques à placer)
Une petite description du projet
Entrez ici les instructions pour bien débuter avec votre projet...
| var uniqueArray = function(arrArg) { | |
| return arrArg.filter(function(elem, pos,arr) { | |
| return arr.indexOf(elem) == pos; | |
| }); | |
| }; | |
| var uniqEs6 = (arrArg) => { | |
| return arrArg.filter((elem, pos, arr) => { | |
| return arr.indexOf(elem) == pos; | |
| }); |
| "use strict"; | |
| /** | |
| * Specification base class | |
| * @class | |
| */ | |
| var Specification = { | |
| and: function(spec) { | |
| return new AndSpecification(this, spec); | |
| }, |
| import Cocoa | |
| import CoreBluetooth | |
| import PlaygroundSupport | |
| class BTHelper: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate { | |
| var centralManager: CBCentralManager | |
| override init() { | |
| self.centralManager = CBCentralManager(delegate: nil, queue: nil) | |
| super.init() |
| server: | |
| interface: 0.0.0.0 | |
| interface: ::0 | |
| access-control: 192.168.42.0/24 allow | |
| access-control: 127.0.0.0 allow | |
| access-control: 2001:db8:dead:beef::/48 allow | |
| # unbound optimisation | |
| num-threads: 4 |
| /** | |
| * Arrays to parse. | |
| */ | |
| const array_one = ['one', 'two', 'three', 'four'] | |
| const array_two = ['three', 'four', 'five', 'six'] | |
| const big_one = ['one', 'two', 'three', 'four', 'three', 'four', 'five', 'six'] | |
| const array_number = [1, 10, 100, 9, 7, 5, 4, 55, 76, 45, 32, 92, 41] | |
| const array_obj_number = [ | |
| { val: 1 }, | |
| { val: 10 }, |
| package org.springframework.batch.sample; | |
| import java.util.Arrays; | |
| import org.springframework.batch.core.Job; | |
| import org.springframework.batch.core.JobParameters; | |
| import org.springframework.batch.core.Step; | |
| import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing; | |
| import org.springframework.batch.core.configuration.annotation.JobBuilderFactory; | |
| import org.springframework.batch.core.configuration.annotation.StepBuilderFactory; |
*Beware: These instructions have been cobbled together from all of the sources I found that got my specific unit working. I can verify it works on a Pi 3B running the latest OS as of summer 2019. Everyone's hardware and system will be a bit different so your mileage may vary. Before you go crazy trying to debug issues sending a signal, grab an existing lirc config for any remote and use the lirc CLI to send a signal out and verify your hardware is sending the signal by viewing the IR LED through a front-facing smartphone camera (almost all smartphone front cameras - even new iPhones - will not filter out IR light and you should see the LED flash when sending a signal). If you see your hardware is sending a signal and/or you can see that the IR input is seeing some signal, then you know your setup works and the issue may be that the remote you're trying to learn simply won't work with LIRC. I know for a fact that many Comcast/Xfinity cable remotes are actually RF devices and need to have
curl 'https://dlcdnets.asus.com/pub/ASUS/wireless/USB-BT400/DR_USB_BT400_1201710_Windows.zip' \
-o bt400-driver.zip
Driver & tools for bt400 can be found here
Plug device and do
Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.
If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.