This file contains 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
# vim:ff=unix:ts=2:sw=2:ai:expandtab | |
# Cache location setup - this should be the NAS | |
proxy_cache_path /var/cache/nginx | |
levels=1:2 | |
keys_zone=bundle-cache:8M | |
max_size=100000M | |
inactive=3M | |
loader_threshold=330 | |
loader_files=1000; |
This file contains 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
PS ...\boringssl> mkdir build | |
PS ...\boringssl> cd build | |
PS ...\boringssl> # Create build_boringssl.ps1 | |
PS ...\boringssl\build> powershell -executionpolicy bypass -File .\build_boringssl.ps1 | |
... | |
DLL is at ...\boringssl\build\outx64\ssl\ssl.dll |
This file contains 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
package org.sgnn7.util; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
public class ClassLauncher { | |
private final Context context; | |
public ClassLauncher(Context context) { |
This file contains 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
FROM python:3.8-slim-bullseye | |
RUN apt update && \ | |
DEBIAN_FRONTEND="noninteractive" apt install -y procps && \ | |
apt clean | |
RUN pip3 install py-spy==0.3.11 | |
RUN mkdir -p /output |
This file contains 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
*.sw[po] |
This file contains 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
package main | |
import ( | |
"bufio" | |
"bytes" | |
"context" | |
"fmt" | |
"io" | |
"os" | |
"os/exec" |
This file contains 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 logging | |
import os | |
import sys | |
import time | |
import multiprocessing as mp | |
from multiprocessing import Process, Queue | |
try: | |
from datadog_checks.base import AgentCheck |
This file contains 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
#!/bin/bash -e | |
EC2_REGION="us-west-1" | |
DEFAULT_PROGRESS_WAIT=5 | |
# ========== SNAPSHOT WAIT ============== | |
snapshot_id="snap-testtesttest" | |
while [ "$snapshot_progress" != "100%" ]; do | |
sleep "$DEFAULT_PROGRESS_WAIT" |
This file contains 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
package log | |
import ( | |
"bytes" | |
"fmt" | |
"reflect" | |
"regexp" | |
"strings" | |
"testing" |
This file contains 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
package main | |
import ( | |
"log" | |
"math" | |
"os" | |
"strconv" | |
"time" | |
) |
NewerOlder