Heklanje 52 : torba

Za sada sam isheklala potrebne delove.
Od napred će da ide ukrasni hekleraj :
torba-prednji-deo
A Kaiš će da ide preko ramena (“poštarska torba” stil) :
torb-kais
Naravno, hekleraj treba da ojačam nekim čvrstim materijalom za torbe!

Posted in Odmor | Tagged , , | Leave a comment

Heklanje 51 : zeleno jeleče

Imala sam u višku zelene vunice (tanje), i par zelenih haljina bez rukava, pa eto …..
jelek1
jelek2

Posted in Odmor | Tagged , , | Leave a comment

Odmor na Zlatiboru

Ovogodišnji GO je bio na Zlatiboru.
Dobre strane :
* Čist vazduh 😉
* Čisto (VEOMA!!! nema đubreta okolo)
* Nema pasa lutalica (da čovek ne poveruje!)
* Odlični domaćini (vila “Ruža”)
* Nije kolima daleko
* Dobro snabdevene lokalne Maxi radnje
* Ima šta da se vidi i u okolini (odličan Turist info, obavezno treba svrnuti do njih!), mada za to definitivno treba imati svoja kola
* Vrlo OK cene za neke lokalne proizvode (likeri od lokalnog voća, kao što su malina, kupina i sl.)
Loše strane :
* Mnogo je izgrađeno, centar je totalno urban, dosta treba ići dok se ne dođe do neizgrađenog/neurbanizovanog dela
* Apsolutno previsoke cene nekih lokalnih proizvoda (sir, kajmak), koje su vise nego duple u odnosu na Beograd
Gde obavezno treba otići :
* Tornik – veliki broj letnjih atrakcija po veoma pristupačnoj ceni
* Stopića pećina – fenomenalno!!!!, a ima i vodiča na licu mesta
* Slap (blizu pećine), odlično mesto za izlet, ali samo ako je lepo vreme
Na šta ne trošiti vreme :
* Zlatiborska jezera (pola nije radilo, a i nije neko jezero ako je manje od običnog bazena…..)
Evo i nekih slika :
veca-mapa-zlatibor
zlatibor-detaljna-mapa
vila-Ruza

Posted in Odmor | Tagged | Leave a comment

Nova lokacija za folder “My Documents” na WIN 7

Srećom ovo uopšte nije teško podesiti!
Ovo je odličan link za uputstvo.
1. Kliknuti na dugme “Start”
2. Kliknuti desnim klikom na stavku “Documents” I odabrati opciju “Properties”
3. U novom prozoru odabrati opciju “Include a folder” I odabrati željeni folder
4. Kliknuti desnim klikom na novi folder i odabrati opciju “Set as Default save location” :
nova-lokacija-za-moja-dokumenta
5. Kliknuti “Apply” i potom “Save” i to je to
😉

Posted in Windows | Tagged , , | Leave a comment

PHP i HTML, nastavak

Čudna stvar, u imenu PHP fajla NE SMETE koristiti znak “+”.
Zašto? Nemam pojma, ali daje vrlo čudnu grešku, i stranicu naravno ne prikazuje…..
Neke dodatne skraćenice :
DOM – document object model
U HTML tabeli su sledeće oznake :
th – zaglavlje tabele
tr – red u tabeli
td – ćelija u redu
Tabellen-aufbau
**********
Potrebno je da iz postojećih HTML tabela (moj katalog usluga) izvučem podatke o nazivu usluge i vlasniku, i to (za svih xyz usluga) stavim u novu tabelu (koja ima samo dve kolone : naziv usluge i vlasnika).
**********
Evo kako iz dokumenta abc-it.html prikazati sadržaj koji je POSLE ključne reči Naziv :
php-prikaz-dela-fajla-od-reci-nadalje
I evo kako se iz celog teksta (prikaza jedne usluge) izvači samo naziv usluge :
php-prikazdelafajlaizmedjudvefraze
I koje su koje promenljive u celoj priči :
oznakepromenljivih
Ideju sam dobila odavde : link.
*************************
Cela priča za HTML fajlove radi savršeno, ali ne i za PHP fajlove.
Funkcija file_get_contents ne “hvata” izlaz PHP fajla kako valja, već na mestima gde su PHP funkcije daje kuke I verige (file_get_contents() doesn’t execute PHP statements).
Evo kako sam na kraju napisala i tu funkciju tako da radi :
php-unutar-phpa
I odličan link po tom pitanju : link.
**********************
Ovo sve odlično radi, ali bi bilo mnogo bolje da su podaci u tabeli.
Ali ako pokušam da PHP skripte stavim u HTML tabelu, sve ispadne pomereno na desno i na dole, i to bez nekog smisla.
Evo šta sam pokušala, a nije uspelo : naredba htmlentities, izbacivanje PHP-a ispred tabele, i/ili unutar tabele, return umesto echo (unutar PHP funkcije), različiti navodnici za prizivanje fajla po imenu (” ili ‘), različiti načini prikaza podataka tj. echo i print

