Skip to content

Instantly share code, notes, and snippets.

View davit's full-sized avatar

Davit davit

  • Web Intelligence
  • Tbilisi
View GitHub Profile
@davit
davit / Servlet.java
Created December 23, 2013 11:45
Java homework
package cst.dave;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.*;
import javax.servlet.http.*;
/**
* Created with IntelliJ IDEA.
* User: david
@davit
davit / User.java
Created December 23, 2013 11:44
Java user login homework
package cst.dave;
/**
* Created with IntelliJ IDEA.
* User: root
* Date: 12/23/13
* Time: 3:32 PM
* To change this template use File | Settings | File Templates.
*/
public class User {
Being With And Without You
It's like a dream at night you enter
All around you is pale and blue,
As the only part of this world that matters
Is the gift of dreaming which is You!
Suddenly thrown into fairiest of tales,
Is the experience of seeing your face
@davit
davit / gist:4951974
Last active December 13, 2015 17:58
<?php
class Figure // Chessboard - Rook coordinates and its motion:
{
private $x, $y;
// setting initial position of the Rook:
public function SetCoords($absc, $oord) {
if (($absc>=1 and $absc<=8) and ($oord>=1 and $oord<=8)) {
$this->x = $absc;