Pokazywanie postów oznaczonych etykietą IT. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą IT. Pokaż wszystkie posty

2013-08-11

LOGO DO MAŁEJ APLIKACJI

FavIcon
Mój Luby poprosił mnie abym zaprojektowała proste logo do małej aplikacji, którą tworzy. Miało być małe, tak by móc je umieścić w lewym rogu wąskiego, czarnego nagłówka strony. Podobnie jak małe logo Laravel na oficjalnej stronie tego frameworka. Mimo, że naszła mnie wena twórcza to mój Luby okazał się wybrednym ponad moje wszelkie oczekiwania. Po mękach zmiennych wizji, statecznie zdecydował się na logo, które poniżej zaprezentuję [było to kilka dni temu], jednak do tej pory go nie umieścił. Powód? Znów mieniła mu się wizja i teraz będę musiała wymyślić logo w stylu umieszczonego na oficjalnej stronie frameworka Symfony..
 ..ehh, Ci programiści.-,-




2013-08-02

STYLIZACJA TAKKOFASHION W GIMPIE

Jako, że wykonałam w Gimpie stylizację na kolejny 'modowy' konkurs, w którym wygrałam Bon na ciuszki [tym razem trafiła się stówka w TakkoFashion], to pochwalę się i rezultaty mojej weny twórczej umieszczę poniżej..
..Motyw przewodni mojej stylizacji to 'Lato w Mieście', co mam nadzieję udało mi się ukazać. A oto i ona:

2013-06-10

Letnia Stylizacja.

Jak Wam się podoba stylizacja letnia, którą stworzyłam? Mnie średnio, ale przynajmniej oprawa ładna no i jury się spodobała bo zajęłam nią II miejsce i dostałam 150 zł na zakupy w Atlanticu-,-. 


2013-05-23

What 'Top Heavy' is?

It's is not unecessary knowledge for good seo actions but it is good to know what Top Heavy is, if you want to be a real Seo Master ;P
The first thing you need to remember is that Top Heavy is not Uncle Google's algorithm, but only the name of the Penguin's update, usually called 'page layout algorithm', so it is confusing to many people. This is called Above the Fold update that checks the amount of advertising on the website, which hinder users to access the content of the website and disrupt the transparency of the website. This concerns the ads that you have to scroll to see the real content of the website.
Of course, do not stress if there is one or two such ads on your website. After all, it is a way to make money. But it is mostly about the pages, that contain too much these kinds of ads and this way significantly obstruct the smooth webpage usage by the users. If as a result of Top Heavy activity, your website position will significantly decrease, then it can remain in low position even for a few weeks, so never forget to always place these ads on your webpage carefully and wisely.


2013-02-16

Have you heard about 'Sscanf' function?

When I asked my boyfriend, when the function 'Sscanf' can be useful, he couldn't give me a good answer to this question. My boyfriend is a PHP programmer..
.. The fact is that this function is not well known because most of the complex codes can be written without the knowledge of the 'Sscanf'. But if such function exists in the PHP programming language, there's always the possibility that, when we will be reading someone's code, we can just come across at it. Therefore, it is good to know, what 'Sscanf' is. The syntax of the function looks like this:

                                 sscanf(string, format, arg1, arg2, arg3..)

 'Sscanf' function works very easy. It is essentially the inverse of 'Sprintf' function. The 'Sprintf' syntax looks like this:

                                 sprintf(format,arg1,arg2,arg3..)

'Sprintf' function writes a formatted string to a variable. While 'Sscanf' function parses input from a string according to a format, which means that 'Sscanf' reads input for numbers and other data types from standard input. We will understand it better on simple example:

                                 <?php
                                 $result1= sprintf("s% s%, d%",'January','1st','2013');
                                 $result2= sscanf("January 1st, 2013", 's%','s%','d%');

                                 echo $result1;
                                 print_r($result2);
                                 ?> 
RESULT1:                 RESULT2:
 January 1st, 2013                    Array(    
                                                           [0]=>January
                                                    [1]=>1st,
                                                       [2]=>2013)

So as you can see, we can use 'Sscanf' when we want to capture specific values with the variables. But of course if I'm wrong, I'm always open for correction.

2013-02-14

'If' and 'switch' as Convertible Conditionals!~

In a previous post, I explained how the conditional statement 'if' syntax looks like. It is very useful when we are writing different programs, but sometimes, when the code is more complicated, it starts to look like a very messy code. Therefore, we can alternatively use convertible conditional statement 'switch', whose syntax I wrote below:

                                                 <?php

                                                 switch($variable){
                                                           case 'value';
                                                                     // do something
                                                                     break;
                                                           default:
                                                                    // do something else
                                                 }
                                                 ?>

