firefox alert image
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
[ | |
{ | |
"id": "4951fa21.d91c34", | |
"type": "tesseract", | |
"z": "3600b874.387198", | |
"name": "", | |
"language": "jpn", | |
"x": 140, | |
"y": 180, | |
"wires": [ |
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
[ | |
{ | |
"id": "f8520b99.0d75c", | |
"type": "inject", | |
"z": "fe7d9b9b.368ed8", | |
"name": "", | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"repeat": "", |
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 | |
# password setter for Node-RED on Raspberry Pi | |
# auther: [email protected] | |
# | |
# 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 |
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
[ | |
{ | |
"id": "34d42654.9be66a", | |
"type": "switch", | |
"z": "1f17baae.3051ed", | |
"name": "補正あり", | |
"property": "payload", | |
"propertyType": "msg", | |
"rules": [ | |
{ |
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 | |
# | |
# This version uses September 2016 rpi jessie image, please use this image | |
# | |
if [ "$EUID" -ne 0 ] | |
then echo "Must be root" | |
exit | |
fi |
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
[ | |
{ | |
"id": "b9814cc7.854288", | |
"type": "template", | |
"z": "cec74554.ecbe", | |
"name": "JSON template", | |
"field": "payloadrule", | |
"fieldType": "msg", | |
"format": "json", | |
"syntax": "plain", |
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/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( |
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/perl | |
my $line; | |
my $param; | |
my @params; | |
while($line=<STDIN>) { | |
my @keys; | |
my @vals; | |
chomp($line); | |
@params=split(/\t/,$line); | |
foreach $param (@params) { |
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 | |
# 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