Skip to content

Instantly share code, notes, and snippets.

View mattfinch's full-sized avatar

Matt Finch mattfinch

View GitHub Profile
@mattfinch
mattfinch / login.html
Last active February 3, 2016 14:06
Simple Material Design Login Form
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://code.getmdl.io/1.1.0/material.blue-light_blue.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
form { max-width: 300px; margin: 0 auto; }
.mdl-grid { margin-top: 15%; }
@mattfinch
mattfinch / backupMaintainer.ps1
Last active October 29, 2015 10:23
Script to keep an eye on FTP dropbox for backups + delete old ones.
function AddLog ($msg, $psh) {
Add-Content C:\log.txt "`n[$([DateTime]::Now)]$msg"
if ($psh){
Pushover $msg
}
}
function Pushover ($msg) {
$parameters = New-Object System.Collections.Specialized.NameValueCollection
$parameters.Add("token", "PushoverApiToken")
@mattfinch
mattfinch / Hash Identifier.markdown
Last active August 29, 2015 14:27
Hash Identifier

Hash Identifier

Punch a hash into the box, the page will tell you what kind of hash it might be. For most hashes there will be multiple matches.

A Pen by mattfinch on CodePen.

License.

Keybase proof

I hereby claim:

  • I am mattfinch on github.
  • I am mattfinch (https://keybase.io/mattfinch) on keybase.
  • I have a public key whose fingerprint is 97F7 27C4 F163 3110 B144 DAB7 8E29 9296 C5AD BE90

To claim this, I am signing this object:

Power Button

This is a button/indicator that will be part of a web app, when the user presses the button, it sends a WOL packet and pings the recipient until it times out or receives a response, at which point it changes to Online. It's actually pretty cool.

A Pen by mattfinch on CodePen.

License.

Status Display Board

A simple status display board for a project I'm working on.

Inspired by StatusPage.io and BitBucket's status page.

A Pen by mattfinch on CodePen.

License.

Older Output

I wanted to output some raw data to users in a way that was reminiscent of older, dot matrix printers, while still being useful and readable.

Most of all the text needed to be selectable without the line numbers. Granted, this is horrendously ugly. Sorry about that.

A Pen by mattfinch on CodePen.

License.

Binary Background

Random 1's and 0's as a background - randomly changing over time. Could be used as a loader I suppose...

A Pen by mattfinch on CodePen.

License.

Baudot

Baudot Code - randomly changing over time + scrolling. Could be used as a loader I suppose... Options for these are in updateBaudot() function. Enjoy.

Set data-length and data-interval for the number of characters and interval in ms. Defaults to 16 and 100 if not.

A Pen by mattfinch on CodePen.

License.