Skip to content

Instantly share code, notes, and snippets.

View Arcayr's full-sized avatar
👀
I'd like to add you to my professional network on GitHub.

Elliot Speck Arcayr

👀
I'd like to add you to my professional network on GitHub.
View GitHub Profile

Keybase proof

I hereby claim:

  • I am elliotspeck on github.
  • I am elliotspeck (https://keybase.io/elliotspeck) on keybase.
  • I have a public key whose fingerprint is 5CF2 1054 A1F0 5C5A C01C CB39 02AA B60F BE5F 9168

To claim this, I am signing this object:

@Arcayr
Arcayr / PasswordInput.vue
Last active February 22, 2018 23:13 — forked from noncototient/PasswordInput.vue
Vue password input component that consumes Have I Been Pwned Password API
<template>
<div>
<input class="form-control" :class="'is-'+status" type="password" v-model="password" @change="verify">
<div :class="status+'-feedback'" v-show="message">
<i class="fa fa-spinner fa-spin" v-show="loading"></i>
<span v-text="message"></span>
</div>
</div>
</template>
package main
import (
"log"
"reflect"
"strings"
)
const (
PUBLIC = iota
@Arcayr
Arcayr / bash.bashrc
Last active September 15, 2016 06:08
shopt -s checkwinsize
shopt -s globstar
# Set chroot variable if we're in a chroot.
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# Set prompt.
PS1="\[$(tput bold)\][\A] \u@\h:\W λ \[$(tput sgr0)\]"