Posted in Unix, Windows | Tagged , | Leave a comment

O bazama podataka – Oracle

Pošto radim sa njima, ajde da i znam osnovne stvari o bazama.
Ovde je reč o Oracle bazama…..
*****************************************************************
A database is an organized collection of information treated as a unit. The purpose of a database is to collect, store, and retrieve related information for use by database applications.
A database management system (DBMS) is software that controls the storage, organization, and retrieval of data. Typically, a DBMS has the following elements:
*Kernel code – This code manages memory and storage for the DBMS.
*Repository of metadata – This repository is usually called a data dictionary.
*Query language – This language enables applications to access the data.
A database application is a software program that interacts with a database to access and manipulate data.
Today, the most widely accepted database model is the relational model.
A relational database is a database that conforms to the relational model. The relational model has the following major aspects:
*Structures – Well-defined objects store or access the data of a database.
*Operations – Clearly defined actions enable applications to manipulate the data and structures of a database.
*Integrity rules – Integrity rules govern operations on the data and structures of a database.
A relational database stores data in a set of simple relations. A relation is a set of tuples. A tuple is an unordered set of attribute values.
A table is a two-dimensional representation of a relation in the form of rows (tuples) and columns (attributes). Each row in a table has the same set of columns. A relational database is a database that stores data in relations (tables).
The relational model is the basis for a relational database management system (RDBMS). Essentially, an RDBMS moves data into a database, stores the data, and retrieves it so that it can be manipulated by applications.
Oracle Database is an RDBMS. An RDBMS that implements object-oriented features such as user-defined types, inheritance, and polymorphism is called an object-relational database management system (ORDBMS). Oracle Database has extended the relational model to an object-relational model, making it possible to store complex business models in a relational database.
One characteristic of an RDBMS is the independence of physical data storage from logical data structures.
In Oracle Database, a database schema is a collection of logical data structures, or schema objects. A database schema is owned by a database user and has the same name as the user name. Schema objects are user-created structures that directly refer to the data in the database. The database supports many types of schema objects, the most important of which are tables and indexes.
A schema object is one type of database object. Some database objects, such as profiles and roles, do not reside in schemas.
You define a table with a table name, such as employees, and set of columns. In general, you give each column a name, a data type, and a width when you create the table.
oracle-shema
A table is a set of rows. A column identifies an attribute of the entity described by the table, whereas a row identifies an instance of the entity.
An index is an optional data structure that you can create on one or more columns of a table. Indexes can increase the performance of data retrieval. When processing a request, the database can use available indexes to locate the requested rows efficiently.
SQL is a set-based declarative language that provides an interface to an RDBMS such as Oracle Database. In contrast to procedural languages such as C, which describe how things should be done, SQL is nonprocedural and describes what should be done. Users specify the result that they want (for example, the names of current employees), not how to derive it. SQL is the ANSI standard language for relational databases.
PL/SQL is a procedural extension to Oracle SQL. PL/SQL is integrated with Oracle Database, enabling you to use all of the Oracle Database SQL statements, functions, and data types.
A transaction is a logical, atomic unit of work that contains one or more SQL statements.
Partitions are pieces of large tables and indexes. Each partition has its own name.
Views are customized presentations of data in one or more tables or other views. You can think of them as stored queries. Views do not actually contain data.
******************************************************************************
Uzeto sa ovog linka.

Posted in Unix, Windows | Tagged , | Leave a comment

Heklanje 50 : letnja bluzica

Heklana zelena bluzica za letnje vreme :
zelena-bluzica1
zelena-bluzica2

Posted in Odmor | Tagged , , | Leave a comment

Zaštita foldera na WIN 7

