- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
| " Generate compile_commands.json for clangd. | |
| " Prefer CMake export, else Ninja compdb, else Bear + Make with optional append. | |
| if exists('b:did_c_compdb_ftplugin') | finish | endif | |
| let b:did_c_compdb_ftplugin = 1 | |
| let s:inflight = {} | |
| augroup c_compdb | |
| autocmd! * <buffer> |
hi, i'm daniel. i'm a 16-year-old high school senior. in my free time, i hack billion dollar companies and build cool stuff.
about a month ago, a couple of friends and I found serious critical vulnerabilities on Mintlify, an AI documentation platform used by some of the top companies in the world.
i found a critical cross-site scripting vulnerability that, if abused, would let an attacker to inject malicious scripts into the documentation of numerous companies and steal credentials from users with a single link open.
(go read my friends' writeups (after this one))
how to hack discord, vercel, and more with one easy trick (eva)
Redacted by Counsel: A supply chain postmortem (MDL)
| {{ states.binary_sensor | |
| | selectattr('attributes.device_class', 'in', ['door','window']) | |
| | selectattr('state', 'equalto', 'on') | |
| | list | count }} |
| #----------------------------------------------------------------------------- | |
| # global: please note the localpeer declaration | |
| #----------------------------------------------------------------------------- | |
| global | |
| localpeer self | |
| log /dev/log local0 | |
| log /dev/log local1 notice | |
| chroot /var/lib/haproxy | |
| stats socket /run/haproxy/admin.sock mode 660 level admin |
In Django REST Framework views (this includes anything that might be called from a view), anytime when an exception occurs it will get handled by the framework.
To provide more customized error response with the appropriate status code, you will want to raise a subclass of APIException:
from rest_framework.exceptions import ValidationErrorNote
This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.
How to use this script:
Console tab