Let's write here, piece of code, by using conditional statement 'if': 

                                                 <?php
 
                                                 $day='Thursday';

                                                 if($day=='Monday') {
                                                          echo 'Today is Monday!';
                                                 } elseif($day=='Tuesday') {

                                                          echo 'Today is Tuesday!'; 
                                                 } elseif($day=='Wednesday') {
                                                          echo 'Today is Wednesday!'; 
                                                 } elseif($day=='Thursday') {
                                                          echo 'Today is Thursday!'; 
                                                 } elseif($day=='Friday') {
                                                          echo 'Today is Friday!';
                                                 } else {
                                                          echo 'Today is Weekend!';
                                                 }
                                                 ?>

As soon as I wrote here something by using statement 'if', you can see that statement 'switch' can be use in the same way and this piece of code that I wrote you, I can write in a different way, by using the conditional 'switch':


                                                 <?php
 
                                                 $day='Thursday';

                                                 switch($day) {    

                                                        case 'Monday':
                                                                     echo 'Today is Monday!'; 
                                                                     break
                                                        case 'Tuesday':
                                                                     echo 'Today is Tuesday!'; 
                                                                     break
                                                        case 'Wednesday':
                                                                     echo 'Today is Wednesday!'; 
                                                                     break;  
                                                        case 'Thursday':
                                                                     echo 'Today is Thursday!'; 
                                                                     break
                                                        case 'Friday':
                                                                     echo 'Today is Friday!'; 
                                                                     break
                                                        default:
                                                                     echo 'Today is Weekend!'; 
                                                   }
                                                   ?>

For sure, you can see, the differences between 'if' and 'switch' conditional statements. Although 'switch' requires to be break after every instruction, but on the other hand, it needs only one bracket, due to which the code looks much more better ;)

2013-02-10

PHP has got triple equals!

It's a very interesting question, that in PHP, there are three different use of the '=' sign, in PHP conditional statements. The first and most intuitive, you can simply write, by using the easiest conditional statement - 'if', I think. This is the syntax for statement 'if':

                                                 <?php

                                                 if() {
                                                       // do something
                                                 } else {
                                                      //do something else
                                                 }

                                                 ?>


So we have here the syntax. Now, let's try to write something in PHP. For example:
                                                 <?php
                                                 $day='Monday';

                                                 if($day=='Monday') {
                                                          echo 'Day equal Monday!';
                                                 } elseif($day==='123') {
                                                          echo 'Type and Values are the same!';
                                                 } else {
                                                          echo 'Nothing here match!';
                                                 }
                                                 ?>

As you can see, we used here sign 5 times! The first use of a single character '=', means that we are signing the value to the variable ($day='Monday';). We are setting day equal Monday. At the second case, we are using a double equals ($day=='Monday';), because we are running a test: Does day equal Monday? So we are not signing anything to the variable but we are testing whether the left side equal the right side. Few programmers know, that there is also triple equals ($day==='Monday';). If we are using it, we are whether two variables are equal and also the same type. In other words, it is a comparison to see if they are both integers or both are strings. So cute<3


2012-11-18

Reflection about Object-Oriented Programming..~


I started to teach PHP language from Wikibooks. Not so ambitious, but I had to start from something. This book realized me one thing – I don’t understand object-oriented programming~
~ I think that this is many young programmists’s problem. A lot of people from my University (IT Technology students) can create very simple or little more difficult programs, but they don’t know anything about obiect-orinted programming at all. So this days, I’m leaving PHP study for a while, to teach myself what obiect-oriented programming really is, because I think that under this concept is hired the real essence of programming not only in PHP but in all else programming languages..~

2012-11-14

The magic of SEO~

First time since very, very long (to be exact, since I’ve past through my 21st birthday), I can fell, my life moved on. I have been standing in a digging hole of powerless, recklessness and stupidity. But I have never lost hope and faith that my effort won’t be waisted..
..And after that. Something like one week ago, I discovered a magic of SEO…
.. Search Engine Optimization, in short SEO. Let’s be serious: It’s one of the easiest IT issue, on the other hand it’s still little known in IT environment. So, getting back to me (at last it’s my site), I have started to read about it. After one week of making mind-maps, and trying to optimize my own code, I thought: Why not to try? And I started sending my CV. In not even two days I got an answer. That was unbelievable, especially when I was aware of no experience. But everybody should always remember that in IT field, diploma or certificate doesn’t matter, only what counts is your abilities. So I went to a job interview, solved every recruitment’s tasks and I got this job. I couldn’t believe in my abilities, but on job interview I found that I understood everything what my employer said to me and even if I have never worked in job like this before I can manage this..
..So my motivation quote for today is: ‘Never stop teaching yourself knew things and do it hardly’! That’s what I’m said dummies-,~ ~