I hereby claim:
- I am haliphax on github.
- I am haliphax (https://keybase.io/haliphax) on keybase.
- I have a public key ASC0LFekXGTz3OedyiQZMCgD_CiApPRAvykdZJCJsqv5wgo
To claim this, I am signing this object:
| /** printable ASCII characters */ | |
| const ascii = []; | |
| for (let i = 33; i <= 126; ascii.push(String.fromCharCode(i++))); | |
| /** generate random string */ | |
| const randomString = limit => { | |
| const result = []; | |
| for (let i = 0; i < limit; i++) { | |
| const index = Math.floor(Math.random() * (126 - 33) + 33); |
| import { UserConfig } from "@11ty/eleventy"; | |
| import { DOMParser } from "@xmldom/xmldom"; | |
| import { transform } from "esbuild"; | |
| import { minify } from "html-minifier"; | |
| /** cache for content of script tags with an ID */ | |
| const scriptCache = new Map<string, string>(); | |
| /** DOM parser for navigating the rendered document; warnings are ignored */ | |
| const parser = new DOMParser({ errorHandler: { warning: () => {} } }); |
| #!/usr/bin/env bash | |
| # install gitmoji as a commit hook | |
| # | |
| # - uses https://www.npmjs.com/package/gitmoji-cli | |
| # - does not require global module installation | |
| # - skips hook if message already starts with gitmoji | |
| root="$(git rev-parse --show-toplevel)" | |
| hook="$root/.git/hooks/prepare-commit-msg" |
I hereby claim:
To claim this, I am signing this object:
| # Merges a pull request (if able) when a comment is added by a collaborator, | |
| # contributor, or owner with the word "merge" as its only content | |
| name: Merge on comment | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: |
| """Unicode utility for splitting a string into grapheme clusters""" | |
| # stdlib | |
| import logging | |
| from os import environ | |
| from sys import stdout | |
| import unicodedata | |
| # 3rd party | |
| from emoji import is_emoji |
| // plugins used: | |
| // - https://marketplace.visualstudio.com/items?itemName=vscodevim.vim | |
| // - https://marketplace.visualstudio.com/items?itemName=hoovercj.vscode-settings-cycler | |
| { | |
| "editor.lineNumbers":"relative", | |
| "settings.cycle":[ | |
| { | |
| "id":"lineNumber", | |
| "overrideWorkspaceSettings":false, |
| var user0 = new string[] { "/a", "/b", "/c", "/d", "/e", "/f" }; | |
| var user1 = new string[] { "/b", "/c", "/e", "/f" }; | |
| var user2 = new string[] { "/a", "/b", "/d", "/e", "/f" }; | |
| var user3 = new string[] { "/a", "/c", "/d", "/e", "/f" }; | |
| var user4 = new string[] { "/a", "/b", "/c", "/d", "/e", "/f" }; | |
| var user5 = new string[] { "/a", "/b", "/e", "/f" }; | |
| var user6 = new string[] { "/a", "/b", "/c", "/e", "/f" }; | |
| var user7 = new string[] { "/c", "/d", "/e", "/f" }; | |
| var user8 = new string[] { "/d", "/e", "/f" }; | |
| var user9 = new string[] { "/b", "/c", "/e", "/f" }; |
| FROM mono:6.8 | |
| ARG DOCFX_VERSION=2.59.2 | |
| ARG APT_PROXY | |
| RUN /bin/bash -c " \ | |
| if [ -n \"${APT_PROXY}\" ]; then \ | |
| echo 'Acquire::http { Proxy \"${APT_PROXY}\"; };' \ | |
| >> /etc/apt/apt.conf.d/01proxy; \ | |
| fi" && \ | |
| apt-get update && \ | |
| apt-get install -y \ |
| #!/bin/bash | |
| # dependencies | |
| [ -d "$HOME/aseprite" ] && rm -rf "$HOME/aseprite" | |
| [ -d "$HOME/deps" ] && rm -rf "$HOME/deps" | |
| mkdir "$HOME/deps" && \ | |
| export PATH="${PATH}:${HOME}/deps" && \ | |
| sudo apt install -y g++ wget git unzip cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev python2 | |
| [ $? -ne 0 ] && exit $? |