To create an anchor to a heading in github flavored markdown.
Add - characters between each word in the heading and wrap the value in parens (#some-markdown-heading)
so your link should look like so:
[create an anchor](#anchors-in-markdown)
# jetbrain | |
# tested on IOS | |
alias webstorm="foo() {open -na 'WebStorm.app' --args '$@'}; foo" | |
alias wstorm="foo() {open -na 'WebStorm.app' --args '$@'}; foo" | |
alias dataspell="foo() {open -na 'DataSpell.app' --args '$@'}; foo" | |
alias dspell="foo() {open -na 'DataSpell.app' --args '$@'}; foo" | |
alias rider="foo() {open -na 'Rider.app' --args '$@'}; foo" | |
alias pycharm="foo() {open -na 'Pycharm.app' --args '$@'}; foo" |
# init for loop | |
set idx to 0 as number | |
set maxRange to 110 as number | |
# init environment value | |
set basePath to "~/local/screenshots" | |
set srcPath to basePath & "/temp" as string | |
set destPath to basePath & "/result" as string | |
do shell script "mkdir -p " & srcPath | |
do shell script "mkdir -p " & destPath | |
set applicationName to "AppName" |
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
using Newtonsoft.Json; | |
/// <summary> | |
/// This sample code work properly on Unity2020.3 <br/> | |
/// </summary> | |
public class UnityPostRequestSample : MonoBehaviour { |
#! /bin/bash | |
# copied from https://github.com/gatsbyjs/gatsby/issues/21515#issuecomment-588416624 | |
rm -rf node_modules | |
rm package-lock.json | |
npm cache clear --force | |
npm install |
#! /bin/bash | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
#! /bin/bash | |
# ECHO COMMAND | |
# echo Hello World! | |
# VARIABLES | |
# Uppercase by convention | |
# Letters, numbers, underscores | |
NAME="Bob" | |
# echo "My name is $NAME" |
""" | |
Below value called `private` or `protected` is not accredited expression. | |
I choose those expression for easy to understand scope. | |
""" | |
class MyClass: | |
__private_value = 'private' | |
_protected_value = 'protected' | |
public_value = 'public' |
import re | |
""" | |
find digit group from text | |
""" | |
def print_match(m): | |
print('\t',{ | |
'start':m.start(), | |
'group': m.group(), |
""" | |
This gist inspired from below repository. and suppose input type is plain string. | |
https://github.com/nirajdpandey/passage-retrieval-chatbot | |
""" | |
from typing import List, Callable | |
def paragraphs(file: str, is_separator: Callable = None): | |
"""paragraph generator""" |