One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
server { | |
listen 80; | |
server_name www.example.com example.com; | |
# Redirect all traffic to SSL | |
rewrite ^ https://$server_name$request_uri? permanent; | |
} | |
server { | |
listen 443 ssl default_server; |
# | |
# Name: nginx-tls.conf | |
# Auth: Gavin Lloyd <[email protected]> | |
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
# | |
# Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
# to SSL/TLS are omitted here. | |
# | |
# Example: https://www.ssllabs.com/ssltest/analyze.html?d=gavinhungry.io | |
# |
BEGINNER'S GUIDE - ALL CONTROLS + TIPS (Escape from Tarkov)
def changePassword(user_dn, old_password, new_password): | |
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_NEVER) | |
l = ldap.initialize("LDAPS://DOMAIN.COM") | |
l.set_option(ldap.OPT_REFERRALS,0) | |
l.set_option(ldap.OPT_PROTOCOL_VERSION,3) | |
l.set_option(ldap.OPT_X_TLS,ldap.OPT_X_TLS_DEMAND) | |
l.set_option(ldap.OPT_X_TLS_DEMAND,True) | |
l.set_option(ldap.OPT_DEBUG_LEVEL,255) | |
l.simple_bind_s("[email protected]", "PASSWORD") |
server { | |
listen 80; | |
server_name www.example.com example.com; | |
# Redirect all traffic to SSL | |
rewrite ^ https://$host$request_uri? permanent; | |
} | |
server { | |
listen 443 ssl default_server; |
Run though this damn checklist... Please!
rm bootstrap/compiled.php
?git pull {laravel remote name} develop
?rm -rf vendor
?composer update --no-dev
?# Orignal version taken from http://www.djangosnippets.org/snippets/186/ | |
# Original author: udfalkso | |
# Modified by: Shwagroo Team and Gun.io | |
import sys | |
import os | |
import re | |
import hotshot, hotshot.stats | |
import tempfile | |
import StringIO |