This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RoutingRules> | |
<RoutingRule> | |
<Condition> | |
<HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
</Condition> | |
<Redirect> | |
<HostName>myhostname.com</HostName> | |
<ReplaceKeyPrefixWith>#!/</ReplaceKeyPrefixWith> | |
</Redirect> | |
</RoutingRule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
how to use: | |
1. preview this page with: http://htmlpreview.github.io/ | |
2. drag the link in your bookmarks bar | |
3. visit the page https://gitlab.com/xxxx/-/settings/ci_cd | |
4. click on the bookmarklet. | |
--> | |
<!DOCTYPE html> | |
<html lang="en"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AB1, AC4, AD10, BE3, CD4, CF2, DE1, EB3, EA2, FD1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// manually generate token for a given page (for when data is available in local) | |
generateTokenForPage(page: number): string { | |
return btoa(JSON.stringify({ skip: page * this.recordsPerPage, limit: this.recordsPerPage })); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { parse as parseAst } from "acorn"; | |
import { load as parseYaml } from "js-yaml"; | |
import { parse as parseToml } from "toml"; | |
// stolen from remcohaszing/remark-mdx-frontmatter | |
const getValue = (node) => { | |
const { type, value } = node; | |
if (type === "yaml") { | |
return load(value); |
OlderNewer