This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHPIniDir "C:/php811" | |
AddHandler application/x-httpd-php .php | |
LoadModule php_module "C:/php811/php8apache2_4.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DirectoryIndex: sets the file that Apache will serve if a directory | |
# is requested. | |
# | |
<IfModule dir_module> | |
DirectoryIndex index.php index.html | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHPIniDir "C:/php7427" | |
AddHandler application/x-httpd-php .php | |
LoadModule php7_module "C:/php7427/php7apache2_4.dll" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mpm_winnt_module> | |
ThreadStackSize 8888888 | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
subprocess.run('sudo systemctl status nginx', shell=True, check=True) | |
subprocess.run("sudo ufw allow 'Nginx Full'", shell=True, check=True) | |
subprocess.run('sudo ufw allow OpenSSH', shell=True, check=True) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//add bootstrap file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sample client configuration file | |
#place the ca.crt, client.crt, and client.key | |
#in the same folder as this configuration file. | |
#Import this into your OpenVPN client | |
client | |
dev tun | |
proto udp | |
# change this to the IP or name of your server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import json | |
import requests | |
URL_TO_SAVE = ('https://feedly.com/v3/streams/contents?' | |
'streamId=user%2F{}%2Ftag%2Fglobal.saved&count=100') | |
HEADERS = dict(l.strip().split(': ') for l in open('headers.txt').readlines() | |
if len(l.strip())) | |
USERID = re.search(r'"feedlyId":"([^"]+)"', HEADERS['Cookie']).group(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "javascript-development-environment", | |
"version": "1.0.0", | |
"description": "JavaScript development environment Pluralsight course by Cory House", | |
"scripts": { | |
}, | |
"author": "Cory House", | |
"license": "MIT", | |
"dependencies": { | |
"whatwg-fetch": "1.0.0" |