firefox alert image
View tesseract_sample.json
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": "4951fa21.d91c34", | |
"type": "tesseract", | |
"z": "3600b874.387198", | |
"name": "", | |
"language": "jpn", | |
"x": 140, | |
"y": 180, | |
"wires": [ |
View linenotifywithimage.json
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": "f8520b99.0d75c", | |
"type": "inject", | |
"z": "fe7d9b9b.368ed8", | |
"name": "", | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"repeat": "", |
View nrpiadminpass.sh
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 | |
# password setter for Node-RED on Raspberry Pi | |
# auther: utaani@ueno.org | |
# | |
# usage: bash nrpiadminpass.sh password | |
# | |
# this script will change Pi default Node-RED file. | |
# after that, you need nodered restart with node-red-restart | |
# password |
View sample-swith-with-without-recreate.json
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": "34d42654.9be66a", | |
"type": "switch", | |
"z": "1f17baae.3051ed", | |
"name": "補正あり", | |
"property": "payload", | |
"propertyType": "msg", | |
"rules": [ | |
{ |
View rPi3-ap-setup.sh
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 | |
# | |
# This version uses September 2016 rpi jessie image, please use this image | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
View node-red-google-cloud-vision-ocr.json
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": "b9814cc7.854288", | |
"type": "template", | |
"z": "cec74554.ecbe", | |
"name": "JSON template", | |
"field": "payloadrule", | |
"fieldType": "msg", | |
"format": "json", | |
"syntax": "plain", |
View get_cybozulive_access_taken.pl
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
#!/usr/bin/perl | |
use OAuth::Lite::Consumer; | |
use Data::Dumper; | |
$ENV{PERL_NET_HTTPS_SSL_SOCKET_CLASS} = "Net::SSL"; | |
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0; | |
$ENV{HTTPS_PROXY} = 'http://192.168.11.254:8080'; | |
my $consumer = OAuth::Lite::Consumer->new( |
View ltsv2tsv.pl
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
#!/usr/bin/perl | |
my $line; | |
my $param; | |
my @params; | |
while($line=<STDIN>) { | |
my @keys; | |
my @vals; | |
chomp($line); | |
@params=split(/\t/,$line); | |
foreach $param (@params) { |
View seteth1.sh
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/sh | |
# set IP address with Amazon-VPC ENI(Elastic Network Interface) address and other. | |
# get eth0/1 MAC addresses | |
MACADDR0=`cat /sys/class/net/eth0/address` | |
MACADDR1=`cat /sys/class/net/eth1/address` | |
# get eth0/1 IP addresses on ENI | |
IPADDR0=`/usr/bin/curl -s http://169.254.169.254/latest/meta-data/network/interfaces/macs/${MACADDR0}/local-ipv4s/`; | |
IPADDR1=`/usr/bin/curl -s http://169.254.169.254/latest/meta-data/network/interfaces/macs/${MACADDR1}/local-ipv4s/`; | |
# ifconfig on eth1 (ENI) | |
/sbin/ifconfig eth1 inet ${IPADDR1} netmask 255.255.255.0 2>&1 >> /tmp/seteth1.log |
NewerOlder