Authorizing via the "authorization" header in the request is perfect. All request definitions below do not explicitly include that header, however it should be used.
curl -X GET /api/artist/?page=1
<?php | |
/* | |
* Display LibreNMS interface graphs in Netbox | |
* | |
* 1. Upload this file into the plugin folder of LibreNMS. | |
* 2. Generate an API key in LibreNMS and insert the connection details below. | |
* 3. Create graphs in Netbox using the following URL scheme. | |
* https://nms.level66.network/plugins/netbox-graph.php?device={{ obj.device.name }}&interface={{ obj.name }}&duration=8h | |
* 4. Save time in your daily work! | |
* |
# This GIST has been transformed into a Git repository and does not receive updates anymore | |
# | |
# Please visit the github repo to get a current list | |
# https://github.com/Neo23x0/ti-falsepositives/ | |
# Hashes that are often included in IOC lists but are false positives | |
HASH_WHITELIST = [ | |
# Empty file | |
'd41d8cd98f00b204e9800998ecf8427e', | |
'da39a3ee5e6b4b0d3255bfef95601890afd80709', |
#!/bin/bash | |
# Creator: Phil Cook | |
# Modified: Andy Miller | |
# | |
# >>> IMPORTANT: Moved to: https://github.com/rhukster/sphp.sh | |
# >>> Kept here for legacy purposes | |
# | |
osx_major_version=$(sw_vers -productVersion | cut -d. -f1) | |
osx_minor_version=$(sw_vers -productVersion | cut -d. -f2) | |
osx_patch_version=$(sw_vers -productVersion | cut -d. -f3) |
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
<?php | |
add_filter( 'woocommerce_gzd_instant_order_confirmation', 'my_child_disable_instant_order_confirmation', 1, 10 ); | |
function my_child_disable_instant_order_confirmation( $disable ) { | |
return false; | |
} | |
?> |
These are the steps I went through to set up an SSL cert. Purchase the cert
Prior to purchasing a cert, you need to generate a private key, and a CSR file (Certificate Signing Request). You’ll be asked for the content of the CSR file when ordering the certificate:
openssl req -new -newkey rsa:2048 -nodes -keyout example_com.key -out example_com.csr
<main class="calendar-contain"> | |
<section class="title-bar"> | |
<button class="title-bar__burger"> | |
<span class="burger__lines">Toggle Menu</span> | |
</button> | |
<span class="title-bar__year"> | |
Calendar > May 2017 | |
</span> | |
<span class="title-bar__month"> |
In this php example (app/Http/Controllers/Auth/LoginController.php
) my model is called Client
and the custom field for login validation is status
. (Client->status
)
Add in your resources/lang/en/auth.php
file :
'failed_status' => 'Your account is inactive yet. Please confirm your e-mail address.',