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
| services: | |
| db: | |
| image: mariadb:latest | |
| hostname: wp_database | |
| container_name: wp_database | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: | |
| TZ: "Europe/Moscow" |
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
| {set $index = 0} | |
| {set $slider = json_decode($_modx->resource.slider, true)} | |
| {foreach $slider as $row} | |
| <div> | |
| <img src="{$row.image | phpthumbon : 'w=1920&zc=0'}" title="{$row.heading}" alt="{$row.heading}"> | |
| <a href="{$row.link}"> | |
| {$row.content} | |
| </a> | |
| </div> |
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
| <touchégg> | |
| <settings> | |
| <property name="composed_gestures_time">111</property> | |
| </settings> | |
| <application name="All"> | |
| <gesture type="DRAG" fingers="1" direction="ALL"> | |
| <action type="DRAG_AND_DROP">BUTTON=1</action> | |
| </gesture> | |
| <gesture type="DRAG" fingers="3" direction="RIGHT"> | |
| <action type="SEND_KEYS">Control+Alt+Right</action> |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| window.onload = function () { | |
| var datesCollection = document.getElementsByClassName("input-date"); | |
| var dates = Array.from(datesCollection); | |
| dates.forEach(function (date) { | |
| new Cleave(date, { | |
| date: true, | |
| delimiter: '-', | |
| datePattern: ['Y', 'm', 'd'] | |
| }) |
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
| var cleave = new Cleave('.phone-mask', { | |
| // prefix: '+7 ', | |
| numericOnly: true, | |
| blocks: [0, 3, 3, 2, 2], | |
| delimiters: ["+7 (", ") ", " ", "-", "-"] | |
| }); |
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
| #!/bin/bash | |
| echo Please specify MODX version: | |
| read version | |
| echo Downloading MODX $version... | |
| wget https://modx.com/download/direct?id=modx-$version-pl.zip | |
| unzip direct\?id\=modx-$version-pl.zip && rm direct\?id\=modx-$version-pl.zip |
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
| -------------------- | |
| ---------------- | |
| |^^^пиво^^\\|""\\_,_ | |
| |___________||___|__|) | |
| (@)(@)""*|(@)(@)**(@) |
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
| insmod part_gpt | |
| insmod fat | |
| set root='hd0,gpt1' | |
| if [ x$feature_platform_search_hint = xy ]; then | |
| search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 040D-E584 | |
| else | |
| search --no-floppy --fs-uuid --set=root 040D-E584 | |
| fi | |
| chainloader /EFI/Microsoft/Boot/bootmgfw.efi |
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
| md "OptimizedJPEGS" | |
| for %%i in (*.jpg) do "C:\Program Files (x86)\GnuWin32\bin\jpegtran.exe" -optimize -progressive -copy none "%%i" > "OptimizedJPEGS\%%i" |
NewerOlder