12 апр. 2018 г.

6 апр. 2018 г.

.htaccess

Первая часть запрещает соединение некоторым известным надоедливым ботам, программам по скачиванию сайтов и инструментам по изучению сайтов (список можно расширить как угодно. Определение происходит по HTTP_USER_AGENT)
Вторая часть запрещает соединение при попытке выполнить некоторые известные эксплоиты (выполнить или залить код на сайт)
Третья часть запрещает соединение при попытке сделать некоторые инъекции


RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]

RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^libghttp [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Missigua [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Indy\ Library [OR]
RewriteCond %{HTTP_USER_AGENT} ^libwww-perl [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^TurnitinBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^Paros [OR]
RewriteCond %{HTTP_USER_AGENT} ^AnyEvent
RewriteRule .* - [F]
##### Rewrite rules to block out some common exploits -- BEGIN
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_(en|de)code\(.*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
##### Rewrite rules to block out some common exploits -- END
##### File injection protection -- BEGIN
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=http:// [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC]
RewriteRule .* - [F]
##### File injection protection -- END

4 апр. 2018 г.

Полезности для Wordpress

Официальный депозитарий плагинов

https://ru.wordpress.org/plugins/

Темы

http://www.themelock.com/wordpress-themes/
http://cmsheaven.org/templates/wordpress/wp-free/

Темы и плагины

https://azbukafree.com/wordpressre/wordpressplagin/
http://themelord.com/other/wp-plugins/
https://theme-free.tk/

Конструкторы-страниц

  • Visual Composer
  • Beaver Builder
  • Velocity Page
  • https://elementor.com

4 янв. 2018 г.

Corona Render для Blender

To download:

Download the .zip file of the latest version of the exporter from https://bitbucket.org/ohsnapitsjoel/render_corona/downloads
Download the latest version of Corona Standalone here from and redistributables / other relevant files from here.

3 дек. 2017 г.

Print booklets using Acrobat or Reader

You can print a multipage document as a booklet. Acrobat or Reader lays out the pages two per sheet. When you collate, fold, and staple the double-sided sheets, the result is a single book with the correct page order.
Steps for Reader and Acrobat X
Steps for Reader and Acrobat 9
Multipage PDF printed as a booklet
Multipage PDF printed as a booklet: four pages per sheet, printed both sides, left-side binding.

Reader and Acrobat X

Print a multi-page document as booklet:
  1. Choose File > Print.
  2. Select a printer from the menu at the top of the Print dialog box.
  3. In the Pages to Print area, select which pages you want in the booklet.
    All prints pages from front to back.
    Pages specifies a page range for printing a smaller grouping of a large booklet. You divide a large booklet into smaller groupings, and then print each page range separately.
  4. Under Page Sizing & Handling, choose Booklet.
    Choose Booklet
  5. In the Booklet Subset pop-up menu, select one of the following options: Both sides (duplex printers) automatically prints both sides of the paper, if your printer supports automatic duplex printing, or Front side only / Back side only (for non-duplex printers). If your printer can’t automatically print both sides, you can first print the front sides of the paper. Then reload those pages and print the back sides.
    Booklet subset options
  6. Leave the numbers in the Sheets From boxes as they are. Acrobat or Reader determines which sheets must print to accommodate the print job. For example, if you have a 16-page PDF and you selected All in the Print Range area, then sheets 1 through 4 print.
    Booklet Sheets options
  7. Select Auto-Rotate Pages to automatically rotate each page for the best fit in the printable area.
    Select Auto-Rotate Pages

Acrobat and Reader 9

Print a multi-page document as booklet:
  1. Choose File > Print.
  2. Select a printer from the menu at the top of the Print dialog box.
  3. In the Print Range area, specify which pages to print:
    All  Prints pages from front to back.
    Pages  Specifies a page range for printing a smaller grouping of a large booklet. You divide a large booklet into smaller groupings, and then print each page range separately.
  4. From the Page Scaling pop-up menu, select Booklet Printing. Additional controls appear beneath the Page Scaling pop-up menu.
    Select Booklet Printing
  5. In the Booklet Subset pop-up menu, select one of the following options:
    Both sides  (Duplex printers) Automatically prints both sides of the paper, if your printer supports automatic duplex printing.

    Booklet Subset options
    Front side only / Back side only (for non-duplex printers) If your printer can't automatically print both sides, you can first print the front sides of the paper. Then reload those pages and print the back sides.

  6. Leave the numbers in the Sheets From boxes as they are. Acrobat or Reader determines which sheets must print to accommodate the print job. For example, if you have a 16-page PDF and you selected All in the Print Range area, then sheets 1 through 4 print.

  7. Select Auto-Rotate Pages to automatically rotate each page for the best fit in the printable area.
    Booklet Page Handling
  8. Choose an option from the Binding pop-up menu:

    Booklet Binding options
  9. Click OK or Print.