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
# Install tmux 3.0a on Amazon Linux 2 | |
# Originally tailored for CentOS 7 | |
# install deps | |
sudo yum install -y gcc kernel-devel make ncurses-devel | |
## Needs openssl | |
sudo yum install openssl-devel | |
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
## Install |
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
<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Ftoastmasterscreatingcommunicators&tabs=timeline&width=700px&height=500&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true&appId=1808361502709557" width="700px" height="500" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe> |
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
kubeadm reset | |
sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube* | |
sudo apt-get autoremove | |
sudo rm -rf ~/.kube |
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
<script type="text/html" id="cfx_all_canada"> | |
<option value="">Select Province</option> | |
<option value="">------------------------------</option> | |
<option value="AB">Alberta</option> | |
<option value="BC">British Columbia</option> | |
<option value="MB">Manitoba</option> | |
<option value="NB">New Brunswick</option> | |
<option value="NL">Newfoundland and Labrador</option> | |
<option value="NS">Nova Scotia</option> | |
<option value="ON">Ontario</option> |
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
# ================================================================================ | |
# Redirects uploads to production. | |
# ================================================================================ | |
<IfModule mod_rewrite.c> | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^wp-content/uploads/(.*)$ https://www.someotherdomain.com/wp-content/uploads/$1 [R=301,NC,L] | |
</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
<HashRouter> | |
<div> | |
<Route path="/" component={Home} /> | |
<Route path="about" component={About} /> | |
<Route path="teachers" component={Teachers} /> | |
<Route path="courses" component={Courses} /> | |
</div> | |
</HashRouter> |
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 | |
/** | |
* This template is used for displaying PRIVATE pages. | |
* | |
* Template Name: Private: Full Width | |
*/ | |
get_header(); ?> | |
<div class="wrapper section medium-padding"> |
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
/** | |
* @param {string} currentDate - The current date. | |
* @returns {string} Returns the new expiration date. | |
*/ | |
private addYear = (currentDate: string): string => { | |
// Add a day to the current date. | |
let objDate = new Date(currentDate); | |
objDate.setDate(objDate.getDate() + 1); | |
// Format the month. |
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
var rm_trans = { | |
affiliateConfig: {ranMID: '42785', discountType: 'item'}, | |
orderid: '2072', | |
currency: 'USD', | |
customerStatus: 'CUSTOMER_STATUS', | |
conversionType: 'Sale', | |
customerID: '0', | |
discountCode: 'upfree2, test2, test3', | |
discountAmount: 39.28, | |
taxAmount: 0, |
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
# Send all uploads links to production. | |
location ^~ /wp-content/uploads { | |
rewrite ^/wp-content/uploads/(.*)$ https://www.duaneleem.com/wp-content/uploads/$1 permanent; | |
} |
NewerOlder