a rough script that helps to block rogue like client to your postfix server
Anyway you should chmod +x and check behavior first.
# chmod +x ./postfix-scanner-block.sh
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
// README at: https://github.com/devcontainers/templates/tree/main/src/debian | |
{ | |
"name": "Debian", | |
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | |
"image": "mcr.microsoft.com/devcontainers/base:bullseye", | |
"features": { | |
"ghcr.io/devcontainers/features/node:1": {}, | |
"ghcr.io/swift-server-community/swift-devcontainer-features/sqlite:1": {} | |
}, |
package main | |
import ( | |
"database/sql" | |
_ "github.com/go-sql-driver/mysql" | |
"github.com/ytnobody/gomysqlerror" | |
"github.com/volatiletech/sqlboiler/boil" | |
) |
from(bookshelf in Bookshelf, | |
join: book in Book, on bookshelf.id == book.bookshelf_id, | |
group_by: bookshelf.id, | |
select: %{bookshelf_id: bookshelf.id, books_count: count(book.id)} | |
) |> Repo.all() |
iex(5)> sv = MyMock.run() | |
11:35:22.016 [info] Added handler for /user | |
11:35:22.016 [info] Added handler for /user/:id | |
%Mock.MockServer{ | |
name: :my_mock, | |
pid: #PID<0.765.0>, | |
port: 64400, | |
route: %{ |
#!/bin/bash | |
show_help () { | |
cat <<EOF | |
Run "npm -g install azure-functions-core-tools" first. | |
EOF | |
exit; | |
} | |
list_required_extensions () { |
#!/bin/sh | |
help () { | |
cat <<EOF | |
Usage: | |
git-bar [keyword] [Dest Branch] | |
EOF | |
exit; |
### | |
### cpanfile for KH Coder | |
### | |
# | |
# usage: | |
# $ cd kh_coder/ | |
# $ LANG=C cpanm --installdeps -n . | |
# | |
requires 'perl' => '5.008'; |
<?php | |
/** | |
* LICENSE: The MIT License (the "License") | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* https://github.com/azure/azure-storage-php/LICENSE | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |