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/env python3 | |
| import sys | |
| import os | |
| import json | |
| import time | |
| # Try to import hidapi | |
| try: | |
| import hid | |
| except ImportError: |
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
| [Socket] | |
| ListenStream=/run/systemd-journal-gatewayd.sock |
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/bash | |
| HAVE_SUDO=""; | |
| rm /tmp/sudo.tmp | |
| while [ -z "${HAVE_SUDO}" ]; | |
| do | |
| if [ -z "$(grep 'USER=root' /tmp/sudo.tmp)" ]; | |
| then | |
| echo "Need sudo privs!"; | |
| echo "Login sudo now!"; | |
| sudo env | sed -e "s/[ ]/\n/g" > /tmp/sudo.tmp; |
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 | |
| # | |
| # msys2-sshd-setup.sh — configure sshd on MSYS2 and run it as a Windows service | |
| # | |
| # Please report issues and/or improvements to Sam Hocevar <sam@hocevar.net> | |
| # | |
| # Prerequisites: | |
| # — MSYS2 itself: http://sourceforge.net/projects/msys2/ | |
| # — admin tools: pacman -S openssh cygrunsrv mingw-w64-x86_64-editrights | |
| # |
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
| ADAFRUIT_FEATHER_M4_EXPRESS | |
| ADAFRUIT_HALLOWING | |
| ADAFRUIT_ITSYBITSY_M0 | |
| ADAFRUIT_ITSYBITSY_M4_EXPRESS | |
| ADAFRUIT_MATRIXPORTAL_M4_EXPRESS | |
| ADAFRUIT_METRO_M4_AIRLIFT_LITE | |
| ADAFRUIT_QTPY_M0 | |
| ADAFRUIT_TRINKET_M0 | |
| ARDUINO_AM_AP3_SFE_ARTEMIS_DK | |
| ARDUINO_AM_AP3_SFE_BB_ARTEMIS |
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
| #include <Adafruit_NeoPixel.h> | |
| // SETUP YOUR OUTPUT PIN AND NUMBER OF PIXELS | |
| #define PIN 6 | |
| #define NUM_PIXELS 50 | |
| Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_PIXELS, PIN, NEO_GRB + NEO_KHZ800); | |
| void setup() { | |
| strip.begin(); |
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
| fbuilderjQuery = (typeof fbuilderjQuery != 'undefined' ) ? fbuilderjQuery : jQuery; | |
| fbuilderjQuery(window).bind( 'pageshow', function( event ){ if( typeof event.originalEvent[ 'persisted' ] != 'undefined' && event.originalEvent[ 'persisted' ] ) location.reload(); } ); | |
| fbuilderjQuery(function(){ | |
| (function($) { | |
| // Namespace of fbuilder | |
| $.fbuilder = $.fbuilder || {}; | |
| $.fbuilder[ 'objName' ] = 'fbuilderjQuery'; | |
| /* | |
| * logical.js v0.1 |
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/bash - | |
| #=============================================================================== | |
| # | |
| # FILE: set_pin.sh | |
| # | |
| # USAGE: set_pin.sh | |
| # | |
| # DESCRIPTION: | |
| # | |
| # OPTIONS: --- |
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
| volatile byte relayState = LOW; | |
| long lastDebounceTime = 0; | |
| long debounceDelay = 1000; | |
| void setup() { | |
| // put your setup code here, to run once: | |
| Serial.begin(9600); | |
| pinMode(2,OUTPUT); | |
| pinMode(3,OUTPUT); | |
| pinMode(4,OUTPUT); | |
| pinMode(5,OUTPUT); |
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
| diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c | |
| index cf8cfb66e..43d3e5f6a 100644 | |
| --- a/sys/dev/bxe/bxe.c | |
| +++ b/sys/dev/bxe/bxe.c | |
| @@ -104,7 +104,7 @@ static struct bxe_device_type bxe_devs[] = { | |
| BRCM_VENDORID, | |
| CHIP_NUM_57711, | |
| PCI_ANY_ID, PCI_ANY_ID, | |
| - "QLogic NetXtreme II BCM57711 10GbE" | |
| + "QLogic NetXtreme II BCM57711 10GbE [BELL BYPASS]" |
NewerOlder