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
include /usr/share/nano/*.nanrc |
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
# Remap prefix from 'C-b' to 'C-f' | |
unbind C-b | |
set-option -g prefix C-f | |
bind-key C-f send-prefix | |
# Improve colors | |
set -g default-terminal 'xterm-256color' | |
# Set scrollback buffer to 10000 | |
set -g history-limit 10000 |
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
behave mswin | |
filetype on | |
filetype plugin on | |
"set lines=40 columns=120 | |
set ai | |
set backspace=indent,eol,start | |
set dir=. | |
set expandtab | |
set foldmethod=marker |
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
nmap -sn 192.168.1.100/24 |
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 | |
$passwd = "swordfish"; | |
$phash = password_hash($passwd, PASSWORD_DEFAULT); | |
if(password_verify($passwd, $phash)) { | |
echo "passwords match\n"; | |
} | |
else { | |
echo "passwords do not match\n"; | |
} |
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
Require all granted |
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
#!/usr/bin/env bash | |
# changed init calls to systemctl | |
# update the box | |
sudo yum -y update | |
# apache2 | |
sudo yum -y install httpd |