Problem je što na WIN 7 (I ostalim Windows OS-ovima za PC-eve) možete lozinkom zaštititi fajl, ali NE I folder.
Postoje razne zaobilazne opcije za ovo :
1. Napraviti BAT fajl u folderu : link2. Zabraniti određenim licima pristup datom folderu : link
3. Enkriptovanje sadržaja : link
4. Kompresovati podatke I nad tim fajlom postaviti lozinku. Nije nešto što se može koristiti za podatke koji se iole često koristie I/ili menjaju (7 zip je dobar programčić za ovako nešto).
Ali sve ovo u suštini baš I nisu naročito elegantna rešenja.
Da bi se folder pod WIN 7 zaštitio lozinkom od BILO KOGA, potreban je 3rd party SW – jedna od lista opcija s emože naći ovde.
Ljudi koji su testirali ove programe kažu da ne bi trebalo instalirati I/ili koristiti vise od jednog takvog programa, jer se “kolju” međusobno, I mogu da naprave problem.
Koji su programi :
1. Folder lock – commercial (link)
2. Folder guard – commercial (link)
3. Lock-a-folder – free I ima najviše download-a od svih koje sam videla kao predložene (link), problem je što je prilično star (zadnja verzija je iz 2012 godine)
4. Easy file locker – nigde ne piše eksplicitno da je free, ali je zadnji update od maja 2016. Problem su JAKO loši komentari, dakle ni da ga probam!
4. 4 in 1 folder locker – ne piše eksplicitno da je free, zadnji update od 2015
5. Microsoft private folder – free, ali staaarrrr (2006), I radi samo za WIN XP
6. Protect folder – free, ali samo do 20 otvaranja, od 2015 – nije za mene!

Posted in Windows | Tagged , | Leave a comment

Musaka od tikvica

Koleginica Branka mi je spomenula ovu mogućnost, pošto imam tikvica u višku.

Sastojci :
3 poveće tikvice
Sveže iseckana mirođija
3 cela jajeta
1 kriška mladog slanog sira (oko 300gr)

Tikvice oljuštiti I iseći na debljinu od oko 3-4mm.
Jaja umutiti sa izdrobljenim sirom I dodati soli I mirođije po ukusu.
U nauljenu tepsiju ređati red tikvica, pa red smese, a tikvice malo posoliti.
Peći u predhodno zagrejanoj rerni na oko 180C.
PS OBAVEZNO staviti ispod papir za pečenje, inače se ludački lepi za šerpu I teško se skida.

Kako izgleda pre pečenja :
musaka-tikvice-sirovo
I posle pečenja :
musaka-tikvice-peceno

Posted in Kuhinja | Tagged , | Leave a comment

IIS generalno govoreći

IIS (Internet Information Services) je deo WIN operativnog sistema (i serverskog i desktop), i kao takav se instalira kroz WIN komponente.
IIS ima module, pa se oni instaliraju/aktiviraju kroz Control panel/turn WIN features on/off.
IIS supports the following protocols: FTP, FTPS, SMTP, NNTP, HTTP/HTTPS.
Vrste IIS modula :
1. Native
2. Managed – pisani u .NET-u
IIS služi za prikaz ASP (starija verzija) i/ili ASP .NET (novija verzija, sa boljom bezbednošću) stranica.
IIS CGI modul omogućava korišćenje za stranice pisane u : Python, PHP, Pearl
Pregled modula :
IIS-moduli
Detaljni opis za pojedinačne module može se naći ovde.
***
Verzija WIN OS diktira verziju IIS-a (upodaci uzeti odavde):
Windows NT 4 Server – Microsoft-IIS/4.0 1998 (als Teil des NT 4 Option Packs)
Windows Server 2000 – Microsoft-IIS/5.0 2000
Windows XP – Microsoft-IIS/5.1 2001
Windows Server 2003 – Microsoft-IIS/6.0 2003
Windows Vista – Microsoft-IIS/7.0 2006
Windows Server 2008 – Microsoft-IIS/7.0 2008
Windows 7 – Microsoft-IIS/7.5 2009
Windows Server 2008 R2 Microsoft-IIS/7.5 2009
IIS 7 nije automatski kompatibilan sa IIS 6, ali se to može dodati kroz module.
***
IIS po default-u svoje fajlove stavlja na lokaciju : C:\inetpub\wwwroot
***
Neki osnovni pojmovi :
An application pool is a separate worker space that lets your website run separately from others.
In IIS 7 and above – a site contains one or more applications, an application contains one or more virtual directories, and a virtual directory maps to a physical directory on a computer.
The default document is the web page that loads when the user types just your domain name into the browser (usually index.html for a static site or default.aspx for web forms).
Connection strings define database connections. Each type of connection string is determined by the database your website is connecting to. You can set the connection string in IIS or in the application. Most applications set the connection string in the application code.
ASP – active server pages
ISAPI – Internet Server Application Program Interface

Dobar link.
Postavljanje Website-a na IIS-u – link.
Više sajtova na jednoj mašini : kako uraditi je dato u mom starom postu.
Instalacija IIS 7 – link1 i link2.
Objašnjenja najvažnijih pojmova – link.

Posted in Windows | Tagged | Comments Off on IIS generalno govoreći