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
// 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
#!/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
const puppeteer = require('puppeteer-core'); | |
const cheerio = require('cheerio'); | |
const chrome = require('chrome-aws-lambda'); | |
export default async (req, res) => { | |
const slug = req?.query?.slug; | |
if (!slug) { | |
res.statusCode = 200 | |
res.setHeader('Content-Type', 'application/json') | |
res.end(JSON.stringify({ id: null })) |
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 aiokafka import AIOKafkaConsumer | |
async def consume(partition): | |
consumer_conf = { | |
"bootstrap_servers": "localhost:9092", | |
"group_id": "my-group", | |
"auto_offset_reset": "earliest" | |
} |
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 | |
import multiprocessing | |
from aiokafka import AIOKafkaConsumer, TopicPartition | |
async def consume_partition(partition, bootstrap_servers): | |
topic = "my-topic" | |
group_id = "my-group" | |
consumer = AIOKafkaConsumer( | |
bootstrap_servers=bootstrap_servers, | |
group_id=group_id, |
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
# encoding: utf-8 | |
require "logstash/filters/base" | |
require "logstash/namespace" | |
require "csv" | |
class LogStash::Filters::UsernameFilter < LogStash::Filters::Base | |
config_name "usernamefilter" | |
# The path to the CSV file containing the list of usernames | |
config :csv_path, :validate => :path, :required => true |
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
# Set the date to the current date and time | |
$date = Get-Date | |
# Loop through 24 hours | |
for ($i = 0; $i -lt 24; $i++) { | |
# Set the date and time for the current iteration | |
$currentDate = $date.AddHours($i) | |
# Set the path for the current year, month, day, hour, and minute | |
# $yearPath = "$($currentDate.Year)" |
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 requests | |
from msal import PublicClientApplication | |
# define the necessary variables for authentication | |
CLIENT_ID = 'your_client_id' | |
AUTHORITY = 'https://login.microsoftonline.com/common' | |
SCOPE = ['User.ReadBasic.All'] | |
# create a PublicClientApplication object | |
app = PublicClientApplication(client_id=CLIENT_ID, authority=AUTHORITY) |
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
--- | |
- name: Define your role | |
hosts: your_host | |
vars: | |
keystore_path: "/path/to/keystore" | |
truststore_path: "/path/to/truststore" | |
keystore_password: "your_keystore_password" | |
truststore_password: "your_truststore_password" | |
tasks: |
OlderNewer