cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager
- Backup file existing one of
default.json
- Download
default.json
and add it to the current folder
key |
---|
Esc |
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG | |
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT. | |
# | |
# | |
# Libraries and infrastructure | |
sudo apt update -y | |
sudo apt install -y \ | |
docker.io docker-buildx \ | |
build-essential pkg-config autoconf bison rustc cargo clang \ |
#!/bin/bash | |
# ============================================================================= | |
# @file GitHub gist | |
# @brief stop Adobe Creative Cloud app from auto-launching on login on macOS | |
# @author Michael Hucka <[email protected]> | |
# @created 2021-08-12 | |
# @website https://gist.github.com/mhucka/59e785a315d813d14cd0258b89a2fcac | |
# | |
# I find Adobe Creative Cloud absolutely infuriating. It installs auto | |
# launchers that are not in the user's login app list, and the services are |
function DeepLinker(options) { | |
if (!options) { | |
throw new Error('no options') | |
} | |
var hasFocus = true; | |
var didHide = false; | |
// window is blurred when dialogs are shown | |
function onBlur() { |
Here's how to overcome this common gotcha: The default password reset system not working out of the box with Laravel 5.x (as you're not sent the user's password), without having to alter altering vendor/core. Here's how to make it work as you'd expect it to without changing any vendor files.
Firstly create a new notification for your app:
php artisan make:notification ResetPassword
Then open the newly created file: app\Notifications\ResetPassword.php
and make the following changes:
# Change to the project directory | |
cd $FORGE_SITE_PATH | |
# Turn on maintenance mode | |
php artisan down || true | |
# Pull the latest changes from the git repository | |
# git reset --hard | |
# git clean -df | |
git pull origin $FORGE_SITE_BRANCH |
<?php | |
namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Http\Response; | |
/** | |
* Validate Mailgun Webhooks | |
* @see https://documentation.mailgun.com/user_manual.html#securing-webhooks |
var http = require("https"); | |
var querystring = require('querystring'); | |
//2 attachments as JavaScript Objects | |
var attachments = [{ | |
fallback: "Attachment 1 Fallback", | |
title: "This is Attachment 1", | |
text: "Attachment 1 Text", | |
color: "#3964db" | |
}, { |
Config Apache with /etc/apache2/conf-available/le.conf
:
Alias /.well-known/acme-challenge/ "/var/www/html/.well-known/acme-challenge/"
<Directory "/var/www/html/">
AllowOverride None
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
/** | |
* You've probably heard it before, "explicit is better than implicit". Here's a simple | |
* example of that principle in action. | |
* | |
* In this example, our app has only two Fragments that can be visible at any given | |
* moment: CreateFragment and TrendingFragment. Both examples achieve the same result | |
* when everything is working as expected, however... | |
* | |
* In the explicit example, a final else{} branch would indiciate something's not | |
* quite right with our code somewhere since we know there are only two possible |