This file contains hidden or 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
[ | |
{ "type": "escape", "align": "left" }, | |
{ "type": "exitTouchbar", "width": 44, "align": "left" }, | |
// { "type": "dock", "align": "left" }, | |
// { "type": "brightnessDown", "width": 44, "align": "left" }, | |
// { | |
// "type": "brightness", | |
// "width": 60, | |
// "align": "left", | |
// "image": { |
This file contains hidden or 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
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=$1 # <-- wordpress root directory |
This file contains hidden or 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
<img src="" alt="" id="profileImg"> | |
<script> | |
$(document).ready(function(){ | |
//Fetch image path | |
imgPath = $("#welcomepagedivid001" ).load( "/phnx/driver.aspx?routename=Social/UniversalProfile/Bio #____fh_n_ah"); | |
//Add fetched to Prodile image src | |
$("#profileImg").attr("src",imgPath); | |
}); | |
</script> |
This file contains hidden or 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_prefork_module> | |
StartServers 3 | |
MinSpareServers 3 | |
MaxSpareServers 5 | |
MaxRequestWorkers 25 | |
MaxConnectionsPerChild 0 | |
</IfModule> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Page Title</title> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous"> |
This file contains hidden or 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
$ErrorActionPreference = 'Stop'; # stop on all errors | |
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | |
$fileLocation = Join-Path $toolsDir '/source/zhool.exe' | |
$url = '' | |
$url64 = '' | |
$packageArgs = @{ | |
packageName = $env:ChocolateyPackageName |
This file contains hidden or 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 | |
$IP = $_SERVER['REMOTE_ADDR']?:($_SERVER['HTTP_X_FORWARDED_FOR']?:$_SERVER['HTTP_CLIENT_IP']); | |
?> |
This file contains hidden or 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 | |
//Print Errors on page | |
error_reporting(E_ALL); | |
ini_set('display_errors', 1); | |
?> |
This file contains hidden or 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
function load_login_page_js() { | |
wp_enqueue_script('login', get_template_directory_uri() . '/assets/js/login-link.js', null, null, true); | |
} | |
add_action('login_enqueue_scripts', 'load_login_page_js'); |
This file contains hidden or 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
# nginx-wp-common.conf | |
# | |
# Contains a common configuration for use by nginx on a WordPress | |
# installation. This file should be included in any WordPress site | |
# nginx config with the following line: | |
# | |
# include /etc/nginx/nginx-wp-common.conf; | |
# | |
# See local-nginx-example.conf-sample for a full example | |
location / { |