Skip to content

Commit 5305c22

Browse files
fix build
1 parent 9b6b927 commit 5305c22

File tree

3 files changed

+56
-9
lines changed

3 files changed

+56
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
FROM alpine:3.9 AS build
66

77
# The Hugo version
8-
ARG VERSION=0.89.4
8+
ARG VERSION=0.103.0
99

1010
ADD https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_${VERSION}_Linux-64bit.tar.gz /hugo.tar.gz
1111
RUN tar -zxvf hugo.tar.gz

config.toml

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
baseURL = "https://apmtips.com/"
2-
languageCode = "en-us"
2+
languageCode = "en"
33
title = "APM tips"
4+
enableInlineShortcodes = true
45
theme = "soho"
56
disqusShortname = "apmtips"
67

@@ -9,24 +10,69 @@ enableEmoji = true
910

1011
googleAnalytics = "UA-56791310-1"
1112

13+
[params]
14+
author = "Sergey Kanzhelev"
15+
description = "APM tips"
16+
17+
## Set one of:
1218
gravatar = "S.Kanzhelev@live.com"
19+
profilePicture = "images/profile.png"
1320

1421
copyright = "Sergey Kanzhelev"
1522
license = "Apache 2.0"
1623
licenseURL = "http://www.apache.org/licenses/LICENSE-2.0"
1724

25+
## Set custom theme color.
26+
# themeColor = "#fc2803"
27+
28+
## Set custom CSS and/or JS to override site defaults.
29+
# customCss = ["css/blog.css"]
30+
# customJs = ["js/blog.js"]
31+
1832
## Set as many as you want.
1933
[[params.socialIcons]]
2034
icon = "fa-linkedin"
2135
title = "Linkedin"
22-
url = "https://www.linkedin.com/in/sergeykanzhelev/"
36+
url = "#"
2337

2438
[[params.socialIcons]]
2539
icon = "fa-github"
2640
title = "GitHub"
27-
url = "http://github.com/SergeyKanzhelev/"
41+
url = "#"
2842

2943
[[params.socialIcons]]
3044
icon = "fa-twitter"
3145
title = "Twitter"
32-
url = "http://twitter.com/SergeyKanzhelev"
46+
url = "#"
47+
48+
[menu]
49+
50+
[[menu.main]]
51+
name = "Posts"
52+
weight = 100
53+
identifier = "posts"
54+
url = "/posts/"
55+
56+
[[menu.main]]
57+
name = "About"
58+
identifier = "about"
59+
weight = 300
60+
url = "/about/"
61+
62+
[taxonomies]
63+
category = "categories"
64+
series = "series"
65+
tag = "tags"
66+
67+
[markup]
68+
69+
[markup.highlight]
70+
codeFences = true
71+
guessSyntax = false
72+
hl_Lines = ""
73+
lineNoStart = 1
74+
lineNos = false
75+
lineNumbersInTable = true
76+
noClasses = true # if false, you need to provide you own custom CSS
77+
style = "monokai"
78+
tabWidth = 4

content/posts/2017-07-12-find-application-by-its-instrumentation-key.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: "Find application by it's instrumentation key"
44
date: 2017-07-12 23:23:57 -0700
55
comments: true
66
aliases: [/blog/2017/07/12/find-application-by-its-instrumentation-key/]
7-
categories: DYI
7+
categories:
8+
- DYI
89
---
910
Meant to show how to use the new [Azure Cloud Shell](https://azure.microsoft.com/features/cloud-shell). Unfortunately two scenarios I wanted to use it for are not that easy to implement. If you have time - go comment and upvote these two issues: [azure-cli#3457](https://github.com/Azure/azure-cli/issues/3457) and [azure-cli#3641](https://github.com/Azure/azure-cli/issues/3641).
1011

@@ -30,7 +31,7 @@ function findIKeyInSubscription {
3031
az account set --subscription $1
3132

3233
# list all the Application Insights resources.
33-
# for each of them take an instrumentation key
34+
# for each of them take an instrumentation key
3435
# and compare with one you looking for
3536
az resource list \
3637
--namespace microsoft.insights --resource-type components --query [*].[id] --out tsv \
@@ -59,8 +60,8 @@ Switch to subscription eec57090-02b8-48f2-b78e-a38b7a53e1ab
5960
/subscriptions/c3becfa8-419b-4b30-b08b-a2865ace64bf/resourceGroups/MY-RG/providers/
6061
microsoft.insights/components/test-ai-app ce85cf15-de20-49bb-83d7-234b5116623b
6162
Switch to subscription a8308a0b-9ee1-4548-9bbf-2b1d670e0767
62-
The client 'Sergey@' with object id '03aa4cb5-650f-45bf-8d45-474664262685' does not have
63-
authorization to perform action 'Microsoft.Resources/subscriptions/resources/read' over
63+
The client 'Sergey@' with object id '03aa4cb5-650f-45bf-8d45-474664262685' does not have
64+
authorization to perform action 'Microsoft.Resources/subscriptions/resources/read' over
6465
scope '/subscriptions/edfd8475-8c5f-45c3-b533-a5132e8f9ada'.
6566
Switch to subscription d6043348-75b2-41cd-ba7e-e1d317619002
6667
...

0 commit comments

Comments
 (0)