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:
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): |
I hereby claim:
To claim this, I am signing this object:
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/ |
#!/bin/bash | |
set -e | |
TOOL=$1 | |
set -- "${@:2}" | |
all-repos-$TOOL $@ |
""" | |
""" itshaydenvim - Hayden Young's Neovim config | |
""" | |
" Enable syntax highlighting | |
syntax on | |
" Some sensible defaults (thanks ThePrimeagen) | |
set noerrorbells | |
set tabstop=2 softtabstop=2 |
# 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 . . |
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 | |
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 SERVER IS MANAGED WITH ANSIBLE ]===== | |
_ __ _ | |
|_| / \_/ | \ |__ |\| \_/ /-\ | | |\| | _ | |
| | /-\ / |_/ |__ | | / \-/ \_/ | | |_| | |
================================================= | |
{{ inventory_hostname }} | |
├─ type: {% if ansible_virtualization_role == 'host' -%} Physical Host {% else -%} {{ ansible_virtualization_type }} guest VM {% endif %} |