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
require 'bundler/setup' | |
Bundler.require | |
class Rtx830 | |
def initialize(hash = {}) | |
username = hash[:username] || 'admin' | |
password = hash[:password] || 'admin' |
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 | |
set -eu | |
date=`date +%s` | |
drop=`iptables -nL |grep f2b-blacklist -A 10000 | grep \^DROP|wc -l` | |
reject=`iptables -nL|grep f2b-sshd -A 10000|grep REJECT|wc -l` | |
echo -e "fail2ban.ipv4.drop\t${drop}\t${date}" |
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
[plugin.metrics.dht11] | |
command = "sudo -u pi python3 /home/pi/DHT11_Python/mackerel.py" | |
type = "metric" |
- 業務委託契約
- 請負契約
- 準委任契約(=SES契約)
- 派遣契約
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 | |
HOST=$1 | |
COMMAND="show arp" | |
$(dirname $0)/rtx_command.sh $HOST "${COMMAND}" | grep "Count" | awk '{print $2}' |
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
name: Upload Website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest |
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
function scheduleShifts() { | |
var spreadsheet = SpreadsheetApp.getActiveSheet(); | |
var calendarId = spreadsheet.getRange("A2").getValue(); | |
var eventCal = CalendarApp.getCalendarById(calendarId); | |
var signups = spreadsheet.getRange("A5:D12").getValues(); | |
for ( x=0; x < signups.length; x++) { |
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 boto3 | |
import json | |
import logging | |
import os | |
from base64 import b64decode | |
from urllib.request import Request, urlopen | |
from urllib.error import URLError, HTTPError | |
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
V2 | JE1WFV | JA/KN-003 | 22/03/20 | 0030 | 144.920MHz | FM | JJ1IZY | |||
---|---|---|---|---|---|---|---|---|---|---|
V2 | JE1WFV | JA/KN-003 | 22/03/20 | 0035 | 144.920MHz | FM | JI1AVM | |||
V2 | JE1WFV | JA/KN-003 | 22/03/20 | 0040 | 433.040MHz | FM | JA1PFS | |||
V2 | JE1WFV | JA/KN-003 | 22/03/20 | 0105 | 433.100MHz | FM | 7M4MHN | |||
V2 | JE1WFV | JA/KN-003 | 22/03/20 | 0705 | 144.900MHz | FM | JI1ANN | |||
V2 | JE1WFV | JA/KN-002 | 22/03/20 | 0402 | 144.920MHz | FM | JJ1IZY | |||
V2 | JE1WFV | JA/KN-002 | 22/03/20 | 0407 | 433.180MHz | FM | JA1QOV | |||
V2 | JE1WFV | JA/KN-002 | 22/03/20 | 0407 | 433.360MHz | FM | JN1IKP | |||
V2 | JE1WFV | JA/KN-002 | 22/03/20 | 0440 | 433.080MHz | FM | JJ1UAK |