Skip to content

Instantly share code, notes, and snippets.

@hoox
hoox / akamai-configuration-testing.md
Last active May 15, 2023 16:15
Akamai Configuration Testing

Akamai CDN Configuration Testing

Akamai Debug Headers!

Request Headers

  • -H "Pragma:akamai-x-get-client-ip, akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no, akamai-x-feo-trace, akamai-x-get-request-id"

Edge Suite

<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="http://www.w3.org/ns/ttml">
<head>
<metadata xmlns:ttm="http://www.w3.org/ns/ttml#metadata">
<ttm:title>Sample</ttm:title>
</metadata>
<styling xmlns:tts="http://www.w3.org/ns/ttml#styling">
<style xml:id="s1"
tts:color="white"
tts:fontFamily="proportionalSansSerif"
WEBVTT
00:01.000 --> 00:04.000
- Never drink liquid nitrogen.
00:05.000 --> 00:09.000
- It will perforate your stomach.
- You could die.
@hoox
hoox / pfx-rsa-pkcs12-example.go
Last active August 26, 2019 17:28
PFX RSA PKCS12 Encrypt Decrypt Data Example
package main
import (
"crypto/rand"
"crypto/rsa"
"fmt"
"io/ioutil"
"golang.org/x/crypto/pkcs12"
)
@hoox
hoox / GREP_ZIP_FILES.md
Created August 23, 2017 04:04
Grep through a set of ZIP files

Grep through a set of ZIP files

for f in *.zip; do zipgrep textToQuery $f && echo $f; done

@hoox
hoox / BASIC_AUTH.md
Last active August 18, 2017 01:31
Generate a Basic Auth string

Generate a Basic Auth string

echo -n "user:pass" | openssl base64 -a

@hoox
hoox / akamai-configuration-gzip-content-types.md
Last active October 13, 2016 00:42
Akamai - GZIP Content Types

application/javascript application/json application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/xml font/eot font/opentype

@hoox
hoox / akamai-configuration-static-files.md
Created October 13, 2016 00:40
Akamai - Cacheable File Extensions

aif aiff au avi bin bmp bz2 cab carb cct

@hoox
hoox / proc.md
Last active April 13, 2016 00:52
Linux Process Information (pseudo-file system)
@hoox
hoox / robots.txt
Last active October 1, 2015 04:28
Robots.txt
User-agent: *
Disallow: