This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Learning 1</title> | |
<script src='viewer/three.js'></script> | |
<script src="viewer/OBJLoader.js"></script> | |
</head> | |
<body> | |
<script> | |
var scene, camera, renderer; |
This file contains 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
# Blender3D v249 OBJ File: suzanne.blend | |
# www.blender3d.org | |
v 0.437500 0.164063 0.765625 | |
v -0.437500 0.164063 0.765625 | |
v 0.500000 0.093750 0.687500 | |
v -0.500000 0.093750 0.687500 | |
v 0.546875 0.054688 0.578125 | |
v -0.546875 0.054688 0.578125 | |
v 0.351563 -0.023438 0.617188 | |
v -0.351563 -0.023438 0.617188 |
This file contains 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
<zaposleni> | |
<zaposlen> | |
<ime>Janez</ime> | |
<priimek>Novak</priimek> | |
<naslov>Anony 23</naslov> | |
<datum>23.2.2013</datum> | |
<spol>Moški</spol> | |
<emso>3256435342</emso> | |
<delovno_mesto>Google</delovno_mesto> | |
</zaposlen> |
This file contains 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
bool compiledStatus(GLint shaderID){ | |
GLint compiled = 0; | |
glGetShaderiv(shaderID, GL_COMPILE_STATUS, &compiled); | |
if (compiled) { | |
return true; | |
} | |
else { | |
GLint logLength; | |
glGetShaderiv(shaderID, GL_INFO_LOG_LENGTH, &logLength); | |
char* msgBuffer = new char[logLength]; |
This file contains 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 <fsfsd> | |
#define startTimer2() T2CONbits.TMR2ON = 1 | |
#define stopTimer2() T2CONbits.TMR2ON = 0 | |
void initTimer2(){ | |
T2CON = 0x72; | |
PR2 = 249; | |
TMR2 = 0; | |
PIR1bits.TMR2IF = 0; |
This file contains 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
function mesta(sprememba_id,div){ | |
zacetek = sprememba_id; | |
konec = 0; | |
for(i=0;i<pozicije.length;i++){ | |
if(pozicije[i]==div){ | |
konec = i; | |
break; | |
} | |
} | |
spremenjen_div = div; |
This file contains 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
public function uvozidrugenovice(){ | |
$client = new nusoap_client('http://localhost:55457/Service1.asmx?wsdl', 'wsdl'); | |
//$client->soap_defencoding = 'UTF-8'; | |
$client->soap_defencoding = 'UTF-8'; | |
$client->decode_utf8 = false; | |
$result = $client->call('parse'); | |
$rezultat = $result['parseResult']['string']; | |
$st_novic = 6; | |
for($i = 0;$i < $st_novic; $i++){ | |
$naslov = $rezultat[$i]; |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8" /> | |
<title>Feri</title> | |
<?php | |
echo $this->Html->meta('icon'); | |
echo $this->Html->css('cake.generic'); |
This file contains 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
bits 32 | |
global main | |
extern printf | |
section .bss | |
manjse resb 100 | |
len resb 1 | |
section .data | |
izpis db "Vpiši besedo: ", 0 |
This file contains 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
#!/bin/bash | |
mapa=$(pwd) #trenuten direktori | |
for i in $mapa/* #za vsak file v tem direktoriju | |
do | |
if [ -f $i ] #preverimo če je navadn file (da ni mapa) | |
then | |
informacija=$(lsof $i) #z lsof preverimo kateri proces uporablja to datoteko | |
if [[ -n $informacija ]]; then #če je -n (not null mislim da...) potem vidimo da je v izvajanju | |
echo "Datoteka je v izvajanju: "$i #izpišemo | |
fi |