{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "IT guy's blog: posts tagged eng",
    "_rss_description": "AI, IT, tech, software development, AI agents",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/www.egor.work\/tags\/eng\/",
    "feed_url": "https:\/\/www.egor.work\/tags\/eng\/json\/",
    "icon": "https:\/\/www.egor.work\/pictures\/userpic\/userpic@2x.jpg?1673209172",
    "authors": [
        {
            "name": "Egor Zotov",
            "url": "https:\/\/www.egor.work\/",
            "avatar": "https:\/\/www.egor.work\/pictures\/userpic\/userpic@2x.jpg?1673209172"
        }
    ],
    "items": [
        {
            "id": "17",
            "url": "https:\/\/www.egor.work\/all\/automate-security-check-in-your-symfony-project\/",
            "title": "Fix security check 404 error in your symfony project",
            "content_html": "<p>The <b>bin\/console security:check<\/b> was recently shutted down by Symfony stakeholders. If you try to use it you will get an error:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">The web service failed for an unknown reason (HTTP 404).<\/code><\/pre><p>Now you must checking the project locally with <a href=\"https:\/\/github.com\/fabpot\/local-php-security-checker\">utility<\/a> written by Fabien Potencier.<\/p>\n<h2>Attention!<\/h2>\n<h3>My instructions are only suitable for those using docker or linux as a host system.<\/h3>\n<ol start=\"1\">\n<li>That scripts allows to download latest version of security utility:<\/li>\n<\/ol>\n<script src=\"https:\/\/gist.github.com\/egorzot\/9aebfc8b46508e50310c09fde9498013.js\"><\/script>\n<ol start=\"2\">\n<li>Script generates “local-php-security-checker” file in project’s root folder. You may run downloaded file directly or add aliases to the composer.json file at “scripts” section:<\/li>\n<\/ol>\n<script src=\"https:\/\/gist.github.com\/egorzot\/220829cf7a2c58302b9f53390dd3c18a.js\"><\/script>\n<p>Now you able to run security check with 1 line of code<\/p>\n<script src=\"https:\/\/gist.github.com\/egorzot\/c8fc012278d56d5dc326e2182119c96d.js\"><\/script>\n",
            "date_published": "2021-02-01T15:33:01+03:00",
            "date_modified": "2021-08-28T15:28:20+03:00",
            "tags": [
                "eng",
                "php",
                "symfony"
            ],
            "_date_published_rfc2822": "Mon, 01 Feb 2021 15:33:01 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "17",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "14",
            "url": "https:\/\/www.egor.work\/all\/setting-up-bulma-variables-to-vue-config-js\/",
            "title": "Working with bulma sass variables in vue project",
            "content_html": "<p>To operate with sass variables in vue components you should firstly install node-sass and sass-loader:<\/p>\n<pre class=\"e2-text-code\">\n<code class=\"console\">\nyarn add --dev node-sass sass-loader\n<\/code>\n<\/pre>\n<p>Then in vue.config.js add follows rules:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">module.exports = {\n  css: {\n    loaderOptions: {\n      sass: {\n        data: '@import &quot;~bulma\/sass\/utilities\/_all.sass&quot;;'\n      }\n    }\n  }\n};<\/code><\/pre><p>Now you can write something like this:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">\n&lt;style lang=&quot;scss&quot;&gt;\nhtml,\nbody {\n  height: 100%;\n  width: 100%;\n  align-items: center;\n  justify-content: center;\n\n  \/*all display sizes beginning with tablets*\/\n  @include from($tablet) {\n    display: flex;\n  }\n}\n&lt;\/style&gt;<\/code><\/pre>",
            "date_published": "2019-07-15T03:42:52+03:00",
            "date_modified": "2020-04-01T05:48:35+03:00",
            "tags": [
                "eng"
            ],
            "_date_published_rfc2822": "Mon, 15 Jul 2019 03:42:52 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "14",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "11",
            "url": "https:\/\/www.egor.work\/all\/how-to-install-telegram-x-on-iphone-and-enable-mtproto-proxy\/",
            "title": "How to install Telegram X on iPhone and enable MTProto proxy",
            "content_html": "<ol start=\"1\">\n<li>Follow <a href=\"http:\/\/telegra.ph\/How-to-install-beta-Telegram-for-iOS-11-15\">this instruction<\/a> to install Telegram X<\/li>\n<li>Remove your default Telegram app<\/li>\n<li>Check <a href=\"https:\/\/t.me\/MTProxies\">MTProto Proxy channel<\/a> for proxies<\/li>\n<li>Choose the nearest proxy and connect<\/li>\n<\/ol>\n<p>You can change proxy settings and switch between proxies via shield button in right corner of Telegram X screen.<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/www.egor.work\/pictures\/IMG_1365.jpg\" width=\"750\" height=\"172\" alt=\"\" \/>\n<\/div>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/www.egor.work\/pictures\/proxies.jpg\" width=\"750\" height=\"956\" alt=\"\" \/>\n<\/div>\n<p>You can get proxy settings from other bots, e. g. <a href=\"https:\/\/t.me\/proxy_service_bot\"> @proxy_service_bot <\/a> provides socks5 proxy.<\/p>\n<p><b>UPD 18.06.2020:<\/b><br \/>\nYou can use <a href=\"tg:\/\/proxy?server=vpn.egor.work&port=6161&secret=91705c869d569a476f9da858983eae6d\">this<\/a> proxy created by me.<\/p>\n",
            "date_published": "2018-05-31T13:19:17+03:00",
            "date_modified": "2020-06-18T06:21:27+03:00",
            "tags": [
                "eng"
            ],
            "image": "https:\/\/www.egor.work\/pictures\/IMG_1365.jpg",
            "_date_published_rfc2822": "Thu, 31 May 2018 13:19:17 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "11",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [],
                "og_images": [
                    "https:\/\/www.egor.work\/pictures\/IMG_1365.jpg",
                    "https:\/\/www.egor.work\/pictures\/proxies.jpg"
                ]
            }
        },
        {
            "id": "10",
            "url": "https:\/\/www.egor.work\/all\/install-git-flow-plugin-for-zsh\/",
            "title": "Install git-flow plugin for zsh",
            "content_html": "<p><a href=\"https:\/\/github.com\/robbyrussell\/oh-my-zsh\/blob\/master\/plugins\/git-flow\/git-flow.plugin.zsh\">Here is<\/a> a great git-flow plugin for zsh. How to install it:<\/p>\n<ol start=\"1\">\n<li>Add plugin file<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">cd $ZSH_CUSTOM &amp;&amp; cd plugins &amp;&amp; mkdir git-flow &amp;&amp; cd git-flow &amp;&amp; wget https:\/\/raw.githubusercontent.com\/robbyrussell\/oh-my-zsh\/master\/plugins\/git-flow\/git-flow.plugin.zsh<\/code><\/pre><ol start=\"2\">\n<li>Open zsh settings<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">vi ~\/.zshrc<\/code><\/pre><ol start=\"3\">\n<li>Add git-flow plugin to your plugins<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">plugins=(git git-flow)<\/code><\/pre><p>Restart the terminal.<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/www.egor.work\/pictures\/git-flow.png\" width=\"799\" height=\"294\" alt=\"\" \/>\n<\/div>\n<p>Aliases<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">#Alias\nalias gfl='git flow'\nalias gfli='git flow init'\nalias gcd='git checkout develop'\nalias gch='git checkout hotfix'\nalias gcr='git checkout release'\nalias gflf='git flow feature'\nalias gflh='git flow hotfix'\nalias gflr='git flow release'\nalias gflfs='git flow feature start'\nalias gflhs='git flow hotfix start'\nalias gflrs='git flow release start'\nalias gflff='git flow feature finish'\nalias gflhf='git flow hotfix finish'\nalias gflrf='git flow release finish'\nalias gflfp='git flow feature publish'\nalias gflhp='git flow hotfix publish'\nalias gflrp='git flow release publish'\nalias gflfpll='git flow feature pull'<\/code><\/pre>",
            "date_published": "2018-05-15T10:08:48+03:00",
            "date_modified": "2018-05-16T08:50:38+03:00",
            "tags": [
                "eng",
                "system"
            ],
            "image": "https:\/\/www.egor.work\/pictures\/git-flow.png",
            "_date_published_rfc2822": "Tue, 15 May 2018 10:08:48 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "10",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": [
                    "https:\/\/www.egor.work\/pictures\/git-flow.png"
                ]
            }
        },
        {
            "id": "9",
            "url": "https:\/\/www.egor.work\/all\/awesome-script-for-installing-phpstorm-webstorm-intellij-and-oth\/",
            "title": "Awesome script for installing PhpStorm , WebStorm, IntelliJ and other JetBrains products in one line on Ubuntu",
            "content_html": "<p>Now you can install JetBrains products in one line on Ubuntu. Thanks to  <a href=\"https:\/\/gist.github.com\/zabidok\">zabidok<\/a>.<\/p>\n<ol start=\"1\">\n<li>Download <a href=\"https:\/\/egor.work\/files\/jb_install_update.sh\">jb_install_update.sh<\/a> script<\/li>\n<li>Set permissions to execute for this file<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">chmod +x jb_install_update.sh<\/code><\/pre><ol start=\"3\">\n<li>Run script<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">sudo  .\/jb_install_update.sh<\/code><\/pre>",
            "date_published": "2018-02-12T13:36:04+03:00",
            "date_modified": "2018-05-16T08:51:00+03:00",
            "tags": [
                "eng",
                "system"
            ],
            "_date_published_rfc2822": "Mon, 12 Feb 2018 13:36:04 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "9",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "2",
            "url": "https:\/\/www.egor.work\/all\/how-to-switch-to-zsh-with-termanator-and-phpstorm\/",
            "title": "How to switch from bash to zsh with Terminator and PhpStorm",
            "content_html": "<p>Аs the main OS I use Ubuntu with bash. I wanted to change default Unix shell bash to <a href=\"http:\/\/www.zsh.org\/\">zsh<\/a>. Zsh is like bash but with <s>blackjack and hookers<\/s> improvements and new features.<\/p>\n<p>Here is <a href=\"https:\/\/gist.github.com\/renshuki\/3cf3de6e7f00fa7e744a\">gist<\/a> file from <a href=\"https:\/\/gist.github.com\/renshuki\">renshuki<\/a> that I google. It installs <a href=\"http:\/\/www.linuxandubuntu.com\/home\/terminator-a-linux-terminal-emulator-with-multiple-terminals-in-one-window\">Terminator<\/a>, zsh and Agnoster Theme for zsh.<\/p>\n<h2>Install Terminator (shell)<\/h2>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nsudo add-apt-repository ppa:gnome-terminator\nsudo apt-get update\nsudo apt-get install terminator\n<\/code>\n<\/pre>\n<p>Terminator should be setup as default now. Restart your terminal (shortcut: “Ctrl+Alt+T”).<\/p>\n<h2>Install ZSH<\/h2>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nsudo apt-get install zsh\n<\/code>\n<\/pre>\n<p>Restart your terminal. Choose option 2 for Z Shell configuration.<br \/>\nDon’t forget to migrate your previous configurations (RVM, Rbenv...) from .bashrc to .zshrc<\/p>\n<h2>Install Oh My ZSH<\/h2>\n<pre class=\"e2-text-code\"><code class=\"bash\">\ncd\nsh -c \"$(curl -fsSL https:\/\/raw.github.com\/robbyrussell\/oh-my-zsh\/master\/tools\/install.sh)\"\n<\/code>\n<\/pre>\n<h2>Setup missing fonts (powerline)<\/h2>\n<h3>Install powerline font<\/h3>\n<pre class=\"e2-text-code\"><code class=\"bash\">\ncd\nwget https:\/\/github.com\/powerline\/powerline\/raw\/develop\/font\/PowerlineSymbols.otf\nwget https:\/\/github.com\/powerline\/powerline\/raw\/develop\/font\/10-powerline-symbols.conf\nmv PowerlineSymbols.otf ~\/.fonts\/\nmkdir -p .config\/fontconfig\/conf.d #if directory doesn't exists\n<\/code>\n<\/pre>\n<h3>Clean fonts cache<\/h3>\n<pre class=\"e2-text-code\"><code class=\"\">fc-cache -vf ~\/.fonts\/<\/code><\/pre><h3>Move config file<\/h3>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nmv 10-powerline-symbols.conf ~\/.config\/fontconfig\/conf.d\/\n<\/code>\n<\/pre>\n<h2>Configure ZSH<\/h2>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nvim ~\/.zshrc\n<\/code>\n<\/pre>\n<h2>Theme<\/h2>\n<p>Change [ZSH_THEME=“robbyrussell”] to [ZSH_THEME=“agnoster”]<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">ZSH_THEME=&quot;agnoster&quot;<\/code><\/pre><h3>Change theme colors to solarize<\/h3>\n<pre class=\"e2-text-code\"><code class=\"\">dconf<\/code><\/pre><p>is required if you don’t already have it.<\/p>\n<pre class=\"e2-text-code\"><code class=\"bash\">\nsudo apt-get install dconf-cli\ngit clone git:\/\/github.com\/sigurdga\/gnome-terminal-colors-solarized.git ~\/.solarized\ncd ~\/.solarized\n.\/install.sh\n<\/code>\n<\/pre>\n<ul>\n<li>I recommend you option 1 (dark theme) which is just great.<\/li>\n<li>Choose option 1 to download seebi’ dircolors-solarized<\/li>\n<\/ul>\n<p>After installation, open .zshrc and add the line:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">eval `dircolors ~\/.dir_colors\/dircolors`<\/code><\/pre><p>To activate dark solarize theme in Terminator just right click on the terminal,<\/p>\n<blockquote>\n<p>Preferences>Profiles>Colors>Foreground and Background>Built-in schemes: Solarized dark<br \/>\nPreferences>Profiles>Colors>Palette>Built-in schemes: Solarized<\/p>\n<\/blockquote>\n<p><b>Restart Terminator and you’re done!<\/b><\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/www.egor.work\/pictures\/zsh.png\" width=\"759\" height=\"157\" alt=\"\" \/>\n<\/div>\n<h2>Enable zsh in PhpStorm<\/h2>\n<p>Go to the<\/p>\n<blockquote>\n<p>File>Settings>Tools>Terminal<\/p>\n<\/blockquote>\n<p>and set Shell path to the \/usr\/bin\/zsh:<\/p>\n<div class=\"e2-text-picture\">\n<img src=\"https:\/\/www.egor.work\/pictures\/zsh-phpstorm.png\" width=\"528\" height=\"297\" alt=\"\" \/>\n<\/div>\n<p>That’s it!<\/p>\n<p>phpstorm-zsh2.pngg<\/p>\n",
            "date_published": "2017-11-08T19:12:47+03:00",
            "date_modified": "2018-05-16T08:52:30+03:00",
            "tags": [
                "eng",
                "system"
            ],
            "image": "https:\/\/www.egor.work\/pictures\/phpstorm-zsh2.png",
            "_date_published_rfc2822": "Wed, 08 Nov 2017 19:12:47 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "2",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": [
                    "https:\/\/www.egor.work\/pictures\/phpstorm-zsh2.png",
                    "https:\/\/www.egor.work\/pictures\/zsh.png",
                    "https:\/\/www.egor.work\/pictures\/zsh-phpstorm.png"
                ]
            }
        }
    ],
    "_e2_version": 4171,
    "_e2_ua_string": "Aegea 11.4 (v4171)"
}