Results: 1578
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
ფაილების დაქომითება
git add (ფაილის სახელი)
მოცემული ბრძანება მოამზადებს ჩვენს მიერ მოდიფიცირებულ/დამატებულ/წაშლილ ფაილებს კომიტისთვის.
git add -A
და
git add .
მოამზადებს ყველა ფაილს დასაკომიტებლად
by ვაჟა ტყემალაძე
10 months ago
0
Git
git
0
ფაილის დამატება
ფაილის შესაქმნელად ვიყენებთ ამ ბრძანებას:Touch touch .gitignore შეიქმნება ფაილი gitignore, რომელშიც შეგვიძლია მივუთითოთ რა ტიპის ფაილები უნდა დააიგნოროს გიტმა. მაგალითად, ჩავწერთ gitignore ფაილში *.html -ს და ყველა ფაილი რომელიც დაბოლოვდება html-ით გიტი არ გამოაჩენს.
by ვაჟა ტყემალაძე
10 months ago
0
Git
git
0
ინიციალიზაცია
იმისათვის რომ გიტმა დაიწყოს მუშაობა კონკრეტულ დირექტორიაში საჭიროა მისი ინიციალიზაცია შემდეგი ბრძანებით:
git init
დირექტორიაში გადასასვლელად ვიყენებთ
cd (ფაილის დასახელებას ვწერთ)
იმისათვის რომ ვნახოთ ფაილების ჩამონათვალი გარკვეულ დირექტორიაში ვიყენებთ ამ ბრძანებას:
ls
და
ls -la
by ვაჟა ტყემალაძე
10 months ago
0
Git
git
0
გით კონფიგურაცია
მას შემდეგ რაც git-ს დავაყენებთ ლოკალურ მანქანაზე საჭიროა მისი კონფიგურაცია ჩვენი მონაცემებით, რომელიც გითის კომიტში მოახდენს ჩვენს იდენტიფიკაციას გავხსნათ ტერმინალი და ჩავწეროთ შემდეგი ბრძენებები
git config --global user.name "სახელი გვარი"
მოცემული ბრძანებით მივუთითებთ ჩვენს სახელს და გვარს
git config --global user.email "MY_NAME@example.com"
მოცემული ბრძანებით მივუთითებთ ჩვენს ელფოსტას
git config --list
მოცემული ბრძანებით გვიჩვენებს კონფიგურაციის ყველა პარამეტრს
by ვაჟა ტყემალაძე
10 months ago
0
Git
git
0
<?php

$alpha = range('A', 'Z');  
for( $i = 0; $i < 26; $i++ ) {   
  for( $k = 26; $k > $i ; $k-- ){  
    echo $alpha[$i];  
    }  
    echo "\n";  
}  
result AAAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBBBBBBBBBBBBBBBB CCCCCCCCCCCCCCCCCCCCCCCC DDDDDDDDDDDDDDDDDDDDDDD EEEEEEEEEEEEEEEEEEEEEE FFFFFFFFFFFFFFFFFFFFF GGGGGGGGGGGGGGGGGGGG HHHHHHHHHHHHHHHHHHH IIIIIIIIIIIIIIIIII JJJJJJJJJJJJJJJJJ KKKKKKKKKKKKKKKK LLLLLLLLLLLLLLL MMMMMMMMMMMMMM NNNNNNNNNNNNN OOOOOOOOOOOO PPPPPPPPPPP QQQQQQQQQQ RRRRRRRRR SSSSSSSS TTTTTTT UUUUUU VVVVV WWWW XXX YY Z
by ვაჟა ტყემალაძე
10 months ago
0
PHP
Problem Solving
Note
php
Problem
PHP Object Oriented Programming (OOP)
0
Cache credentials
Sets the cache timeout for 3600 seconds
git config --global credential.helper 'cache --timeout=3600'
by Valeri Tandilashvili
10 months ago
0
Git
0
control how a webpage is displayed on different devices by adjusting the width and initial zoom level of the viewport to match the device's screen size
<meta name="viewport" content="width=device-width, initial-scale=1">
width=device-width
- sets the width of the viewport to be equal to the width of the device's screen. This ensures that the webpage adapts and fills the entire width of the device, regardless of its specific screen size or resolution.
CSS media query
works properly with any device by setting device width to viewport
initial-scale=1
- sets the initial zoom level when the webpage is first loaded. A value of 1 means that the webpage will be displayed at a 1:1 ratio, without any zooming or scaling applied
by Valeri Tandilashvili
10 months ago
0
HTML
meta tags
0
Difference between route:clear and route:cache
php artisan route:cache
This command will generate a cached version of our routes. Once the routes are cached,
Laravel
will use the cached version instead of parsing and compiling the routes on each request, which helps to improve the overall performance of your application When we make changes to our routes, we need to regenerate it to reflect the updated routes
php artisan route:clear
This command will remove the cached routes, and the application will revert to parsing and compiling the routes dynamically
by Valeri Tandilashvili
10 months ago
0
Laravel
0
cURL Request example
Makes
cURL
request To
http://10.0.0.1/api/sms?PersonalID=19011111114
With headers: Channel-Name:
SMS
Authorization:
9s2EkGCDhv3eVwQY5BPSc
curl -H "Channel-Name: SMS" -H "Authorization: 9s2EkGCDhv3eVwQY5BPSc" "http://10.0.0.1/api/Sms?PersonalID=19011111114"
by Valeri Tandilashvili
10 months ago
0
Linux
0
strtotime
The following expressions return the same time
echo strtotime("2031-05-28T00:00:00").PHP_EOL;
echo strtotime("2031-05-28 00:00:00").PHP_EOL;
echo strtotime("2031-05-28").PHP_EOL;
The result is:
1937692800
1937692800
1937692800
by Valeri Tandilashvili
10 months ago
0
PHP
0
Results: 1578