Skip to content

Instantly share code, notes, and snippets.

View artemrogov's full-sized avatar
🎯
Focusing

Artem Rogov artemrogov

🎯
Focusing
View GitHub Profile
@jwegas
jwegas / README.md
Created December 16, 2020 02:11
Allow you Raspberry Pi to connect to Wi-Fi.

[EN] To make you Raspberry Pi being connected to your Wi-Fi do the steps:

  1. on SD-card with Rapbian OS create file /boot/wpa_supplicant.conf;
  2. fill this file with content from snippet wpa_supplicant.conf;
  3. replace <your_wifi_network_name> with name (ssid) of your home network;
  4. replace <password_to_connect> with password you use to connect to your network;
  5. Optional. You can replace value of country field with your country's key (US, GB, etc).

Insert SD-card into Raspberry Pi and it will connect to your Wi-Fi after start.

@GhazanfarMir
GhazanfarMir / Instructions.sh
Last active May 14, 2024 03:26
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@deuterium7
deuterium7 / test_app.md
Last active May 13, 2024 04:14
Тестовое задание, Laravel

Тестовое задание по Laravel

16.10.2017:

Читаю "Разобраться с основами git и git-flow"

  • зачем нужны ветки ? (для возможности работы с отдельным частями проекта)
  • какие бывают ветки ? (master: по-умолчанию, develop и другие вспомогательные ветки)
  • зачем нужен .gitignore ? (для исключения из git'а файлов и папок, чтобы исключить конфликты при слиянии веток)
  • какие проблемы за нас решает git-flow и почему стоит его использовать ? (git-flow автоматизирует процесс управления версиями и приводит систему к общепринятой модели управления версиями)
  • что будет если не писать сообщения к комитам ? (тяжело будет разобраться в каком состоянии находится проект и какие правки были введены)

Читаю о тестировании

  • unit testing (необходимо для тестирования отдельных модулей системы, как-правило это какие-то классы или объединенные участки кода имеющие общую цель)
@proweb
proweb / slick_fix.css
Created May 6, 2017 16:23
Css fix for slick carousel in bootstrap 3 tab
/* Based on https://github.com/kenwheeler/slick/issues/187#issuecomment-59123524 */
/* bootstrap hack: fix content width inside hidden tabs */
.tab-content > .tab-pane,
.pill-content > .pill-pane {
display: block; /* undo display:none */
height: 0; /* height:0 is also invisible */
overflow: hidden; /* no-overflow */
}
.tab-content > .active,
.pill-content > .active {
@idecardo
idecardo / homestead-manual-install.md
Last active November 16, 2023 08:34
Laravel Homestead Manual Installation

Getting Started

Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Read more...

Download

Download homestead box:

@JeffreyWay
JeffreyWay / countries.php
Created July 23, 2015 17:01
Country Names + Codes
[
"United States" => "us",
"Afghanistan" => "af",
"Albania" => "al",
"Algeria" => "dz",
"American Samoa" => "as",
"Andorra" => "ad",
"Angola" => "ad",
"Anguilla" => "ai",
"Antarctica" => "aq",