Skip to content

Instantly share code, notes, and snippets.

View Ivanitch's full-sized avatar
🏠
Working from home

`Sergey Ivanov Ivanitch

🏠
Working from home
View GitHub Profile
Ссылка на плагин
https://github.com/Grafikart/ST3-LiveReload
Устанавливаем в C:\Users\User\AppData\Roaming\Sublime Text 3\Packages
Название папки должно быть просто LiveReload
Важно! В данной папке может быть ещё одна папка, от неё нужно избавиться
Затем в настройках плагина добавить
{
"enabled_plugins": [
Ссылка на плагин:
https://packagecontrol.io/packages/BufferScroll
или
https://github.com/titoBouzout/BufferScroll
@Ivanitch
Ivanitch / .gitconfig
Created December 31, 2019 03:52 — forked from pksunkara/config
Sample of git config file (Example .gitconfig)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
@Ivanitch
Ivanitch / mysql2sqlite.sh
Created September 3, 2020 09:40 — forked from esperlu/mysql2sqlite.sh
MySQL to Sqlite converter
#!/bin/sh
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the
# CREATE block and create them in separate commands _after_ all the INSERTs.
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk.
# The mysqldump file is traversed only once.
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite
@Ivanitch
Ivanitch / Markdown-docs.md
Created September 4, 2020 04:41 — forked from Jekins/Markdown-docs.md
Руководство по оформлению Markdown файлов

Настоящий документ предназначен для ознакомления пользователя с функциональными возможностями языка разметки Markdown. Markdown – это облегченный язык разметки, который является инструментом преобразования кода в HTML. Главной особенностью данного языка является максимально простой синтаксис, который служит для упрощения написания и чтения кода разметки, что, в свою очередь, позволяет легко его корректировать. Теперь рассмотрим более подробно функции языка разметки Markdown.

Markdown не является заменой HTML. Синтаксис Markdown достаточно ограничен, и соответствует лишь небольшому подмножеству элементов HTML. Он включает в себя следующие элементы:

  1. Блочные элементы
@Ivanitch
Ivanitch / gitconfig.txt
Last active March 12, 2021 14:21
.gitconfig
[user]
name = Sergey Ivanov
email = ivanitch.mail@gmail.com
[alias]
lg1 = log --graph --pretty=format:'%C(bold red)%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(bold yellow)%d%C(reset) - %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold green)(%ar)%C(reset)' --all
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
[filter "lfs"]
clean = git-lfs clean -- %f
@Ivanitch
Ivanitch / bulma-sticky-footer.html
Created May 16, 2021 10:49
bulma sticky footer.html
@Ivanitch
Ivanitch / PHP7-extensions.md
Created July 7, 2021 09:58 — forked from E1101/PHP7-extensions.md
PHP 7 Extensions

Extensions Catalog

This page holds everything we know about every extension we know about. Instructions for working with this page can be found on our main website.

If this page is annoyingly narrow to read, try this: https://github.com/xthexder/wide-github

Core Extensions

Name Homepage/location Has maintainers Has tests Has docs Works on PHP5 Works on PHP7 Is good on PHP 7 Details
@Ivanitch
Ivanitch / Bootstrap-3_Carousel-Collection
Created July 28, 2021 02:51 — forked from loschke/Bootstrap-3_Carousel-Collection
Bootstrap 3 - Carousel Collection Pack
@Ivanitch
Ivanitch / active_record.md
Created February 19, 2022 04:03 — forked from yesnik/active_record.md
Yii 1 Framework Cookbook

CActiveRecord methods

findAll()

Sort records

// Ascending order
Partner::model()->findAll(array('order' => 'company'));