{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "Discover Docker, K8s and Hashicorp Nomad with Maksym Prokopov: posts tagged shell",
    "_rss_description": "The blog about containerisation, virtual machines and useful shell snippets and findings",
    "_rss_language": "en",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/blog.it-premium.com.ua\/tags\/shell\/",
    "feed_url": "https:\/\/blog.it-premium.com.ua\/tags\/shell\/json\/",
    "icon": false,
    "authors": [
        {
            "name": "Maksym Prokopov",
            "url": "https:\/\/blog.it-premium.com.ua\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "219",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/load-environment-variables-from-file-and-run-command\/",
            "title": "load environment variables from file and run command",
            "content_html": "<pre class=\"e2-text-code\"><code class=\"\">env $(cat .env) rails s<\/code><\/pre>",
            "date_published": "2020-05-04T15:49:38+01:00",
            "date_modified": "2020-05-04T15:49:36+01:00",
            "tags": [
                "shell"
            ],
            "_date_published_rfc2822": "Mon, 04 May 2020 15:49:38 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "219",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "210",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/zsh-func-for-updating-port-from-docker-container\/",
            "title": "zsh func for updating port from docker container",
            "content_html": "<p>put this in .zshrc if you want to update `kube\/config` with new port from kind container<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">kupdate() {\nDOCKER_ID=`docker ps -a | awk &#039;\/kind-control-plane\/{print $1}&#039;`\nPORT=`docker inspect ${DOCKER_ID} | jq -r &#039;.[0].NetworkSettings.Ports[&quot;6443\/tcp&quot;][0].HostPort&#039;`\nkubectl config set clusters.kind-kind.server https:\/\/127.0.0.1:${PORT}\necho &quot;port set to ${PORT}&quot;\n}<\/code><\/pre>",
            "date_published": "2020-02-13T09:15:46+01:00",
            "date_modified": "2020-02-13T09:15:26+01:00",
            "tags": [
                "docker",
                "shell",
                "tips"
            ],
            "_date_published_rfc2822": "Thu, 13 Feb 2020 09:15:46 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "210",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "96",
            "url": "https:\/\/blog.it-premium.com.ua\/all\/posmotret-otkrytye-setevye-porty-na-linux\/",
            "title": "Посмотреть открытые сетевые порты на Linux",
            "content_html": "<pre class=\"e2-text-code\"><code class=\"\">netstat -tupl<\/code><\/pre>",
            "date_published": "2016-01-18T17:34:17+01:00",
            "date_modified": "2016-01-18T17:34:14+01:00",
            "tags": [
                "hint",
                "linux",
                "shell"
            ],
            "_date_published_rfc2822": "Mon, 18 Jan 2016 17:34:17 +0100",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "96",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4134,
    "_e2_ua_string": "Aegea 11.3 (v4134)"
}