See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| using System; | |
| using System.Runtime.InteropServices; | |
| // ReSharper disable SuspiciousTypeConversion.Global | |
| // ReSharper disable InconsistentNaming | |
| namespace VideoPlayerController | |
| { | |
| /// <summary> | |
| /// Controls audio using the Windows CoreAudio API | |
| /// from: http://stackoverflow.com/questions/14306048/controling-volume-mixer |
| func_100008_d isDurationMax | |
| func_100009_j_ getFacing | |
| func_100011_g getIsPotionDurationMax | |
| func_100012_b setPotionDurationMax | |
| func_100015_a isKeyDown | |
| func_102007_a canInsertItem | |
| func_102008_b canExtractItem | |
| func_102012_a insertStackFromInventory | |
| func_102013_b canExtractItemFromInventory | |
| func_102015_a canInsertItemToInventory |
| # Corsair headsets will stuck the apps on your linux system. This is due to wrong usb-mapping. | |
| # thx to http://www.c0urier.net/2016/corsair-gaming-void-usb-rgb-linux-fun | |
| # 1. open terminal | |
| # 2. type this and search the line with your headset | |
| lsusb | |
| # Get the USB ID of the headset and add it to xorg.conf: |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
This gist is an example of how you can simply install and run and extended Postgres using docker-compose. It assumes that you have docker and docker-compose installed and running on your workstation.
docker and docker-composegit clone https://gist.github.com/b0b7e06943bd389560184d948bdc2d5b.gitload-extensions.sh executabledocker-compose build| export async function jwtVerify(token: string, secret: string): Promise<any> { | |
| return new Promise((resolve, reject) => { | |
| verify(token, secret, (err, decoded) => { | |
| if (err) return reject(err); | |
| resolve(decoded); | |
| }); | |
| }); | |
| } |
| // WARNING: THIS EXAMPLE HAS BEEN SUPERSEDED BY THIS PROJECT. PLEASE MIGRATE. https://github.com/cnlohr/openvr_overlay_model | |
| // Battery Watcher for OpenVR (make an overlay with the battery left for all connected devices on your left hand) | |
| // | |
| // Compile with: | |
| // tcc battery_monitor_overlay.c -o bmo.exe -luser32 -lgdi32 -lkernel32 -lopengl32 C:\windows\system32\msvcrt.dll openvr_api.dll | |
| // System headers for any extra stuff we need. | |
| #include <stdbool.h> |
| #pragma once | |
| #include <variant> | |
| #include <string> | |
| #include <vector> | |
| #include <unordered_map> | |
| namespace json { | |
| inline std::string util_replace(std::string haystack, const std::string_view& needle, const std::string_view& replaced_data) { |
| #!/bin/bash | |
| # This script removes the Monster Hunter Wilds shader cache and then | |
| # executes the command passed to it. | |
| # Recommended to put this script somewhere in your PATH, for example: | |
| # ~/.local/bin/mhwshadercleanup | |
| # Remove the shader cache file. | |
| # The '2>' part redirects standard error to /dev/null, so it doesn't |