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
| #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
| 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
| #!/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 <[email protected]> | |
| # | |
| # 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
| #!/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
| [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
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| import json | |
| import time | |
| # Try to import hidapi | |
| try: | |
| import hid | |
| except ImportError: |
OlderNewer