Labels

Thursday, 18 May 2017

JavaScript



What is JavaScript?
  • JavaScript is the programming language of HTML and the Web.
  • JavaScript is easy to learn.

Why Study JavaScript?

JavaScript is one of the 3 languages all web developers must learn:
   1. HTML to define the content of web pages
   2. CSS to specify the layout of web pages
   3. JavaScript to program the behavior of web pages

JavaScript Can Change HTML Content

One of many JavaScript HTML methods is getElementById().
This example uses the method to "find" an HTML element (with id="demo") and changes the element content (innerHTML) to "Hello JavaScript":

document.getElementById("demo").innerHTML = "Hello JavaScript";  

JavaScript Can Change HTML Attributes

This example changes an HTML image by changing the src (source) attribute of an <img> tag:

<onclick="document.getElementById('myImage').src='pic_bulbon.gif'">


JavaScript Can Change HTML Styles (CSS)

Changing the style of an HTML element, is a variant of changing an HTML attribute:

document.getElementById("demo").style.fontSize = "25px";
or
document.getElementById('demo').style.fontSize = '25px';  


JavaScript Can Hide HTML Elements

Hiding HTML elements can be done by changing the display style:

document.getElementById("demo").style.display = "none";
or
document.getElementById('demo').style.display = 'none';  



JavaScript Can Show HTML Elements

Showing hidden HTML elements can also be done by changing the display style:

document.getElementById("demo").style.display = "block";
or
document.getElementById('demo').style.display = 'block';  


USING THE TERMINAL

USING THE TERMINAL  

Introduction to using the command-line interface terminal

-File & Directory Commands-

  • pwd: The pwd command will allow you to know in which directory you're located (pwd stands for "print working directory"). 
  • ls: The ls command will show you ('list') the files in your current directory.
  • cd: The cd command will allow you to change directories.
  • cp: The cp command will make a copy of a file for you.  
  • mv: The mv command will move a file to a different location or will rename a file.
  • rm: Use this command to remove or delete a file in your directory.  
  • rmdir: The rmdir command will delete an empty directory.
  • mkdir: The mkdir command will allow you to create directories.
  • cad:As a user, you often need to view some of text or code from your script. Again, one of the Linux basic commands is cat command. It will show you the text inside your file.
  • nano:Nano is text editor in console, if the <file-name> doesn’t exist nano creates the file and if exist nano opens the file.

Wednesday, 17 May 2017

Capitalization

Capitalization

Capitalization means using a capital letter (for example, A instead of a) . The use of capital letters helps readers read your writing without confusion.

Always capitalize the following:

The first word in a sentence.
  • I grew up in India.
  • She left a message on my phone.
The pronoun I.
  • This country is where I dreamed of.
The first letter of a proper noun (specific name).
  • David wants to play soccer with us.
  • This letter is from Chang.
  • I graduated from the University of New York.
  • I like Coca-Cola.
  • She likes Godiva chocolates.
The first letter of months, days, and holidays (but not seasons).
  • Today is June 8, 2011.
  • Susie's birthday is this Thursday.
  • The shops are closed on Easter.
  • This summer is going to be very hot.
The first letter of nationalities, religions, races of people, and languages.
  • We often eat Italian food.
  • I want to master many languages, such as Spanish, Korean, Chinese, and Russian.
  • There is one Christian church in my town.
The first letter in a person's title.
  • This is Dr. Simon.
  • I got it from Mr. Tom.
Geographic areas: cities, states, countries, mountains, oceans, rivers, etc.
  • My destination is Paris, France.
  • Hawaii is in the middle of the Pacific Ocean.
Historical periods.
  • The Renaissance began in the 14th century.
  • The Qing Dynasty is the last dynasty in China.
The first letter of each major word in the title of a book, movie, article, etc.
  • Tolstoy's War and Peace is my favorite novel.
  • I found the article "How to Write a Good Cover Letter" in this magazine.

 

Possessive Nouns

Possessive Nouns

Possessive nouns are used to indicate ownership.

