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> | |
<head> | |
<title>Demo Contact Form - Submit a ticket to UV via JSONP</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" /> | |
<style type="text/css"> #contact_form { margin: 20px auto; width: 500px; } </style> | |
</head> | |
<body> | |
<div id="contact_form"> |
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 | |
# mapped to lw (as in log work) this script simply appends any parameters as a new line in worklog.txt in ~/ | |
# no parameters will print the last 10 messages | |
# -o opens the worklog in VIM and immediately jumps to the last line. | |
# -l gets the tux to tell you the last message. | |
# -u deletes the last message (u as in undo). | |
# -uv also posts the message to idone this. | |
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
#!/usr/bin/env bash | |
### | |
# Run this script as root | |
### | |
# Setup variables for this script | |
echo "Settings for this machine--" | |
[ -z "$HOSTNAME" ] && read -p 'Hostname: ' HOSTNAME | |
[ -z "$LOCALE" ] && read -p 'Locale [en]: ' LOCALE |