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
#!/usr/bin/env python | |
from gimei import Gimei | |
name = Gimei().name | |
print(name) |
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
```python3 | |
from gimei import Name | |
print(Name.find_name_by_kanji('未入力 太郎')) | |
print(Name.find_name_by_kanji('未入力 凛')) | |
``` | |
``` | |
None | |
['凛', '凛'] |
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 ubuntu:20.04 | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN apt-get install -y vim zsh sudo python3-dev python3-pip python3-setuptools | |
RUN adduser --disabled-password --gecos '' --shell /usr/bin/zsh user | |
RUN echo 'user ALL=(root) NOPASSWD:ALL' > /etc/sudoers.d/user | |
RUN echo 'PATH="$HOME/.local/bin:$PATH"' >> /home/user/.zprofile | |
RUN echo 'eval "$($HOME/.local/bin/thefuck --alias)"' >> /home/user/.zshrc |
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 ubuntu:latest | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update &&\ | |
apt-get install -y --no-install-recommends \ | |
sudo curl ca-certificates \ | |
git make g++ gdb \ | |
clang-format \ | |
doxygen graphviz &&\ |