Skip to content

Instantly share code, notes, and snippets.

@natmchugh
natmchugh / paxton-covert.html
Last active March 13, 2024 14:30
Convert Paxton Fob Data to ids and vice versa
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Paxton Fob converter</title>
<style>
table, th, td, div {
border: 1px solid black;
}
@natmchugh
natmchugh / copying-Paxton-fobs.md
Last active May 29, 2024 10:30
How to copy, read and write Paxton fobs and cards with an RFIDler

How to copy, read and write Paxton fobs and cards with an RFIDler

A newer version of this info is available at https://badcfe.org/how-to-paxton-with-rfidler/

Paxton fobs and readers are popular in the UK especially the Net2 system where the fobs look like this with a blue ring: Paxton Fob

Paxton readers often look like this:

Paxton Reader

@geuis
geuis / gist:1489bbd1a8e47e86db38
Last active April 9, 2017 08:38
Force jshint validation with pre-commit hook (bash)
#!/bin/sh
# Run changed javascript files through jshint before commiting and prevent bad
# code from being committed.
# If you need to prevent newly added js from being checked because its in a
# library like bower_components, add a .jshintignore file and list the directory
# INSTALL: Add as a file in your repo as .git/hooks/pre-commit
FILES=$(git diff --cached --name-only --diff-filter=ACM| grep ".js$")
if [ "$FILES" = "" ]; then
exit 0
@csswizardry
csswizardry / SassMeister-input-HTML.html
Last active January 22, 2018 10:39
Generated by SassMeister.com.
<ul class="o-list-fit c-nav-primary">
<li class="o-list-fit__item c-nav-primary__item">
<a href="#" class="o-list-fit__link c-nav-primary__link">The workshop</a>
</li>
<li class="o-list-fit__item c-nav-primary__item">
<a href="#" class="o-list-fit__link c-nav-primary__link">2013 Schedule</a>
</li>
<li class="o-list-fit__item c-nav-primary__item">
<a href="#" class="o-list-fit__link c-nav-primary__link is-current">About CSS Wizardry</a>
</li>
@denji
denji / README.md
Last active April 26, 2024 18:09 — forked from istepanov/gist:3950977
Remove/Backup – settings & cli for macOS (OS X) – DataGrip, AppCode, CLion, Gogland, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm