statement | ruby | python | elixir | node |
---|---|---|---|---|
0 or 1 |
0 | 1 | syntax error | syntax error |
0 || 1 |
0 | syntax error | 0 | 1 |
This file has been truncated, but you can view the full file.
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
Legal Notices: | |
Copyright © 1983-2024 Apple Inc. All rights reserved. | |
Apple, the Apple logo, AirPlay, AirPort, AirPrint, Apple Books, FaceTime, Flyover, Guided Access, HomePod, iPad, iPhone, iPod, iPod touch, iTunes, Photo Booth, Retina, and Safari are trademarks of Apple Inc., registered in the U.S. and other countries. App Store and iTunes Store are service marks of Apple Inc., registered in the U.S. and other countries. Multi-Touch is a trademark of Apple Inc. | |
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries and is used under license. | |
For Apple and third party software license agreements presented at activation or included with the product and presented with any software updates, see www.apple.com/legal/sla/ | |
ACELP is either registered trademark or trademark of VoiceAge Corporation in the United State and or other countries and used under license from VoiceAge Corporation. The ACELP®.net codec in this product is used under license from VoiceAge Corporation. Copyright © |
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
[{"id":"be2109bba90b6c5a","type":"tab","label":"[I2C] Scroll pHAT","disabled":false,"info":"::: aim\n\nTo control a [Scroll pHAT](https://github.com/pimoroni/scroll-phat) board from [Pimoroni](https://learn.pimoroni.com/). The idea is to use the [i2c bus](https://en.wikipedia.org/wiki/I%C2%B2C) to control the board.\n\nThe Scroll pHAT board being used is the simplest 5 by 11 LED with a single brightness setting for all pixels.\n\n:::\n\n::: palette\n\n- [node-red-contrib-i2c](https://flows.nodered.org/node/node-red-contrib-i2c)\n- [node-red-dashboard](https://flows.nodered.org/node/node-red-dashboard)\n\n:::\n\n### Requirements\n\nThere are several descriptions on setting up the i2c bus on a Raspberry Pi:\n\n- [i2c-bus documentation ay i2c-bus package](https://github.com/fivdi/i2c-bus/blob/master/doc/raspberry-pi-i2c.md)\n- [the install script for the Scroll pHAT](https://get.pimoroni.com/scrollphat) was helpful\n\nI used a Raspberry Pi Model 4 for doing this, your mileage might vary.\n\n### Background\n\nThe |
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
<script type="text/javascript"> | |
RED.nodes.registerType('Seeker',{ | |
color: '#e5e4ef', | |
icon: "subflow.svg", | |
category: 'Writer Map Tools', | |
paletteLabel: "Seeker", | |
defaults: { | |
name: { | |
value:"", | |
}, |
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
<script type="text/javascript"> | |
RED.nodes.registerType('Orphans',{ | |
color: '#e5e4ef', | |
icon: "subflow.svg", | |
category: 'Writer Map Tools', | |
paletteLabel: "Orphans", | |
defaults: { | |
name: { | |
value:"", | |
}, |
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
FROM openjdk:17-slim | |
RUN apt-get --quiet --yes update && apt-get install -yqq \ | |
emacs \ | |
wget | |
WORKDIR /root | |
## | |
## Miniconda installation page: |
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
import os | |
from gimpfu import * | |
def _rec(layers, lst): | |
for l in lst: | |
if not l.visible: continue | |
if pdb.gimp_item_is_group(l): _rec(layers,l.layers) | |
else: layers.append(l) |
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
prompt> ./parse.sh example.ini | |
Configuration description: Sample configuration | |
[database-fubar] | |
port = 3306 (access it using ${configuration_database_fubar[port]}) | |
password = dbpass (access it using ${configuration_database_fubar[password]}) | |
server = db.example.org (access it using ${configuration_database_fubar[server]}) | |
username = dbuser (access it using ${configuration_database_fubar[username]}) | |
[monitor-another-minus] | |
servers = www.example.org proxy.example.org cache.example.org bastion.example.org (access it using ${configuration_monitor_another_minus[servers]}) |
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
## Ruby 2.5.3 | |
[5] pry(main)> (Date.today -10).strftime("%Y-%m-%d") | |
=> "2019-06-21" | |
[6] pry(main)> (Date.today - 10).strftime("%Y-%m-%d") | |
=> "2019-06-11" | |
[7] pry(main)> (Date.today-10).strftime("%Y-%m-%d") | |
=> "2019-06-11" | |
[13] pry(main)> (1 -3) | |
=> -2 | |
[14] pry(main)> (1 - 3) |
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
23.Apr.19 14:07:19 AttributeOne set to 1 for topic one because increment to limit | |
23.Apr.19 14:07:19 AttributeOne set to 2 for topic one because increment to limit | |
23.Apr.19 14:07:19 AttributeOne set to 1 for topic one because decrement to limit | |
23.Apr.19 14:07:19 AttributeOne set to 0 for topic one because decrement to limit | |
23.Apr.19 14:07:19 AttributeTwo set to 5 for topic one because limited to max 5 |
NewerOlder