Skip to content

Instantly share code, notes, and snippets.

View justinhartman's full-sized avatar
🏠
Working from home

Justin Hartman justinhartman

🏠
Working from home
View GitHub Profile
@justinhartman
justinhartman / meta-tags.md
Last active June 13, 2017 15:16 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your websites subject'>
<meta name='copyright' content='company name'>
@justinhartman
justinhartman / meta-tags.md
Created June 13, 2017 12:46 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@justinhartman
justinhartman / gist:3f951865dd50dd05ca22
Last active February 26, 2018 19:48
Install w3af Web App Scanner on macOS 10.9.4 with MacPorts

Install w3af Web App Scanner on Mac OSX 10.9.4 with MacPorts

Follow these simple instructions to get w3af Web App Scanner installed on Mac OSX 10.9.4 with MacPorts.

Overview

To get w3af to run in GUI mode on Mac OS X is not as easy as running the following as the w3af docs suggest:

git clone --depth 1 https://github.com/andresriancho/w3af.git
cd w3af
@justinhartman
justinhartman / debian-remote-ftp-server-mount.md
Last active February 26, 2018 20:03
Debian Remote FTP Server Mount Script

Debian Remote FTP Server Mount Script

The following is a Debian based Remote FTP Server Mount script that will connect to an FTP server at boot time and mount the fileshare to the filesystem at /mnt/ftpserver. This script depends on curlftpfs and umount and you may need to install them if they're not already installed. You can change the MOUNT path to any path on your server and please don't forget to replace the ftp details in the OPTIONS string.

Shell Script

Here's the script to use. Save it to disk, naming it something like ftp-mount.sh.

#! /bin/sh
### BEGIN INIT INFO
@justinhartman
justinhartman / Remote-Backups.md
Last active February 26, 2018 19:53
Steps to set up remote backups on a server

Install curlftpfs (if on Windows, use cygwin)

Use the following steps to set up remote backups on a server.

Create local mount path

$ mkdir -p /mnt/myftp

Mount the destination ftp site using curlftpfs

$ curlftpfs -o allow_other ftp://myusername:[email protected] /mnt/myftp