This file contains 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
# pylint: disable=W0621 | |
"""Asynchronous Python client for IPP.""" | |
import asyncio | |
from pyipp import IPP | |
async def main(): | |
"""Show example of connecting to your IPP print server.""" | |
async with IPP("ipp://HP79EC40.local:631/ipp/printer") as ipp: |
This file contains 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
// gruntfile dropin used to build a grunt files object with 1:1 structure | |
function globToMultiFiles(glob, dest, options) { | |
var path = require('path'); | |
grunt.util = grunt.util || grunt.utils; | |
dest = grunt.template.process(dest); | |
options = grunt.util._.defaults(options || {}, { | |
cwd: '', |
This file contains 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
esphome: | |
name: bulb_75w_rgbw_qpw06 | |
platform: ESP8266 | |
board: esp01_1m | |
wifi: | |
ssid: 'YOURWIFISSID' | |
password: 'YOURWIFIPASSWORD' | |
logger: |
This file contains 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 | |
if ! [ -x "$(command -v jq)" ]; then | |
printf "\x1B[31m[ERROR] jq is not installed.\x1B[0m\n" | |
exit 1 | |
fi | |
if ! [ -x "$(command -v sed)" ]; then | |
printf "\x1B[31m[ERROR] sed is not installed (only GNU sed works).\x1B[0m\n" | |
exit 1 |
This file contains 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
source :rubygems | |
gem "puma" | |
gem "sinatra" |
OlderNewer