Results: 1578
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
git log
ცვლილებების სიის ჩვენება
git log
ცვლილებების სიის ჩვენება მოკლედ
git log --oneline
by Guram Azarashvili
1 year ago
0
Git
Get started
Git/Github Tutorial
0
commit
commit ბრძანება staging-ში არსებულ ფაილებს გადაიტანს ცვლილებების რეესტრში
git commit  -m"commit message
by Guram Azarashvili
1 year ago
0
Git
Get started
Git/Github Tutorial
0
Create empty repository by cmd
Initialize repository:
git init project_1
This command creates empty repository localy (in cmputer), named "project_1"
by Guram Azarashvili
1 year ago
0
Git
Get started
Git/Github Tutorial
0
Navigation page
To jump to a specific part of a single-page website, first you need to mark the section with the id attribute:
<h2 id="section-1">Section 1</h2>
The id attribute is used to identify the element you want to target with the navigation link. The value for the id attribute must be unique and surrounded by quotes. Once the element you want to jump to has been marked with an id, you can target it with the anchor tag <a> The hash character (#) is needed to tell the web browser that we are targeting a section of the same document.
<a href ="#s1">Jump to S1 </a>
<h2 id="s1">Section 1</h2>
by Guram Azarashvili
1 year ago
0
HTML
Single-page website
0
ამოცანა გვეუბნება, რომ ჩვენს მიერ გადაცემულ ტექსტს მოვაშოროთ ზედმეტი გამოტოვებები.
we have 2 ways: first is that we can do this without cycle and second is that we can use "while" cycle.
first:
<php?

function string($text) {

// explode- Breaks the sentence when it sees an omission (გახლეჩს 
წინადადებას როცა შეხვდება გამოტოვება.)

         $something = explode ( ' ' , $text );
         $count = count($something);

        for ($i=0; $i < $count; $i++) {
// If it encounters an empty space somewhere, it will get up and use the unset function to cut this empty space ( თუ შეხვდება სადმე სიცარიელე მაშინ ადგება და unset ფუნქციით ამოჭრის ამ სიცარიელეს )
              if ( !$something [$i] ){
                    unset($something [$i];
                }
        }
return implode ( ' ', $something );
} 

$text = " hello   m    y    name is      gvanca  ";
echo string($text);

// result- "hello my name is gvanca"
by Gvanca Gharibashvili
1 year ago
0
PHP
0
Add and remove files to staging area
add files to the staiging before commit:
git add .
or
git add --A
or
git add --all 
alternativly we can add each file by name:
git add <file name>
for remove added files from staging area:
git reset <filename> 
or remove all files:
git reset
by Guram Azarashvili
1 year ago
0
Git
Get started
Git Tutorials
0
Basic terms (3 state in git)
1. Working directory - გარემო სადაც ვმუშაობთ ფაილებთან და ვაკეთებთ ცვლილებებს. 2. Staging area - სივრცე სადაც ფაილი განთავსებულია სანამ commit -ით შექმნი ცვლილების ჩანაწერს. ამ სივრცეში ფაილის დასამატებლად ვიყემებთ ბრძანებს: ერთი ფაილის დამატებისას
git add filename
ან საქაღალდეში არსებული ყველა ფაილის დამატებისას
git add --a
3. git directory (repository) - committed ფაილები ანუ COMMIT ბრძანებით მართვის სისტემაში (git-ში) შენახული ფაილების გარემო, იგივე რეპოზიტორი, საცავი, საქაღალდე.
by Guram Azarashvili
1 year ago
0
Git
Get started
Git Tutorials
0
Set configuration settings.
Git-ის ინსტალაციის შემდეგ საჭიროა მომხმარებლის სახელისა და ელ. ფოსტის დაყენება, რომ შევძლოთ მისი გამოყენება. Git-ის კონფიგურაცია:
git config git config --global user.name  
git config --global user.email
ბრენჩის, სახელით "main", ნაგულისხმევად დაყენება
git config --global init.default branch main
by Guram Azarashvili
1 year ago
0
Git
Get started
Git Tutorials
0
Merge Objects
let obj1 = { name: "John" };
   let obj2 = { age: 114 };
let newObj = { . . .obj1, . . .obj2 };
// Returns {  name: "John", age: 114 }  
by Tinatin Kvinikadze
1 year ago
0
JavaScript
problem solving
0

<?php

function numbers($price, $discount) {
    
    return $price - $price/100*$discount;
}


echo numbers(80,20);  //result - "80-80/100*20=64"
echo numbers(100,50); //result - "100-100/100*50=50"
echo numbers(200,80); //result - "200-200/100*80=40"


by Gvanca Gharibashvili
1 year ago
0
PHP
0
Results: 1578