Possessive nouns usually are formed by adding an apostrophe (') and s.
  • John's book
  • Kerry's car
  • Grandma's mirror
When a noun is plural and ends in s, just add an apostrophe (').
  • The kids' toys
  • My parents' house
  • The teachers' lounge
If two people own one thing, add the apostrophe and s to the second person only.
  • John and Mary's new house
  • David and Sue's wedding
  • Tom and Doug's car
If two people own separate things, add the apostrophe and s for each person.
  • Susan's and Beth's books
  • Jean's and Dan's pants
  • Ben's and Jim's offices

 

Adjectives

Adjectives

Adjectives describe or modify nouns.

I like fairy tales. A fairy tale is an imaginary story that has unrealistic characters in a fantastic background. It makes me forget about the real world and refreshes my tired mind.

Adjectives generally appear immediately before the noun.
  • A pretty girl
  • Red flowers
  • A long stick
  • Heavy boxes
  • Warm weather
Commonly, adjectives of opposite meaning are formed by adding a prefix such as un, in, or dis.
  • clear - unclear, important - unimportant, predictable - unpredictable, believable - unbelievable, common - uncommon, aware - unaware, ambiguous - unambiguous, conventional - unconventional, certain - uncertain
  • definite - indefinite, correct - incorrect, comparable - incomparable, complete - incomplete, editable - inevitable, expensive - inexpensive
  • able - disable, assemble - disassemble, content - discontent, similar - dissimilar
When using a string of adjectives, they should appear in a set order: size/shape + age + color + origin + material.
  • A big brown house
  • A small old English desk
  • A beautiful black Italian leather purse
  • Delicious Chinese food
The + adjective describes a class or group of people and acts as a noun.
  • the old, the young, the poor, the rich, the oppressed, the homeless, etc.
  • This popular TV show is loved by the old.

 

Monday, 15 May 2017


Deal With Stress
09.05.2017
🔀 Analysis
Analysis Team
Unilever de Argentina S.A.
Alf. H. Bouchard 4191
(B1605BNA)

Overview

 

What is stress ?
Stress is your body's way of responding to any kind of demand. It can be caused by both good and bad experiences. When people feel stressed by something going on around them, their bodies react by releasing chemicals into the blood. These chemicals give people more energy and strength, which can be a good thing if their stress is caused by physical danger. But this can also be a bad thing, if their stress is in response to something emotional and there is no outlet for this extra energy and strength. This class will discuss different causes of stress, how stress affects you, the difference between 'good' or 'positive' stress and 'bad' or 'negative' stress, and some common facts about how stress affects people today.
We generally use the word "stress" when we feel that everything seems to have become too much - we are overloaded and wonder whether we really can cope with the pressures placed upon us.

When are stressed the following happens:

  • Blood pressure rises
  • Breathing becomes more rapid
  • Digestive system slows down
  • Heart rate (pulse) rises
  • Immune system goes down
  • Muscles become tense
  • We do not sleep (heightened state of alertness)

How we respond to stress affects {in our health
  1. We do not all interpret each situation in the same way.
  2. Because of this, we do not all call on the same resources for each situation
  3. We do not all have the same resources and skills.
 

Some of the effects of stress on you

Possible effects of stress on your body:
 
  • A tendency to sweat
  • Back pain
  • Chest pain
  • Childhood obesity
  • Cramps or muscle spasms
  • Fainting spells
  • Headache
  • Hart diseases
  • Hypertension (high blood pressure )
  • Loss of libido
  • Lower immunity against diseases
  • Muscular aches
  • Nail biting
  • Nervous twitches
  • Pins and needles
  • Sleeping difficulties
  • Stomach upset


Possible effects of stress on your thoughts and feelings:
  • Anger
  • Anxiety
  • Burnout
  • Depression
  • Feeling of insecurity
  • Forgetfulness
  • Irritability
  • Problem concentrating
  • Restlessness
  • Sadness
  • Fatigue


Possible effects of stress on your behavior:
  • Eating too much
  • Eating too little
  • Food cravings
  • Sudden angry outbursts
  • Drug abuse
  • Alcohol abuse
  • Higher tobacco consumption
  • Social withdrawal
  • Frequent crying
  • Relationship problems


The most common causes of stress are:

Stressed at work?. A study conducted by the charity Mind suggested found that 34% of people considered their jobs to be very stressful.

  • Bereavement
  • Family problems
  • Financial matters
  • Illness
  • Job issues
  • Lack of time
  • Moving home
  • Relationships (including divorce)


The following are also common causes of stress:
  • Abortion
  • Becoming a mother or a father
  • Conflicts in the workplace
  • Driving in bad traffic
  • Fear of crime
  • Losing your job
  • Miscarriage
  • Noisy neighbors
  • Overcrowding
  • Pollution
  • Pregnancy

    How to deal with stress

    There are three broad methods you can follow to treat stress, they include self-help, self management, and medication.
    Self help for treating stress
    Exercise
    exercise has been proven to have a beneficial effect on a person's mental and physical state. For many people exercise is an extremely effective stress buster.
    Division of labor
    try to delegate your responsibilities at work, or share them. If you make yourself indispensable the likelihood of your feeling highly stressed is significantly greater.
    Assertiveness
    don't say yes to everything. If you can't do something well, or if something is not your responsibility, try to seek ways of not agreeing to do them.
    Alcohol and drugs
    alcohol and drugs will not help you manage your stress better. Either stop consuming them completely, or cut down.

    Caffeine
    if your consumption of coffee and other drinks which contain caffeine is high, cut down.
    Nutrition
    eat plenty of fruit and vegetables. Make sure you have a healthy and balanced diet.
    Time
    make sure you set aside some time each day just for yourself. Use that time to organize your life, relax, and pursue your own interests. 
    Breathing
     
    there are some effective breathing techniques which will slow down your system and help you relax.
    Talk
    talk to you family, friends, work colleagues and your boss. Express your thoughts and worries.
    Seek professional help
    if the stress is affecting the way you function; go and see your doctor. Heightened stress for prolonged periods can be bad for your physical and mental health.
    Relaxation techniques
    meditation, massage, or yoga have been known to greatly help people with stress.

    Best way to manage your stress :

    The best way to manage your stress is to learn healthy coping strategies . Your stress is to learn healthy coping strategies. You can start practicing these tips right away. Try one or two until you find a few that work for you. Practice these techniques until they become habits you can also use this coping strategies from to see how you respond to stress.




Wednesday, 3 May 2017

LEADERSHIP

-LEADERSHIP-

Qualities That Make a Great Leader

 

 1. Focus 
“It’s been said that leadership is making important but unpopular decisions. That’s certainly a partial truth, but I think it underscores the importance of focus. To be a good leader, you cannot major in minor things, and you must be less distracted than your competition. To get the few critical things done, you must develop incredible selective ignorance. Otherwise, the trivial will drown you.”

2. Confidence
“A leader instills confidence and ‘followership’ by having a clear vision, showing empathy and being a strong coach. As a female leader, to be recognized I feel I have to show up with swagger and assertiveness, yet always try to maintain my Southern upbringing, which underscores kindness and generosity. The two work well together in gaining respect.”


3. Transparency
“I’ve never bought into the concept of ‘wearing the mask.’ As a leader, the only way I know how to engender trust and buy-in from my team and with my colleagues is to be 100 percent authentically me—open, sometimes flawed, but always passionate about our work. It has allowed me the freedom to be fully present and consistent. They know what they’re getting at all times. No surprises.”


4. Integrity
“Our employees are a direct reflection of the values we embody as leaders. If we’re playing from a reactive and obsolete playbook of needing to be right instead of doing what’s right, then we limit the full potential of our business and lose quality talent. If you focus on becoming authentic in all your interactions, that will rub off on your business and your culture, and the rest takes care of itself.”

5. Inspiration
“People always say I’m a self-made man. But there is no such thing. Leaders aren’t self-made; they are driven. I arrived in America with no money or any belongings besides my gym bag, but I can’t say I came with nothing: Others gave me great inspiration and fantastic advice, and I was fueled by my beliefs and an internal drive and passion. That’s why I’m always willing to  offer motivation—to friends or strangers on Reddit. I know the power of inspiration, and if someone can stand on my shoulders to achieve greatness, I’m more than willing to help them up.”

6. Passion
“You must love what you do. In order to be truly successful at something, you must obsess over it and let it consume you. No matter how successful your business might become, you are never satisfied and constantly push to do something bigger, better and greater. You lead by example not because you feel like it’s what you should do, but because it is your way of life.”


7. Innovation
“In any system with finite resources and infinite expansion of population—like your business, or like all of humanity—innovation is essential for not only success  but also survival. The innovators are our leaders. You cannot separate the two. Whether it is by thought, technology or organization, innovation is our only hope to solve our challenges.”

8.Patience
“Patience is really courage that’s meant to test your commitment to your cause. The path to great things is always tough, but the best leaders understand when to abandon the cause and when to stay the course. If your vision is bold enough, there will be hundreds of reasons why it ‘can’t be done’ and plenty of doubters. A lot of things have to come together—external markets, competition, financing, consumer demand and always a little luck—to pull off something big.”

9. Stoicism
“It’s inevitable: We’re going to find ourselves in some real shit situations, whether they’re costly mistakes, unexpected failures or unscrupulous enemies. Stoicism is, at its core, accepting and anticipating this in advance, so that you don’t freak out, react emotionally and aggravate things further. Train our minds, consider the worst-case scenarios and regulate our unhelpful instinctual responses—that’s how we make sure shit situations don’t turn into fatal resolutions.”

10. Swankiness
“Understanding the underlying numbers is the best thing I’ve done for my business. As we have a subscription-based service, the biggest impact on our bottom line was to decrease our churn rate. Being able to nudge that number from 6 percent to 4 Percent meant a 50 percent increase in the average customer’s lifetime value.
We would not have known to focus on this metric without being able to accurately analyze our data.”


SOME  VOCABULARIES CLOSER TO LEADERSHIP

-CHARISMA-
compelling attractiveness or charm that can inspire devotion in others.

-AUTOCRATIC-
relating to a ruler who has absolute power.

-DEMOCRATIC-
 relating to or supporting democracy or its principles.

-BUREAUCRATIC-
relating to a system of government in which most of the important decisions are taken by state officials rather than by elected representatives.

-LAISSEZ FAIR-
is an economic system in which transactions between private parties are free from government intervention such as regulation, privileges, tariffs, and subsidies.

-PARTICIPATIVE-
 relating to, or being a style of management in which subordinates participate in decision making.

-DIRECTIVE-
 involving the management or guidance of operations.

-DELEGATION- 
the action or process of delegating or being delegated.

-AUTHORITATIVE- 
commanding and self-confident; likely to be respected and obeyed.

-MOTIVATION-
reason or reasons for acting or behaving in a particular way.

Last day at Uki

Before Uki, I don’t know the fact that coding is like an ocean. Because I studied HTML and CSS only. I had some weaknesses like stage f...

Popular posts