Skip to content

Instantly share code, notes, and snippets.

@denalena
denalena / gnome-extensions.md
Last active September 27, 2023 13:05
[GNOME Extensions] A collection of GNOME Extensions that I use and can't live without. Tested on GNOME 3.32.1 #gnome

GNOME Extensions

GNOME 42

audio-output-switcher@anduchs
clipboard-history@alexsaveau.dev
gnome-ext-mitz@ozealis.de
gtktitlebar@velitasali.github.io
middleclickclose@paolo.tranquilli.gmail.com
noannoyance@daase.net
scroll-workspaces@gfxmonk.net
@denalena
denalena / coco.ps1
Last active December 22, 2021 22:45
[coco] A small powershell script for backing up a list of installed chocolatey packages #windows
param (
[string]$command = "",
[string]$file = "coco.txt"
)
function listInstalledPrograms() {
choco list --local --id-only --limit-output
}
function dumpInstalledPrograms() {
#!/bin/sh
# How do I install Composer programmatically?
# https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]
@denalena
denalena / .inputrc
Last active October 10, 2019 10:16
[inputrc] useful configuration for your daily fun with #bash
# use arrow keys to search history for a command, e.g. "cd "
"\e[A": history-search-backward
"\e[B": history-search-forward
# list more than one possible completion
set show-all-if-ambiguous on
# case insensitive filename completion
set completion-ignore-case on
@denalena
denalena / docker-snippets.sh
Created December 5, 2019 10:26
Useful docker snippets
# run mailhog
docker run -d --name mailhog -p 1025:1025 -p 8025:8025 mailhog/mailhog
[Desktop Entry]
Exec=~/data/bin/apps/
Icon=example
Name=Example
StartupNotify=true
Type=Application
@denalena
denalena / docker-compose.yml
Created November 12, 2020 16:13
Docker Compose | apache2 + php7.3
version: "2.4"
services:
apache:
privileged: true
image: httpd:2.4
volumes:
- ./httpd.conf:/usr/local/apache2/conf/httpd.conf
- ./dist:/usr/local/apache2/htdocs
ports:
- 80:80
@denalena
denalena / README.md
Last active August 4, 2021 12:04
HOWTO Windows 10 PDF Stapelverarbeitung

HOWTO Windows 10 PDF Stapelverarbeitung

Schritt 1: Installation von ImageMagick & GhostScript

Schritt 2: Ordner

  • Alle zu konvertierenden Dateien in einen Ordner KOPIEREN (zB "C:\convert\input")
  • Einen zweiten Ordner für die neuen Dateien erstellen (zB "C:\convert\output")
  • Beide vollen Pfade zu den Ordnern griffbereit haben, zB mit notepad.exe
@denalena
denalena / android-godot.md
Last active September 2, 2021 18:00
Godot Android Deploy & Run
./Android/Sdk/platform-tools/adb install -r Multitouch\ Cubes\ Demo\ .apk 
./Android/Sdk/platform-tools/adb shell am start -n org.godotengine.multitouchcubesdemo/com.godot.game.GodotApp