Skip to content

Instantly share code, notes, and snippets.

@kavun
kavun / index.html
Created March 29, 2016 13:10 — forked from anonymous/index.html
JS Bin // source http://jsbin.com/zicigo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
@kavun
kavun / Credit Card Generator
Last active December 16, 2015 20:02 — forked from B-Con/Credit Card Generator
This JavaScript function generates random number strings that pass the Luhn checksum, the test that credit card numbers must conform to. It assumes there is an HTML radio input to indicate which company issued the card. This code is from my webpage here: http://bradconte.com/cc_generator.html.
javascript:
!(function () {
/*
Copyright (c) 2015, Brad Conte (http:bradconte.com)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
@kavun
kavun / 0_reuse_code.js
Last active August 29, 2015 14:21
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
body {
font-family: Segoe UI;
font-size: 11px;
}