Skip to content

Instantly share code, notes, and snippets.

<meta name="viewport" content="width=device-width, initial-scale=1.0">
@kovalbogdan95
kovalbogdan95 / GetForm.html
Last active May 19, 2017 17:13
Page for checking Get Form Submit
<form action="https://www.w3schools.com/action_page.php">
@kovalbogdan95
kovalbogdan95 / PostForm.html
Last active May 19, 2017 17:14
Page for checking Post Form Submit
<form action="/action_page_binary.asp" method="post">
@kovalbogdan95
kovalbogdan95 / cursor.html
Created May 26, 2017 14:02
Cursors styles
<!DOCTYPE html>
<html>
<body>
<p>Mouse over the words to change the cursor.</p>
<span style="cursor:auto">auto</span><br>
<span style="cursor:crosshair">crosshair</span><br>
<span style="cursor:default">default</span><br>
<span style="cursor:e-resize">e-resize</span><br>
<span style="cursor:help">help</span><br>
@kovalbogdan95
kovalbogdan95 / googleJquery.js
Created July 18, 2017 14:33
Google Jquery CDN
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
@kovalbogdan95
kovalbogdan95 / microsoftJquery.js
Created July 18, 2017 14:35
Microsoft Jquery CDN
<head>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js"></script>
</head>
@kovalbogdan95
kovalbogdan95 / jqueryReady.js
Created July 18, 2017 14:39
Jquery Document Ready Event
$(document).ready(function(){
// jQuery methods go here...
});
// ----- OR -----
$(function(){
@kovalbogdan95
kovalbogdan95 / cssFormatingExample.css
Created July 26, 2017 12:47
Css formating example
/*header*/
header {
margin-bottom: 16px;
font-weight: 400;
}
header h1 {
color: #999;
}
header p {
font-size: 1.4em;
@kovalbogdan95
kovalbogdan95 / bestPracticeJqueryLunch.js
Created July 26, 2017 13:49
Best Practice Jquery Lunch
(function($, undefined){
// тут тихо и уютно
// мы всегда будем уверены, что $ === jQuery
// a undefined не переопределен ;)
})(jQuery);
@kovalbogdan95
kovalbogdan95 / terminal.bash
Created September 13, 2017 16:15
Terminal config
Add to .bashrc
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1)\[\033[00m\]\[\033[01;34m\] \$\[\033[00m\] '
Add to .gitconfig
[user]
name =