Create a .inputrc file and add set bell-style none.
Add set vb t_vb= to your .vimrc.
| [Unit] | |
| Description=Disables GPE 06 | |
| [Service] | |
| ExecStart=/usr/bin/bash -c 'echo "disable" > /sys/firmware/acpi/interrupts/gpe06' | |
| [Install] | |
| WantedBy=multi-user.target |
| # Takes a large number of files and moves them into smaller sub directories. | |
| # I needed this for data sanitation. I wanted to create sub directories that | |
| # countained 100 files. Then I could set goals for myself, say today I am going | |
| # to do 2 subdirectories. This helped me stay motivated and get it done. | |
| split() { | |
| i=0; for f in *; do d=dir_$(printf %03d $((i/100+1))); mkdir -p $d; mv "$f" $d; let i++; done | |
| } |
| import random | |
| " Simulate dice roll" | |
| def diceRoll( ): | |
| return random.randint(1, 6) | |
| " Simulates two dice being rolled by returning their sum" | |
| def firstRoll(): | |
| return diceRoll() + diceRoll() |
| # Ubuntu | |
| sudo apt install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <style> | |
| body { | |
| background-color: #363537; | |
| color: white; |
| # This file allows you to combine multiple json files into one | |
| # Just pass all the paths to all the files you want to combine using | |
| # command line arguments | |
| FILES=$@ | |
| TMP_FILE="/tmp/results.tmp" | |
| RESULT_FILE=results.json | |
| echo "${FILES}" |
| /// <summary> | |
| /// Loads .env file environment variables into a format that can be used in C#. | |
| /// This allows .NET applications to share a .env file with Docker and Node.js. | |
| /// </summary> | |
| public static class DotEnv | |
| { | |
| /// <summary> | |
| /// Loads the projects .env file into the environment variables used by .NET. | |
| /// </summary> | |
| /// <param name="filePath">Path to the .env file to load.</param> |