Post SNS Message to Discord Webhook
Key | Value |
---|---|
Platform | Node.js 14 |
handler | index.handler |
# These are fragments of the configuration that will need to be updated | |
# --- | |
## GitLab URL | |
##! URL on which GitLab will be reachable. | |
##! For more details on configuring external_url see: | |
##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab | |
external_url 'https://gitlab.your-fqdn.com' | |
#external_url 'http://gitlab.internal.lan' |
Controllers should be in singular case, no spacing between words, and end with "Controller".
Also, each word should be capitalised (i.e. BlogController, not blogcontroller).
For example: BlogController, AuthController, UserController.
Bad examples: UsersController (because it is in plural), Users (because it is missing the Controller suffix).
When Riot Games introduces the Vanguard anti-cheat to League of Legends, you should STOP playing and you should not install the anti-cheat when you get the pop-up. Vanguard is a kernel-level anticheat and these anticheats operate at a privilege level HIGHER THAN YOUR OWN. The anti-cheat can do things that even you can't do, without asking or letting you know. It's like Riot installing a camera in every room of your house and getting a copy of every key inside.
Here is just one example of what they can do: https://www.theregister.com/2013/11/20/esea_gaming_bitcoin_fine/
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:
diskpart
to enter the disk partition tool.list disk
to see all disks listed.select disk [NUMBER]
. Be careful to select the correct drive.clean
. An error will occur if you have the drive folder open, close the window and repeat the command if this happens.create partition primary
.format fs=ntfs quick
to format the drive (you can also choose to set fs=fat32
).active
.#!/bin/bash | |
# | |
# Example using getopt (vs builtin getopts) that can also handle long options. | |
# Another clean example can be found at: | |
# http://www.bahmanm.com/blogs/command-line-options-how-to-parse-in-bash-using-getopt | |
# | |
aflag=n | |
bflag=n |
sudo systemctl stop [servicename] | |
sudo systemctl disable [servicename] | |
#rm /etc/systemd/system/[servicename] | |
#rm /etc/systemd/system/[servicename] symlinks that might be related | |
sudo systemctl daemon-reload | |
sudo systemctl reset-failed |
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 14, | |
"editor.lineHeight": 1.8, | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"editor.rulers": [80, 120], | |
"extensions.ignoreRecommendations": true, | |
"typescript.tsserver.log": "off", | |
"files.associations": { |