Examples for how to create your own info panel, warning box and other decent looking notification in GitHub markdown.
All the boxes are single/two cell tables or two row tables.
❗ You have to read about this |
---|
#!/usr/bin/env python | |
import boto3 | |
import argparse | |
from operator import itemgetter | |
from collections import defaultdict | |
def nested_defaultdict(): | |
return defaultdict(nested_defaultdict) |
import boto3 | |
def pull_s3_prefix(dst_dir, bucket, prefix): | |
client = boto3.client('s3') | |
resource = boto3.resource('s3') | |
download_dir(client, resource, prefix, prefix, dst_dir, bucket) | |
def download_dir(client, resource, prefix, start_prefix, local, bucket ): | |
paginator = client.get_paginator('list_objects') | |
for result in paginator.paginate(Bucket=bucket, Delimiter='/', Prefix=prefix): |
I use this script to check for any throttling issues for EKS or Kubernetes running on AWS. Feel free to customize it depending on your needs.
ls -1 /sys/class/net
<?php | |
/** @noinspection PhpUnused */ | |
namespace App\Http\Livewire\Traits; | |
use Exception; | |
use Illuminate\Foundation\Http\FormRequest; | |
use Illuminate\Support\Facades\Gate; | |
use Livewire\Component; |