- Emoji support: googlefonts/noto-emoji#36 (comment)
This file contains 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
input = "347312-805915" | |
yes = [] | |
def check_adjacent_digits(password: str) -> bool: | |
yessir = [] | |
for i in range(0, 4): | |
if password[i] == password[i + 1]: | |
if len(password) > (i + 1): |
This file contains 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
FROM node:lts-alpine | |
# globally install yarn on our docker image | |
RUN npm i -g yarn typescript | |
# use changes to package.json to force Docker not to use the cache | |
# when we change our application's nodejs dependencies: | |
ADD package.json /tmp/package.json | |
RUN cd /tmp && yarn | |
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/ |
This file contains 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
#!/bin/bash | |
set -e | |
TOOL=$1 | |
set -- "${@:2}" | |
all-repos-$TOOL $@ |
This file contains 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
""" | |
""" itshaydenvim - Hayden Young's Neovim config | |
""" | |
" Enable syntax highlighting | |
syntax on | |
" Some sensible defaults (thanks ThePrimeagen) | |
set noerrorbells | |
set tabstop=2 softtabstop=2 |
I hereby claim:
- I am itshaydendev on github.
- I am itshaydendev (https://keybase.io/itshaydendev) on keybase.
- I have a public key ASD4rKlIBJCfb24ttY0mBlUe7y1JmVR6clUJTuiQfIxXKwo
To claim this, I am signing this object:
This file contains 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
# image from php73.Dockerfile | |
FROM php73 | |
# configure github auth | |
ARG github_token | |
RUN mkdir ~/.composer | |
RUN echo '{"github-oauth":{"github.com":"'$github_token'"}}' > ~/.composer/auth.json | |
# include source | |
COPY . . |
This file contains 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
hayden ~ $ curl -L api.github.com/repos/rocky-linux/rockylinux.org/pulls/135/commits | jq .[].commit.message | xargs -0I _ sh -c echo {} _ | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 128k 100 128k 0 0 489k 0 --:--:-- --:--:-- --:--:-- 489k | |
This file contains 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
curl -L https://api.github.com/repos/rocky-linux/rockylinux.org/pulls/135/commits | jq --nul-output .[].commit.message - | xargs -0 -I _ sh -c 'echo "_" > /tmp/cmsg | pre-commit run --hook-stage commit-msg --commit-msg-filename /tmp/cmsg; rm /tmp/cmsg' |
This file contains 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
=====[ THIS SERVER IS MANAGED WITH ANSIBLE ]===== | |
_ __ _ | |
|_| / \_/ | \ |__ |\| \_/ /-\ | | |\| | _ | |
| | /-\ / |_/ |__ | | / \-/ \_/ | | |_| | |
================================================= | |
{{ inventory_hostname }} | |
├─ type: {% if ansible_virtualization_role == 'host' -%} Physical Host {% else -%} {{ ansible_virtualization_type }} guest VM {% endif %} |
OlderNewer