This file contains hidden or 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
#!/usr/bin/env bash | |
set -eu | |
binary="$1" | |
with_strings="${2:-}" | |
strings=$(strings "$binary") | |
linking=$(ldd "$binary") | |
rpaths=$(readelf -d "$binary") |
This file contains hidden or 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
{ | |
"nodes": { | |
"cachix": { | |
"inputs": { | |
"devenv": [ | |
"devenv" | |
], | |
"flake-compat": [ | |
"devenv" | |
], |
This file contains hidden or 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
/** | |
* rofi -dump-theme output. | |
* Rofi version: 1.7.5 | |
**/ | |
* { | |
alternate-urgent-background: var(lightbg); | |
alternate-active-foreground: var(blue); | |
selected-active-background: var(blue); | |
selected-urgent-foreground: var(background); | |
fg2: rgba ( 150, 150, 150, 100 % ); |
This file contains hidden or 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
configuration { | |
/* modes: "window,drun,run,ssh";*/ | |
/* font: "mono 12";*/ | |
/* location: 0;*/ | |
/* yoffset: 0;*/ | |
/* xoffset: 0;*/ | |
/* fixed-num-lines: true;*/ | |
/* show-icons: false;*/ | |
/* terminal: "rofi-sensible-terminal";*/ | |
/* ssh-client: "ssh";*/ |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# based on https://github.com/newren/git-filter-repo/blob/main/contrib/filter-repo-demos/insert-beginning | |
""" | |
This is a simple program that will insert some regular file into the root | |
commit(s) of history, e.g. adding a file named LICENSE or COPYING to the | |
first commit. It also rewrites commit hashes in commit messages to update | |
them based on these changes. | |
""" | |
import argparse |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import argparse | |
import tempfile | |
import operator | |
from functools import partial, reduce | |
import subprocess | |
from tqdm import tqdm |
This file contains hidden or 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 | |
# shellcheck disable=SC2015 | |
repoDir="$1" | |
example="$2" | |
function die() { | |
echo -e "$@" >&2 | |
exit 1 | |
} |
This file contains hidden or 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 | |
# shellcheck disable=SC2015 | |
repoDir="$1" | |
example="$2" | |
function die() { | |
echo -e "$@" >&2 | |
exit 1 | |
} |
This file contains hidden or 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 | |
# | |
# Unattendet installation of any virtual machine with | |
# Virtual Box 6. | |
# The script walks you through the needed options with | |
# default values. | |
# | |
# Usage: | |
# `installVirtualMachine.sh --force-delete \ | |
# --post-script-url "https://server.com/script.sh"` |
This file contains hidden or 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
#include <iostream> | |
#include <type_traits> | |
#include <iomanip> | |
#define white_space(c) ((c) == ' ' || (c) == '\t') | |
#define valid_digit(c) ((c) >= '0' && (c) <= '9') | |
namespace StringConversion | |
{ | |
namespace detail |
NewerOlder