Luckily for me it is not hard to change this!
This is a great link for a tutorial.
1. Click on a button “Start”
2. Right click on “Documents” and choose option “Properties”
3. In a new window select option “Include a folder” and choose the folder you want
4. Right click on new folder, and choose option “Set as Default save location” :
5. Click “Apply” i potom “Save” and that is it
A strange thing, you must not use a sign “+” in the filename.
Why? No idea, but it gives a VERY strange error, and no page, of course…..
Some additional abbreviations :
DOM – document object model
Abbreviations in a HTML table :
th – table header
tr – table row
td – table cell
I must pull data from existing HTML tables (my service catalog) concerning the service name and owner (for all xyz services).
Here is how to show what is AFTER a key word “Naziv” from my abc-it.html document :
And here is how to pull only service name from the whole text :
And variables are :
I got my idea from here : link.
And it all works for HTML files, but NOT for PHP files.
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).
Here it is how I have written this function in the end :
And a excellent link considering this : link.
This works well, but it would be better if data is in the table.
But if I try to put PHP scripts in HTML defined tables, it all comes out shifted to one side and downwards.
Here is what I have tried, and it did not work : command htmlentities, putting PHP in front of the table/in a table, return instead of echo (in a PHP function), different commas (” or ‘)…..
Since I work with them, I should learn some basic stuff about DBs.
Here it is Oracle…..
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.
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.
Text is taken from this link.
Posted in Linux, Unix, WIN
Tagged DBs, Oracle
A nice green blouse for summer :
The problem is that in WIN 7 (and other WINs for PC use) you can protect a file with a password, but NOT a folder.
There are numerous workarounds :
1. Make a BAT file in said folder : link
2. Forbid to certain people access to said folder : link
3. Encrypt the content : link
4. Compress the data with a password. This is not usable for data that is often in use, of often changed (7 zip is good for this).
But all of this is not exactly elegant, and not really a solution.
To protect a folder under WIN 7 from anybody, you need 3rd party software – a list of options (one of them) may be found here.
People who have tested such SW say that more than one should not be used/installed on a PC, since they can get into conflicts.
Programs I have taken a look into :
1. Folder lock – commercial (link)
2. Folder guard – commercial (link)
3. Lock-a-folder – free, and has the most downloads off all that I have seen suggested (link), the problem is that it is very old (last version is from 2012)
4. Easy file locker – it does not say that it is free, last update is from 2016, problem is it has VERY bad comments, so I am not even going to try it!
4. 4 in 1 folder locker – not explicitly free, last update is from 2015
5. Microsoft private folder – free, but ooollldddd (2006), and works only on WIN XP
6. Protect folder – free, but only up till 20th opening, so not for me!
Posted in WIN
Tagged folder, protect, WIN 7
My college from work Branka mentioned this to me, since I have a surplus of zucchinis.
3 larger zucchinis
3 whole eggs
1 piece of young slty cheese (about 300gr)
Peel zucchinis, and cut the to 3mm thickness.
Mix eggs with grinded cheese, add salt and dill (per taste).
In the oiled casserole, layered with backing paper, add a layer of zucchinis and layer of this mix until you have used it all up.
Bake in a preheated oven at 180C.
How it looks before :
And when it is finished :
Analysis of Windows logs from different machines is why I need a log parser.
Lizard Log parser is excellent, BUT has only a 30 days free trial (which goes by VERY quickly).
So I have found out a combination of two free log parsers, of which one (Log Parser 2.2) gives the engine, and the other (Log Parser Studio) gives the GUI form (front end).
Log Parser 2.2 is a MS free product – link, but it is only CLI.
Log Parser Studio is a GUI utility which uses it (link), and which comes with a decent number of predefined queries, which are distributed per application.
Here is what it looks like :
Posted in WIN
Tagged free, Log parser
If you want to add a contact form to your WordPress site or blog (like the one I have here), here is what you need to do :
1. Add plugin directly from a blog Dashboard
There are a few for contacts, and I have used “Contact Form 7” (link)
Install and activate the plug-in.
2. Open the installed plug-in with “Contact/Contact Forms” and copy the content in a blog post/new page as is. This will give you a default working contact form.
3. Adjust the contact form according to your needs
Go to “Contact/Add new” and adjust all as you need it to be.
When you have changed all that you want to, there will be a new string at the top.
4. Insert this new string in the contact form page.
So, how to put a URL link in a header image on a post?
Well you need to edit the page in your WordPress site/blog that is named : header.php
You can come to this page like this : from Dashboard/Appearance/Editor.
There is a writing in it that needs to be changed :
Replaced by this :