Skip to content

Instantly share code, notes, and snippets.

View bernhoff's full-sized avatar

Nikita Musaiev bernhoff

  • Ukraine, Kiev
View GitHub Profile
@bernhoff
bernhoff / basic html template
Last active May 22, 2017 10:10
basic html template with Jquery js, bootstrap js,css, Material Design for Bootstrap
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- Bootstrap css cdn -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- Material Design for Bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.3.2/css/mdb.min.css">
@bernhoff
bernhoff / check_type.js
Created May 11, 2017 10:15
Check the type of variable
var TYPES = {
'undefined' : 'undefined',
'number' : 'number',
'boolean' : 'boolean',
'string' : 'string',
'[object Function]': 'function',
'[object RegExp]' : 'regexp',
'[object Array]' : 'array',
'[object Date]' : 'date',
'[object Error]' : 'error'
@bernhoff
bernhoff / index.html
Created January 24, 2017 09:25
simple_site
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
</html>