Skip to content

Instantly share code, notes, and snippets.

@connorbode
connorbode / avvy-identity-provision.html
Last active April 19, 2021 06:40
Demonstration of identity loading for avvy.domains
<html>
<head>
<style>
* {
font-family: Arial;
}
body {
background: #eee;
}
@connorbode
connorbode / .vimrc
Created February 24, 2016 20:53
VIMRC
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'https://github.com/fatih/vim-go'
Plugin 'https://github.com/scrooloose/nerdtree'
Plugin 'flazz/vim-colorschemes'
@connorbode
connorbode / dabblet.css
Created April 1, 2014 04:41
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
@connorbode
connorbode / vamp_numberz.py
Last active December 27, 2015 15:39
SCS Interview Challenges : VAMPIRE NUMBERS o_O
'''
Problem:
A vampire number is a number v = x * y s.t. x and y are not both
divisible by 10 and the digits of v consit of the digits of x and
the digits of y. The number of digits n in the vampire number
must be even, and the number of digits in each of the two fangs
x and y must be half the number of digits in v. For instance,
1260 = 21 x 60 and 1395 = 15 x 93 are both vampire numbers.