Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

mamori017 mamori017

🏠
Working from home
Block or report user

Report or block mamori017

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mamori017
mamori017 / fortnite.ahk
Created Dec 9, 2018
AutoHotkey for Fortnite Discord chat
View fortnite.ahk
;-----------------------------------------------------------------------------------------------------------
;Startup stuff
;-----------------------------------------------------------------------------------------------------------
#SingleInstance force
Toggle := 0
Typing := 0
;-----------------------------------------------------------------------------------------------------------
; Name of discord client and the game client
@mamori017
mamori017 / appveyor.yml
Last active Aug 2, 2018
AppVeyor setting for .NET projects with link references
View appveyor.yml
version: 0.0.{build}
skip_tags: true
build:
project: TargetProject.sln
verbosity: minimal
image: Visual Studio 2015
configuration: Release
before_build:
- nuget restore TargetProject.sln
- git clone -q --branch=master https://githostserver/ReferenceProject.git ..\ReferenceProject
@mamori017
mamori017 / LogstashGrok4YamahaRouterSyslog
Last active Feb 20, 2018
A Logstash grok filter for yamaha router syslog.
View LogstashGrok4YamahaRouterSyslog
# URL FILTER
filter{
grok {
match => ["message", "%{YEAR:year}/%{MONTHNUM:month}/%{MONTHDAY:day} %{HOUR:hour}:%{MINUTE:min}:%{SECOND:sec}:\s\[NAT\(%{INT:natvalue}\):PP%{INT:pp}\]\s%{WORD:status}\s%{WORD:tcpudp}\s%{IP:global_ip}.%{INT:global_port}\s<->\s%{IP:from_ip}.%{INT:from_port}\s==>\s%{IP:conn_ip}.%{INT:conn_port}",
"message", "%{YEAR:year}/%{MONTHNUM:month}/%{MONTHDAY:day} %{HOUR:hour}:%{MINUTE:min}:%{SECOND:sec}:\s\[%{WORD:status}\]\sPP\[%{INT:pp}\]\[%{WORD:inout}\]\[%{INT:filter}\]\s%{WORD:tcpudp}\s%{IP:from_ip}:%{INT:from_port}\s>\s%{IP:conn_ip}:%{INT:conn_port}\s\(%{YEAR:conn_year}/%{MONTHNUM:conn_month}/%{MONTHDAY:conn_day} %{HOUR:conn_hour}:%{MINUTE:conn_min}:%{SECOND:conn_sec}\)",
"message", "%{YEAR:year}/%{MONTHNUM:month}/%{MONTHDAY:day} %{HOUR:hour}:%{MINUTE:min}:%{SECOND:sec}:\sPP\[%{INT:pp}\]\s%{WORD:status}\sat\s%{WORD:inout}\(%{WORD:filter}\)\sfilter:\s%{WORD:tcpudp}\s%{IP:from_ip}:%{INT:from_port}\s>\s%{IP:conn_ip}:%{INT:conn_port}"
]
}
}
@mamori017
mamori017 / WeatherForcastFromLambda.py
Last active Jul 22, 2017
OpenWeatherMap weather forcast tweet from AWS Lambda
View WeatherForcastFromLambda.py
#coding:utf-8
from requests_oauthlib import OAuth1Session
from datetime import datetime
import json, urllib2
CK = '*****'
CS = '*****'
AT = '*****'
AS = '*****'
@mamori017
mamori017 / setting.json
Last active Jul 19, 2017
Visual Studio Code User Settings
View setting.json
// 既定の設定を上書きするには、このファイル内に設定を挿入します
{
"files.encoding": "utf8",
"editor.renderWhitespace": "all",
"editor.tabSize": 4,
"editor.insertSpaces": true,
"php.validate.executablePath": " ***** php.exe path ***** ",
"php.validate.run": "onType",
"window.zoomLevel": 0
}
You can’t perform that action at this time.