Skip to content

Instantly share code, notes, and snippets.

<header>
<h1>JSON and AJAX</h1>
<button id="btn">Fetch Info for 3 New Animals</button>
</header>
<div id="animal-info"></div>

Keybase proof

I hereby claim:

  • I am leettran on github.
  • I am asiansfly (https://keybase.io/asiansfly) on keybase.
  • I have a public key ASCpFGR_d_uwBkAfiF2qx-gGDe0ilqej1LOBclmfUVcN6go

To claim this, I am signing this object:

@leettran
leettran / client.conf
Created June 9, 2020 07:56 — forked from deargle/client.conf
OpenVPN server.conf and client.conf
##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server. #
# #
# This configuration can be used by multiple #
# clients, however each client should have #
# its own cert and key files. #
# #
# On Windows, you might want to rename this #
# file so it has a .ovpn extension #
@leettran
leettran / floatting-button.markdown
Last active July 3, 2018 06:13
Floatting button

Floatting button

@leettran
leettran / index.pug
Created June 28, 2018 05:22
StarWars BB-8 CSS Illustration + Animation
h1 StarWars BB-8 CSS Illustration
.artboard
.bb8
.bb8-body
.dot.dot-1
.line.line-1
@leettran
leettran / script.js
Last active June 17, 2018 19:22
f3.js
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["F3"] = factory();
else
root["F3"] = factory();
})(this, function() {
@leettran
leettran / poke.html
Last active June 17, 2018 19:09
Poke
<video id="video" width="200" height="200" preload autoplay loop muted></video>
<canvas id="canvas" width="200" height="200"></canvas>
<div class="body">
<div class="leg leg2"></div>
<div class="leg leg1"></div>
<div class="tummy">
<div class="arm arm1"></div>
<div class="arm arm2"></div>