File | Purpose |
---|---|
/etc/compose/docker-compose.yml |
Compose file describing what to deploy |
/etc/systemd/system/docker-compose-reload.service |
Executing unit to trigger reload on docker-compose.service |
/etc/systemd/system/docker-compose-reload.timer |
Timer unit to plan the reloads |
/etc/systemd/system/docker-compose.service |
Service unit to start and manage docker compose |
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/env python | |
# In[ ]: | |
# coding: utf-8 | |
###### Searching and Downloading Google Images to the local disk ###### | |
# Updated by Evan Sellers <sellersew@gmail.com> Feb 2020 | |
# Now uses bing search and only supports url | |
# Import Libraries |
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
import asyncio | |
from typing import AsyncGenerator, Dict | |
from fastapi import FastAPI | |
from nats.aio.client import Client as NATS | |
from nats.aio.client import Msg | |
from starlette.requests import Request | |
from starlette.responses import StreamingResponse | |
app = FastAPI() |
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
// Launch WinAFL with current function as hook location | |
//@author richinseattle | |
//@category _NEW_ | |
//@keybinding | |
//@menupath | |
//@toolbar | |
// Usage: | |
// Install DynamoRIO and WinAFL | |
// Add LaunchWinAFL to Ghidra scripts |
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
import SimpleHTTPServer | |
import SocketServer | |
# Redirect to Google.com | |
class Redirect(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def do_GET(self): | |
print self.path | |
self.send_response(301) | |
new_path = '%s%s'%('https://google.com', self.path) | |
self.send_header('Location', new_path) |
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
error_page 500 /500.html; | |
location /500.html{ | |
return 500 '{"error": {"status_code": 500,"status": "Internal Server Error"}}'; | |
} | |
error_page 502 /502.html; | |
location /502.html{ | |
return 502 '{"error": {"status_code": 502,"status": "Bad Gateway"}}'; | |
} |