LLDB is a debugger you can attach to a program to do things like capturing stacktraces. Here is some basic usage:
# Attach to a program (waits for future execution in another terminal)
lldb -n php -w
# continue execution
c
import os | |
def main(): | |
makefile_path = os.path.join(os.getcwd(), "Makefile") | |
with open(makefile_path, "r") as makefile: | |
content = makefile.readlines() | |
new_content = "" |
#!/bin/bash | |
# shellcheck disable=SC2104 | |
# The following script will setup the project for the first time for local dev | |
# To run the project after setup, use `docker compose up -d` | |
set -e | |
REPO_NAME="$1" |
import random | |
n = 36 | |
random.randint(pow(10, n - 1), pow(10, n) - 1) |
function resetForm() { | |
deleteAllFormResponses() | |
resetFormResponseDestination() | |
} | |
function resetFormResponseDestination() { | |
var form = FormApp.getActiveForm(); | |
var formResponsesSheetId = form.getDestinationId(); | |
var spreadsheet = SpreadsheetApp.openById(formResponsesSheetId); | |
# 2. Get the list of printers
lpstat -p -d
# 3. Print to the ZPL
lpr -P NAME_OF_PRINTER -o raw path/to/file.zpl
#!/bin/bash | |
# Start from the current directory or specify the root directory as an argument | |
start_dir="${1:-.}" | |
process_config() { | |
local config_file="$1" | |
echo "Processing $config_file" | |
sed -i.bak 's|https://github.com/|[email protected]:|g' "$config_file" | |
} |
// Bootstrap 5 Color Palette | |
// Docs: https://getbootstrap.com/docs/5.3/customize/color | |
// Theme colors | |
$primary: #0d6efd; | |
$secondary: #6c757d; | |
$success: #198754; | |
$info: #0dcaf0; | |
$warning: #ffc107; | |
$danger: #dc3545; |