Skip to content

Instantly share code, notes, and snippets.

👔
making scripts...

Theodore Salvo buzzsurfr

👔
making scripts...
Block or report user

Report or block buzzsurfr

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
@buzzsurfr
buzzsurfr / watchpids.sh
Last active Feb 12, 2019
Script to display the process IDs of docker container processes and subprocesses
View watchpids.sh
#!/bin/bash
pidlist() {
local thispid=$1
local fulllist=
local childlist=
childlist=$(ps --ppid $thispid -o pid h)
for pid in $childlist
do
fulllist="$(pidlist $pid) $fulllist"
done
View TimeZoneDB.postman_collection.json
{
"info": {
"_postman_id": "c9c7253b-249f-4231-9d66-bd851d06315b",
"name": "TimeZoneDB",
"description": "Based on https://timezonedb.com/api\n\nTimeZoneDB provides simple RESTful interface API and returns structured XML or JSON responses. You need to register a free API key to start using our services.\n\nOur API is free for personal and non-commercial usage. There are no limits on how many queries you can make, but there is a rate limit where you can only send request to the server once per second. Additional queries will get blocked.\n\nIf you are heavy user, or using this API for commercial purposes, please upgrade to premium service for more reliable and unlimited access.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "List Time Zone",
@buzzsurfr
buzzsurfr / sns_delivery_status_logs.hql
Created Jul 30, 2018
Amazon Athena DDL for SNS Delivery Status Logs
View sns_delivery_status_logs.hql
CREATE EXTERNAL TABLE IF NOT EXISTS sns_delivery_status_logs (
status string,
notification struct<
timestamp:string,
messageId:string>,
delivery struct<
statusCode:int,
dwellTimeMs:int,
token:string,
attempts:int,
@buzzsurfr
buzzsurfr / rlstack.mib
Created May 27, 2016
Dell PowerConnect 5524 Stack MIB
View rlstack.mib
RADLAN-STACK-MIB DEFINITIONS ::= BEGIN
-- Title: RADLAN LOCALIZATION ROS
-- This Private MIB supports the unit id configuration for stack of ROS products
-- Version: 7.40
-- Date: 21 Nov 2005
--
-- 01-Nov-2005 Add rlStackUnitMacAddressAfterReset
-- 21-Nov-2005 Change range of rlStackActiveUnitIdAfterReset
You can’t perform that action at this time.