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 / 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
@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 / 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 / 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 / .gitignore
Created February 13, 2015 11:52
WordPress .GITIGNORE
# Ignore everything in the root except the "wp-content" directory.
/*
!.gitignore
!wp-content/
# Ignore everything in the "wp-content" directory, except the "plugins" and "themes" directories.
wp-content/*
!wp-content/plugins/
!wp-content/themes/
@ummahusla
ummahusla / _mixins.scss
Created February 23, 2015 10:10
Foundation SASS Mixins
//
// Grid Columns
//
// A mixin to help make Foundation's grid-column mixin easier
// to use when specifying multiple media quries/screen sizes
@mixin grid-columns(
// Mobile First Media Queries
$small-up-screens: 12,
//changed default to 12, makes sense - IE
@ummahusla
ummahusla / ga-custom-events.js
Created February 23, 2015 11:17
Create Google Analytics Custom Events
// Using jQuery
$('#button-id').on('click', function() {
ga('send', 'event', 'button', 'click', 'donate-button');
});
// Where:
// button is the event category
// click is the action
// donate-button is the label
@ummahusla
ummahusla / styles.css
Last active August 29, 2015 14:26
Change the input color of the text & placeholder on focus [SASS]
.css-input {
color: $white;
&:focus {
color: $black;
}
&::-webkit-input-placeholder {
color: $white;
}
@ummahusla
ummahusla / README.md
Created August 20, 2015 13:52
README.md starting template

Project Name

TODO: Write a project description

Installation

TODO: Describe the installation process

Usage

@ummahusla
ummahusla / user.cfg
Created November 24, 2015 22:52
Battlefield 4 user config by wannabenerd.co
WorldRender.MotionBlurEnable 0
WorldRender.MotionBlurForceOn 0
WorldRender.MotionBlurFixedShutterTime 0
WorldRender.MotionBlurMax 0
WorldRender.MotionBlurQuality 0
WorldRender.MotionBlurMaxSampleCount 0
PerfOverlay.Drawfps 1
GameTime.MaxVariableFPS 60