This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.colHover {background-color: rgb(223, 223, 223);} | |
.cellHover { | |
box-shadow: 10px 0px 10px -10px rgba(0, 0, 0, 0.5) inset, | |
-10px 0px 10px -10px rgba(0, 0, 0, 0.5) inset; | |
} | |
.cellHover:first-child {box-shadow: -10px 0px 10px -10px rgba(0, 0, 0, 0.5) inset;} | |
.cellHover:last-child {box-shadow: 10px 0px 10px -10px rgba(0, 0, 0, 0.5) inset;} | |
th:hover { | |
cursor: pointer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<thead> | |
<tr> | |
{% for column in temvar['table']['columns'] %} | |
{% set thClass = '' %} | |
{% if column[2] == 'int4' and column[0] != temvar['table']['primary'] %} | |
{% set thClass = 'aright' %} | |
{% elif column[0] == temvar['table']['primary'] %} | |
{% set thClass = 'colPrimary' %} | |
{% else %} | |
{% set thClass = 'aleft' %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CATransform3D transformation = CATransform3DIdentity; | |
// x line | |
transformation.m11 = 1; // 20% less wide wall | |
transformation.m12 = 0; //-1 / 10.0; // skews left up, right down if >0 | |
transformation.m13 = 0; // extends sideways for a short time | |
transformation.m14 = 0;// // 1 / 5000 = left side towards viewer, right side away from viewer | |
// y line | |
transformation.m21 = 0; //-1 / 2.0; // skews bottom left, top right if <0 | |
transformation.m22 = 1; // .8 - 20% less tall | |
transformation.m23 = 0; // extends upward for a short time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program gyvatė; | |
var | |
taskas, tarpp, liko, ilgis, tarpo, laik, tn : integer; | |
begin | |
tn := 1; | |
while tn = 1 do | |
begin | |
Randomize; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime, time | |
start = time.time() | |
count = 0 | |
for i in range(100): | |
for j in range(100): | |
for k in range(100): | |
#print i*j*k | |
print str(count) + " - " + str(i*j*k) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <time.h> | |
int main() { | |
// time it | |
clock_t cstart = clock(); | |
clock_t cend = 0; | |
int i, j, k; | |
int sum = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
long long powSafe( | |
long base, | |
int exponent, | |
long module | |
) { | |
long long result = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Dovile Mikenaite, Ekonometrija, 2 grupe : | |
2. Su pasirinktais įrašais realizuoti ADT steko operacijas dinaminio dvikrypčio sąrašo pagrindu. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
//#include <conio.h> | |
//typedef int bool; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Print (struct KNYGA a[], int *i) { | |
// a - "struct KNYGA" tipo masyvas | |
// i - masyve "a" esanciu elementu/eiluciu skaicius | |
// k - dabartines spausdinamos eilutes/elemento skaicius | |
int k; | |
for (k=0; k<i; k++){ | |
// for - ciklas, kuris vyksta tol, kol dabartinis elementas "k" | |
// nevirsyja viso masyvo elementu skaiciaus | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Get (struct KNYGA a[], int *i) | |
{ | |
int t; | |
for(t=0; t<*i; t++) | |
{ | |
strcpy(a[t].pavadinimas, a[t+1].pavadinimas); | |
strcpy(a[t].autorius, a[t+1].autorius); | |
a[t].puslapiu = a[t+1].puslapiu; | |
a[t].metai = a[t+1].metai; | |
a[t].versta = a[t+1].versta; |
OlderNewer