I hereby claim:
- I am anderfernandes on github.
- I am anderfernandes (https://keybase.io/anderfernandes) on keybase.
- I have a public key ASAAOrWPxcMo5KDkgwNtjaFXbhQhUALj45GuOp6LiZSBmAo
To claim this, I am signing this object:
# Generated by Powerlevel10k configuration wizard on 2020-04-30 at 16:22 CDT. | |
# Based on romkatv/powerlevel10k/config/p10k-lean-8colors.zsh, checksum 31748. | |
# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean_8colors, | |
# 12h time, 1 line, compact, many icons, fluent, instant_prompt=verbose. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with 8-color lean prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# | |
# Tip: Looking for a nice color? Here's a one-liner to print colormap. |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme | |
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. |
I hereby claim:
To claim this, I am signing this object:
# Redirect HTTP request to HTTPS | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; | |
return 301 https://$host$request_uri; | |
} | |
# HTTPS settings | |
server { |
1. Install web server | |
2. Edit configuration: setup access and error logs, http portion and server portion. Root should be /public | |
3. Setup php-fpm (nginx), fastcgi (IIS), install package if needed and setup bindings in web server config file | |
4. Configure url parameters, eg. nginx: | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} | |
5. Make sure permissions to /public are: directory (755) and file (644), if changes are needed, use chmod |
<!-- This template has been extracted after analyzing the source code generated by Outlook 2013 --> | |
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"> | |
<head> | |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> | |
<meta name=Generator content="Microsoft Word 15 (filtered medium)"> | |
<style> | |
<!-- | |
/* Font Definitions */ | |
@font-face | |
{font-family:"Cambria Math"; |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<remove name="BonCode-Tomcat-CFM-Handler" /> | |
<remove name="BonCode-Tomcat-CFC-Handler" /> | |
<add name="BonCode-Tomcat-CFM-Handler" path="*.cfm" verb="*" type="BonCodeIIS.BonCodeCallHandler" modules="ManagedPipelineHandler" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" /> | |
<add name="BonCode-Tomcat-CFC-Handler" path="*.cfc" verb="*" type="BonCodeIIS.BonCodeCallHandler" modules="ManagedPipelineHandler" resourceType="File" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" /> | |
</handlers> | |
<defaultDocument> |
// This function masks a phone number in an input field of id 'phone', mask is (999) 999-9999 | |
document.getElementById('phone').addEventListener('input', function (e) { | |
var x = e.target.value.replace(/\D/g, '').match(/(\d{0,3})(\d{0,3})(\d{0,4})/); | |
e.target.value = !x[2] ? x[1] : '(' + x[1] + ') ' + x[2] + (x[3] ? '-' + x[3] : ''); | |
}); |