Skip to content

Instantly share code, notes, and snippets.

View shane0's full-sized avatar

Shane Null shane0

View GitHub Profile
@shane0
shane0 / keybase.md
Created January 29, 2015 22:31
keybase.md

Keybase proof

I hereby claim:

  • I am shane0 on github.
  • I am shanenull (https://keybase.io/shanenull) on keybase.
  • I have a public key whose fingerprint is 29FD 4F89 8070 F033 946A CBF9 BBEF BC59 C972 B92F

To claim this, I am signing this object:

@shane0
shane0 / psgmail.ps1
Created June 6, 2015 07:51
powershell send mail using gmail
$param = @{
SmtpServer = 'smtp.gmail.com'
Port = 587
UseSsl = $true
Credential = Get-Credential your@gmail.com
From = 'your@gmail.com'
To = 'your@gmail.com'
Subject = 'editme'
Body = "editme"
Attachments = c:\file.txt
@shane0
shane0 / 1-1000.txt
Created April 8, 2016 22:05 — forked from deekayen/1-1000.txt
1,000 most common US English words
the
of
to
and
a
in
is
it
you
that
@shane0
shane0 / README-Template.md
Created April 27, 2016 21:51 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

@shane0
shane0 / best-of.txt
Last active July 25, 2016 23:01 — forked from brendanberg/best-of.txt
egrep [aeiou]{4} sowpods.txt
aqueous
banlieue
bioaeration
bioaeronautics
euouae
gooier
guaiac
guaiacol
guaiacum
homoiousian
@shane0
shane0 / notes.md
Last active March 22, 2017 23:51
flask flatpage tag list view

tag views filtered by date, alpha, numeric

@shane0
shane0 / forms.py
Last active February 14, 2020 08:53
flask-flatpages search
class SearchFlatsForm(Form):
"""search flat pages"""
searchterm = StringField('searchterm',
validators=[DataRequired(),
Length(min=3, max=30),
])
@shane0
shane0 / _ReadMe.md
Last active March 24, 2017 19:31
adding comments to flask-flatpages #flask #flask-flatpages #comments

This is a simple comment system for flask-flatpages, appends a datetime stamp and your comment in the static file.

#todo: cleanup, redirect to same template and clean the template up
@shane0
shane0 / keymap.c
Created August 24, 2017 09:02 — forked from pocketkk/keymap.c
Chord and Pick Keymap
// This is the canonical layout file for the Quantum project. If you want to add another keyboard,
// this is the style you want to emulate.
#include "planck.h"
#ifdef BACKLIGHT_ENABLE
#include "backlight.h"
#endif
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
@shane0
shane0 / keymap.c
Last active September 1, 2017 18:58
qmk vortex core layout for planck
/* Copyright 2015-2017 Jack Humbert
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the