programming

How to enable Telegram's Instant View feature for your blog

Why It’s very convenient to click an Instant View button under the post in Telegram to check what’s there. Instant View is made by special Telegram Bot and it does not necessarily support your website right away. From what I see, it was designed to work well with static site generators, which define the skeleton of every page really well. The IV bot, in turn, can really well parse that static structure and render the simplified version of the page

Продовжити читання

Why do you need to pay $99 to Apple to become an Apple developer

Main drivers Here are my main drivers for paying apple. You only can do these things if you are on a paid tier of Apple Developer track: Publishing Apps Access to Push Notifications Capability Access to NFC Capability Siri Capability Unlike Google, which charges $25 once, Apple charges anually (and $99). However, once I paid and was reading some collateral materials from Apple, literally in few minutes i was enrolled and I received the needed capabilities in XCode (Push Notifications, including Background Remote mode).

Продовжити читання

dotControl Security iOS App Privacy Policy

Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like ▾ <root>/ ▾ images/ logo.png should become ▾ <root>/ ▾ static/ ▾ images/ logo.png Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.

Продовжити читання

Categories Post

I’m a post with multiple categories in the frontmatter: categories = ["programming","lorem","pseudo"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus. Pellentesque sed tempus risus. Proin id hendrerit ante. Vestibulum vitae urna ut mauris ultricies dignissim.

Продовжити читання

Linked post

I’m a linked post in the menu. You can add other posts by adding the following line to the frontmatter: menu = "main" Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus.

Продовжити читання

Go is for lovers

Hugo uses the excellent go html/template library for its template engine. It is an extremely lightweight engine that provides a very small amount of logic. In our experience that it is just the right amount of logic to be able to create a good static website. If you have used other template systems from different languages or frameworks you will find a lot of similarities in go templates. This document is a brief primer on using go templates.

Продовжити читання