This file contains 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
*** Fatal Error *** | |
Address not mapped to object (signal 11) | |
Address: (nil) | |
System: Linux firebird 4.19.0-5-amd64 #1 SMP Debian 4.19.37-3 (2019-05-15) x86_64 | |
Executing: gdb --quiet --batch --command=/tmp/gdb-respfile-8nlVNh | |
[New LWP 5124] | |
[New LWP 5125] | |
[New LWP 5126] |
This file contains 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
version: '3' | |
services: | |
# MongoDB: https://hub.docker.com/_/mongo/ | |
mongo: | |
image: mongo:4.4 | |
volumes: | |
- mongo_data:/data/db | |
networks: | |
- graylog | |
# Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html |
This file contains 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 | |
dd if=/dev/random bs=1 count=${1:-16} 2> /dev/null | base64 | tee >(xclip -selection clip-board); |
This file contains 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
From 81c90e35566e959fbb0abfb3532847d4a11ac897 Mon Sep 17 00:00:00 2001 | |
From: Ghostbird <gijsbertth@gmail.com> | |
Date: Wed, 24 Nov 2021 21:23:20 +0100 | |
Subject: [PATCH] temp | |
--- | |
android/jni/Android.mk | 9 ++++++++- | |
1 file changed, 8 insertions(+), 1 deletion(-) | |
diff --git a/android/jni/Android.mk b/android/jni/Android.mk |
This file contains 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 node | |
process.stdout.write( | |
`const styleElement = document.createElement('style');styleElement.appendChild(document.createTextNode(\``, | |
() => process.stdin.pipe(process.stdout, { end: false }) | |
); | |
process.stdin.on('end', () => | |
process.stdout.write( | |
`\`));document.getElementsByTagName('head')[0].appendChild(styleElement);\n`, | |
() => process.stdout.end() | |
) |
This file contains 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 | |
# Run this in a directory where you don't mind cloning a few git repositories. e.g. /tmp | |
if [[ -f ${AndroidNdkDirectory}/ndk-build ]] | |
then | |
git clone git@github.com:libusb/libusb.git | |
git clone git@github.com:libusb/hidapi.git | |
cd hidapi/android/jni | |
# Apply patch from my gist to point Android.mk to correct libusb directory. | |
curl https://gist.githubusercontent.com/Ghostbird/2485d23afc39fbdac3bda136a46e6577/raw/a0fcbfd4c49b7f78b5faeb4befe3e47d33e93d87/Android.mk.patch | git apply - | |
# Print the file and ask for the user to confirm that the patch was not ransomware |
This file contains 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 | |
branches=$(git branch --merged | grep -Ev "^\*|develop|master|main") | |
if [ "$branches" ] | |
then | |
git branch -d $branches | |
else | |
echo "Nothing to delete" | |
fi |
This file contains 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 | |
# Put this script somewhere, and mark it as the default program to open AppImage files. | |
# Now if you click an AppImage that's not marked as executable, | |
# it will prompt whether you want to make it so, and launch it. | |
zenity --question \ | |
--title 'AppImage is not executable' \ | |
--text 'This AppImage is not marked as executable. Do you want to mark it as executable and launch the program?' \ | |
--width=512 | |
if [[ $? = 0 ]] | |
then |
This file contains 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
2022-09-23 10:43:36,288 [OneDriveGUI.py:2709][fn=get_installed_client_version][DEBUG] - [GUI] Installed client version is 2420 | |
2022-09-23 10:43:36,289 [OneDriveGUI.py:2744][fn=create_global_config][DEBUG] - [GUI] - loading default config {'onedrive': {'sync_dir': '"~/OneDrive"', 'skip_file': '"~*|.~*|*.tmp"', 'monitor_interval': '"300"', 'skip_dir': '""', 'log_dir': '"/var/log/onedrive/"', 'drive_id': '""', 'upload_only': '"false"', 'check_nomount': '"false"', 'check_nosync': '"false"', 'download_only': '"false"', 'disable_notifications': '"false"', 'disable_upload_validation': '"false"', 'enable_logging': '"false"', 'force_http_11': '"false"', 'local_first': '"false"', 'no_remote_delete': '"false"', 'skip_symlinks': '"false"', 'debug_https': '"false"', 'skip_dotfiles': '"false"', 'dry_run': '"false"', 'min_notify_changes': '"5"', 'monitor_log_frequency': '"5"', 'monitor_fullscan_frequency': '"10"', 'sync_root_files': '"false"', 'classify_as_big_delete': '"1000"', 'user_agent': '""', 'remove_source_files': '" |
This file contains 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/sh | |
# Automatically play the slot machine in Pokémon FireRed/LeafGreen (and maybe others) running on Android in an emulator. | |
# | |
# REQUIREMENTS: | |
# - Android device with pokemon in suitable emulator e.g. John GBA / John GBAC | |
# - PC with: | |
# - POSIX compliant shell (duh) | |
# - adb installed and in PATH | |
# | |
# |
OlderNewer