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
@ECHO OFF | |
:: Skype-Restart script | |
:: (C) 2011 by Winfried Neessen | |
:: Kill current skype process | |
taskkill /IM Skype.exe /f | |
:: Delete shared.xml file | |
del %appdata%\Skype\shared.* |
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
package main | |
import ( | |
"bufio" | |
"log" | |
"os" | |
) | |
func main() { | |
stdinReader := bufio.NewReader(os.Stdin) |
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
## Shipping package | |
PROTO_ROOT_DIR = $(shell brew --prefix)/Cellar/protobuf/3.14.0/include | |
PROJECT_NAME = TESTGRPC | |
## Dart requires you to manually ship all google provided proto files too. | |
_gendart: | |
@mkdir -p model/gen/ship/dart | |
@protoc --dart_out=grpc:model/gen/ship/dart -I proto proto/server.proto --plugin=protoc-gen-dart=$$HOME/.pub-cache/bin/protoc-gen-dart | |
@protoc -I$(PROTO_ROOT_DIR) --dart_out=model/gen/ship/dart $(PROTO_ROOT_DIR)/google/protobuf/*.proto --plugin=protoc-gen-dart=$$HOME/.pub-cache/bin/protoc-gen-dart |
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
\${[^}]+} for the whole - \${([^}]+)} to match only the part in between |
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
func IsFirstOfQuarter(t time.Time) bool { | |
dateString := t.Format("01-02") | |
if dateString == "01-01" || | |
dateString == "04-01" || | |
dateString == "07-01" || | |
dateString == "10-01" { | |
return true | |
} | |
return false | |
} |
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/env python | |
import argparse | |
import json | |
import urllib.request | |
parser = argparse.ArgumentParser( | |
description="rspamd web interface statistic fetcher for InfluxDB usage") | |
parser.add_argument("--url", action="store", | |
help="URL to rspamd web interface installation") |
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
alias dockre='docker' | |
alias docekr='docker' | |
alias docerk='docker' | |
alias docrke='docker' | |
alias docrek='docker' | |
alias dokcer='docker' | |
alias dokcre='docker' | |
alias dokecr='docker' | |
alias dokerc='docker' | |
alias dokrce='docker' |
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
info 2020-07-07 14:02:02: Logging to console and directory: '/app/data/log/2020-07-07.14-02-02' filename: log.txt | |
debug 2020-07-07 14:02:02: Removing old log directory '/app/data/log/2020-06-28.17-19-41' | |
debug 2020-07-07 14:02:02: Loaded state from file /app/data/state.json | |
info 2020-07-07 14:02:02: Starting zigbee2mqtt version 1.14.1-dev (commit #8f725d3) | |
info 2020-07-07 14:02:02: Starting zigbee-herdsman... | |
debug 2020-07-07 14:02:02: Using zigbee-herdsman with settings: '{"network":{"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/app/data/database.db","databaseBackupPath":"/app/data/database.db.backup","backupPath":"/app/data/coordinator_backup.json","serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM0","adapter":"deconz"},"adapter":{"concurrent":null}}' | |
info 2020-07-07 14:02:02: zigbee-herdsman started | |
info 2020-07-07 14:02:02: Coordinator firmware version: '{"type":"ConBee2","meta":{"transportrev":0,"product":0,"m |
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
info 2020-07-04 14:19:48: Logging to console and directory: '/app/data/log/2020-07-04.14-19-48' filename: log.txt | |
debug 2020-07-04 14:19:48: Removing old log directory '/app/data/log/2020-06-28.15-32-36' | |
debug 2020-07-04 14:19:48: Loaded state from file /app/data/state.json | |
info 2020-07-04 14:19:48: Starting zigbee2mqtt version 1.14.1-dev (commit #8f725d3) | |
info 2020-07-04 14:19:48: Starting zigbee-herdsman... | |
debug 2020-07-04 14:19:48: Using zigbee-herdsman with settings: '{"network":{"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/app/data/database.db","databaseBackupPath":"/app/data/database.db.backup","backupPath":"/app/data/coordinator_backup.json","serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM0","adapter":"deconz"},"adapter":{"concurrent":null}}' | |
info 2020-07-04 14:19:48: zigbee-herdsman started | |
info 2020-07-04 14:19:48: Coordinator firmware version: '{"type":"ConBee2","meta":{"transportrev":0,"product":0,"m |
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
path "*" { | |
capabilities = [ | |
"create", | |
"update", | |
"read", | |
"delete", | |
"list", | |
"sudo" | |
] | |
} |
NewerOlder