Skip to content

Instantly share code, notes, and snippets.

View buralex's full-sized avatar

Oleksandr Burlachenko buralex

View GitHub Profile
function showDrivers(drivers) {
outputDiv.innerHTML = '';
var myTableDiv = outputDiv;
var table = document.createElement('TABLE');
table.className += " nearest_table table table-striped table-bordered";
@buralex
buralex / box-shadow.html
Created May 21, 2017 23:31 — forked from ocean90/box-shadow.html
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
@buralex
buralex / .htaccess
Created May 10, 2017 17:34 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@buralex
buralex / PDO classes.md
Last active May 6, 2017 22:18
PDO conection to DB

PDO Classes for db connect and manipulation

Below is a description on how to use the classes in the below script

###Include script and set up db variables

include 'zdb.php';
@buralex
buralex / interesting links
Last active October 15, 2017 11:38
interesting links
@buralex
buralex / git commands
Last active October 18, 2017 06:40
git commands
git add .
git commit -m "first commit"
git push -u origin master
(git push -f origin master)(!!!!!! old commits will be dropped !!! if I want to overwrite all on remote repo)
/*--------------------- BRANCHES ------------------------*/
https://www.youtube.com/watch?v=xAKnRuYobdc&index=4&list=PLoonZ8wII66iUm84o7nadL-oqINzBLk5g#t=497.839849
//git branch alex // create branch
/**/