Skip to content

Instantly share code, notes, and snippets.

View stsZim's full-sized avatar
🎯
Focusing

Zim stsZim

🎯
Focusing
View GitHub Profile
базовые команды
git clone адрес репозитория - клонировать репозиторий на локальный компютер
git commit -m 'initial commit' комит изменений в локальный репозиторий
git push -u origin master - только первый раз отправка изменений в удаленный репозиторий
git push - все последующие разы отправка изменений в удаленный репозиторий
окат изменений
git pull - скачивается актуальная версия удаленного репозитория и все изменения применяются к локальному репозиторию
checkout - перейти в другую ветку
discard - не отправлять в репозиторий те изменения которые нам не нравятся
@stsZim
stsZim / Form + AJAX + cool alert + bootstrap
Last active April 18, 2019 11:12
Form + AJAX + cool alert + bootstrap
<!--index.html-->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-sm">Small modal</button>
<div id="modal" class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm" style="max-width: 380px;">
<div class="modal-content">
<div class="modal-header">
<div class="col-sm-12">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-cat" id="exampleModalLabel">Форма обратной связи</h4>
@stsZim
stsZim / media-query.css
Created February 9, 2021 16:06 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */