Skip to content

Instantly share code, notes, and snippets.

View ummahusla's full-sized avatar
✌️
Check my digital garden (edvins.io)

Edvins Antonovs ummahusla

✌️
Check my digital garden (edvins.io)
View GitHub Profile
@ummahusla
ummahusla / gist:bc160235dca2e3f67537
Created December 17, 2014 15:26
HTML5 Canvas with tabs
<canvas id="canvas" width=900 height=700></canvas>
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext('2d')
var Tab = function(id, x, y, width, height, text, color) {
this.id = id;
// defaults can be changed after object creation
@ummahusla
ummahusla / ajax_request
Created December 17, 2014 15:17
How to get the previous ajax request
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src="http://code.jquery.com/jquery-2.1.1.js">
</script>
<script >
$(function(){
$('#btnSearch').click(function(){
@ummahusla
ummahusla / countries.txt
Created December 10, 2014 15:15
BreezingForms - Country Dropdown List
1;United Kingdom;united_kingdom
0;Afghanistan;afghanistan
0;Albania;albania
0;Algeria;algeria
0;Andorra;andorra
0;Angola;angola
0;Antigua and Barbuda;antigua_and_barbuda
0;Argentina;argentina
0;Armenia;armenia
0;Australia;australia
@ummahusla
ummahusla / captcha_words.txt
Last active August 29, 2015 14:11
15,000 words Captcha library
For full info please visit - www.antonoffplus.com/15000-words-captcha-library
aahing
aaliis
aarrgh
abacas
abacus
abakas
abamps
abased