Stop the war!

Stop the war in Ukraine! Fuck putin!

More information is at:

There is a fund to support the Ukrainian Army:, and there is a special bank account that accepts funds in multiple currencies: I donated to them. Please donate if you can!

Killer putin

Killer putin. Source:

Arrested putin

"It hasn't happened yet, but it will happen sooner or later. Beautiful photo, isn't it?" Source: twitter.

Ruby gem and proxy

| comments

While preparing to try CocoaPods (here is the article), I needed to install the Ruby gem. The command is simple:

$ gem install -V cocoapods

However, in my case of being behind a corporate proxy with authentication (here’s how I set it up: article), it didn’t work:

ERROR:  While executing gem ... (URI::InvalidURIError)
    bad URI(is not URI?): http://domain\

According to some doc about gem, it needs information about proxy in a different way:


Unfortunately, it didn’t work either. gem printed these warnings: “407 Proxy Authentication Required”. I didn’t want to give up though. A fresh thought after browsing the interwebs for a while was to set up a local proxy without authentication.

Luckily, I came across the SquidMan app. On the first start, it installed squid itself. Then, in Preferences leave the default 8080 HTTP port. In Parent tab, enable “Use a parent proxy server” check and enter your information:

Now set up the proxy like this in terminal:

$ PROXY=''; export http_proxy="http://${PROXY}:8080" && \
export https_proxy="$http_proxy" ftp_proxy="$http_proxy" \
HTTP_PROXY="$http_proxy" HTTPS_PROXY="$http_proxy" FTP_PROXY="$http_proxy"; \
unset PROXY

Start the squid and finally, it works! By the way, you can specify the proxy in system settings, so that apps that don’t support proxy with authentication can now use our local proxy.