Skip to content

Instantly share code, notes, and snippets.

View academo's full-sized avatar

Esteban Beltran academo

  • Grafana Labs
  • Amsterdam, The Netherlands
View GitHub Profile
alert("Injected from a third party scrit");
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Direct vs proxies</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
[security]
frontend_sandbox_disable_for_plugins =
[feature_toggles]
pluginsFrontendSandbox = true
@academo
academo / symlinks.py
Created January 19, 2022 16:19
creates symlinks based on a dotfiles structure
#!/bin/sh
log=/var/log/cpu_fix.log
printf "Log File - " >$log
while :; do
date >>$log
PLUGGED=$(acpi -a | grep on-line)
if [ ! -z "$PLUGGED" ]; then
echo setting values >>$log
# MSR
# PL1
@academo
academo / ww
Last active December 26, 2023 10:46
#!/bin/bash
# Usage: ww -f "window class filter" -c "run if not found"
# Usage: ww -fa "window title filter" -c "run if not found"
## Find and contribute to a more updated version https://github.com/academo/ww-run-raise
POSITIONAL=()
while [[ $# -gt 0 ]]; do
key="$1"