か?
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 --platform=linux/amd64 amd64/python:3.8-bullseye | |
RUN curl -sSL https://install.python-poetry.org | python3 - | |
ENV PATH="/root/.local/bin:$PATH" | |
WORKDIR /work | |
ADD pyproject.toml poetry.lock /work/ | |
RUN poetry install | |
VOLUME /work | |
ENTRYPOINT poetry run jupyter notebook --allow-root --ip=0.0.0.0 --port=3333 --no-browser |
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
# Save this file to ~/.config/fish/functions/push-line.fish | |
# Bind the function by using this in ~/.config/fish/functions/fish_user_key_bindings.fish | |
# function fish_user_key_bindings | |
# # For example alt+q | |
# bind \eq push-line | |
# end | |
function push-line | |
# Add an event handler for fish_postexec |
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
dayjs.extend(relativeTime, { | |
thresholds: [ | |
{ l: 's', r: 1 }, | |
{ l: 'm', r: 1 }, | |
{ l: 'mm', r: 59, d: 'minute' }, | |
{ l: 'h', r: 1 }, | |
{ l: 'hh', r: 23, d: 'hour' }, | |
{ l: 'd', r: 1 }, | |
{ l: 'dd', d: 'day' }, | |
{ l: 'M' }, |
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
import csv | |
from io import TextIOWrapper | |
from urllib.request import urlopen | |
with urlopen('https://www8.cao.go.jp/chosei/shukujitsu/syukujitsu.csv') as f: | |
if f.status == 200: | |
for row in csv.DictReader(TextIOWrapper(f, encoding='cp932', newline='')): | |
print(row) | |
else: | |
raise 'Something was wrong' |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Use heavier weights --> | |
<match target="pattern"> | |
<test name="family"><string>Iosevka</string></test> | |
<test name="weight" compare="eq"><const>regular</const></test> | |
<edit name="weight" mode="assign" binding="strong"><const>semibold</const></edit> | |
</match> | |
<match target="pattern"> |
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
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<a:fontScheme name="Hiragino" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"> | |
<a:majorFont> | |
<a:latin typeface="ヒラギノ角ゴシック W6" /> | |
<a:ea typeface="" /> | |
<a:cs typeface="" /> | |
<a:font script="Jpan" typeface="ヒラギノ角ゴシック W6"/> | |
</a:majorFont> | |
<a:minorFont> | |
<a:latin typeface="ヒラギノ角ゴシック W2" /> |
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
--- /boot/config-5.0.16-gentoo-no-console 2019-05-18 12:57:52.000000000 +0900 | |
+++ /boot/config-5.0.16-gentoo 2019-05-18 18:18:10.000000000 +0900 | |
@@ -484,6 +484,7 @@ | |
CONFIG_ACPI_PROCESSOR_IDLE=y | |
CONFIG_ACPI_CPPC_LIB=y | |
CONFIG_ACPI_PROCESSOR=y | |
+# CONFIG_ACPI_IPMI is not set | |
CONFIG_ACPI_HOTPLUG_CPU=y | |
CONFIG_ACPI_PROCESSOR_AGGREGATOR=m | |
CONFIG_ACPI_THERMAL=m |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
@-moz-document url(chrome://browser/content/browser.xul) { | |
/* Force toolbars to appear in fullscreen mode. */ | |
#main-window[inFullscreen][inDOMFullscreen] #navigator-toolbox, | |
#main-window[inFullscreen][inDOMFullscreen] #fullscr-toggler, | |
#main-window[inFullscreen][inDOMFullscreen] #sidebar-box, | |
#main-window[inFullscreen][inDOMFullscreen] #sidebar-splitter, | |
#main-window[inFullscreen]:not([OSXLionFullscreen]) toolbar:not([fullscreentoolbar=true]), | |
#main-window[inFullscreen] #global-notificationbox, | |
#main-window[inFullscreen] #high-priority-global-notificationbox { | |
visibility: initial !important; |
NewerOlder