This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [opcache] | |
| zend_extension=C:\xampp\php\ext\php_opcache.dll | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| opcache.memory_consumption=256 | |
| opcache.max_accelerated_files=2000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Method 1 | |
| git config --global core.editor "'c:/program files/sublime text 3/sublime_text.exe' -w" | |
| Method 2 | |
| git config --global core.editor "subl -n -w" | |
| Method 3 | |
| $ echo 'alias subl="/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"' >> ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // mixin | |
| =media($type1, $size1: null, $type2: null, $size2: null) | |
| @if ($type1) and ($size1) and ($type2) and ($size2) | |
| @media ($type1: $size1) and ($type2: $size2) | |
| @content | |
| @elseif ($type1) and ($size1) and not ($type2) and not ($size2) | |
| @media ($type1: $size1) | |
| @content | |
| @elseif ($type1) and not ($size1) and not ($type2) and not ($size2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =col($cols, $medias) | |
| $length: length($medias) | |
| $query-i: 1 | |
| @each $col in $cols | |
| $i: 0 | |
| @media screen and (min-width: #{nth($medias, $query-i)}px) | |
| @while $i < $length | |
| $i: $i + 1 | |
| .col.#{$col}-#{floor($i)} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Move project root folder from folder1 to folder2 | |
| # Do not show change in URL | |
| ``` | |
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^domain.pl$ [NC,OR] | |
| RewriteCond %{HTTP_HOST} ^www.domain.pl$ | |
| RewriteCond %{REQUEST_URI} !subfolder1/subfolder2/ | |
| RewriteRule (.*) /subfolder1/subfolder2/$1 [L] | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install repository | |
| // | |
| 2. From software update other drivers selct latest drivers | |
| // | |
| 3. Set settings for nvidia as needed | |
| sudo nvidia-settings | |
| 4. Configur xconfig they will be saved in "/etc/X11/xorg.conf" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <!-- FOLDER STRUCTURE | |
| index.php | |
| |->less[_]->css[_] // create your less file in less folder | |
| |->js[_] // create your plugin js file | |
| --> | |
| <html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($){ | |
| $.fn.animateScroll = function(){ | |
| console.log($('[scroll]')); | |
| $('[scroll]').click(function(){ | |
| selector = $($(this).attr('scroll')); | |
| console.log(selector); | |
| console.log(selector.offset().top); | |
| $('html body').animate( | |
| {scrollTop: (selector.offset().top)}, //- $(window).scrollTop() | |
| 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Wykorzystanie plików Cookies | |
| Serwis używa plików Cookies w celu: | |
| 1. poprawienia funkcjonalności strony internetowej; | |
| 2. poprawienia szybkości działania strony internetowej; | |
| 3. dopasowania treści do oczekiwań i zainteresowań użytkowników; | |
| 4. zbieraniu anonimowych zagregowanych statystyk przeglądania artykułów i produktów na stronach serwisu | |
| 5. wyświetlaniu treści reklamowych. | |
| Wykorzystując pliki Cookies serwis nigdy nie identyfikuje tożsamości użytkowników na podstawie danych przechowywanych w tych plikach. | |
| Przeglądarka internetowa umożliwia zmianę ustawień zapisywania plików Cookies lub usunięcie zapisanych plików. Zobacz jak zmienić te ustawienia w zależności od przeglądarki jakiej używasz: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^domain-name.com$ [NC,OR] | |
| RewriteCond %{HTTP_HOST} ^www.domain-name.com$ | |
| RewriteCond %{REQUEST_URI} !folder/ | |
| RewriteRule (.*) /folder/$1 [L] |