Post SNS Message to Discord Webhook
Key | Value |
---|---|
Platform | Node.js 14 |
handler | index.handler |
THEME | FORMAT | SOURCE | LINK | |
---|---|---|---|---|
roads, waterways, building footprints, points of interest | shp, pbf | OpenStreetMap (OSM) | http://download.geofabrik.de/asia/philippines.html | |
administrative boundaries (country, region, province, municipality, city) | shp | PSA, NAMRIA, DROMIC, UNOCHA, and patners | https://data.humdata.org/dataset/philippines-administrative-levels-0-to-3 | |
administrative boundaries (barangay) | shp | PSA, NAMRIA, DROMIC, UNOCHA, and patners | https://data.humdata.org/dataset/philippines-admin4-boundaries-barangay | |
framework data (boundaries, roads, elevation, population, etc.) | various | DIVA-GIS | http://www.diva-gis.org/gdata | |
topographic maps (1:50,000 and 1:250,000) | non-georeferenced raster | NAMRIA | http://www.namria.gov.ph/download.php | |
various geohazards | shp | NOAH | http://noah.up.edu.ph/downloads/ | |
various geohazards | shp | DREAM | https://lipad.dream.upd.edu.ph/ | |
various geohazards | shp | MGB | http://www.namria.gov.ph/download.php | |
various geohazards | shp | PHIVOLCS | http://www.phivolcs.dost.gov.ph/ |
# 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 |