![Twitter Follow][twitter]
A shady game master approaches...
Hey there! You look like you would enjoy a good game of chance.
# MINIMAL USB gadget setup using CONFIGFS for simulating Razer Gaming HID | |
# devices for triggering the vulnerable Windows Driver installer | |
# credits for the Windows Driver install vuln: @j0nh4t | |
# | |
# https://twitter.com/j0nh4t/status/1429049506021138437 | |
# https://twitter.com/an0n_r0/status/1429263450748895236 | |
# | |
# the script was developed & tested on Android LineageOS 18.1 |
(If this file is included in a project, you can find the list of current caretakers at the bottom.)
In a small classical open-source project, maintainers do a lot, and if maintainers don't have time to do a lot, usually the project stalls. Finding new maintainers is hard because few people actively want to take over all the responsibilities of a project. There must be a different way.
With Caretaker Maintainership, "Maintainers" become "Caretakers". Caretakers' only mandatory responsibility is to grant Releasers commit and publish access to the project.
(defun rk/open-compilation-buffer (&optional buffer-or-name shackle-alist shackle-plist) | |
"Helper for selecting window for opening *compilation* buffers." | |
;; find existing compilation window left of the current window or left-most window | |
(let ((win (or (loop for win = (if win (window-left win) (get-buffer-window)) | |
when (or (not (window-left win)) | |
(string-prefix-p "*compilation" (buffer-name (window-buffer win)))) | |
return win) | |
(get-buffer-window)))) | |
;; if the window is dedicated to a non-compilation buffer, use the current one instead | |
(when (window-dedicated-p win) |
alias ..='cd ..' | |
alias ...='cd ../../../' | |
################################################ | |
# [bash - aliasing cd to pushd - is it a good idea? - Unix & Linux Stack Exchange](https://unix.stackexchange.com/a/4291/187865) | |
# You can then navigate around on the command-line a bit like a browser. | |
# - cd changes the directory. | |
# - back goes to the previous directory that you cded from. | |
# - flip will move between the current and previous directories without popping them from the directory stack. |
#!/usr/bin/env bash | |
# based on github.com/gokcehan/lf/wiki/Previews | |
# thanks to dylanaraps for bash bible | |
# a margin in pixels needed to prevent image from overlapping top title | |
SAFE_MARGIN=56 | |
# a threshhold for upscaling images, like pixelart or so | |
NOFILTER_THRESH=256 |
{ stdenv, buildRustCrate, fetchurl, lib, defaultCrateOverrides }: | |
{ src, overrides ? { }, features ? [ "default" ] | |
, builtin ? [ "core" "compiler_builtins" ], cargoToml ? src + "/Cargo.toml" | |
, cargoLock ? src + "/Cargo.lock", local ? true }: | |
let | |
project = builtins.fromTOML (builtins.readFile cargoToml); | |
projectLock = builtins.fromTOML (builtins.readFile cargoLock); | |
packages = builtins.foldl' (a: n: | |
a // { |
#include <assert.h> | |
#include <string> | |
template<typename... T> std::string stringf(T... args) { | |
int length = snprintf(0, 0, args...); | |
if(length < 0) assert(("invalid arguments to stringf", false)); | |
std::string str(length, 0); | |
snprintf(str.data(), length + 1, args...); | |
return str; | |
} |
name: Security audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
paths: | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
jobs: | |
security_audit: |