- Скачать файлы
unicodedata2.py
,wttrin_png.py
,parse_query.py
иset-bg.sh
в~/.local/share/scripts/background/
. - Заменить
$CITY_NAME
вset-bg.sh
на нужное имя города. - Прописать
pip3 install pyte pillow requests
. - В
/usr/share/fonts/truetype
создатьubuntu-font-family
и запихать туда файлUbuntuMono-R.ttf
[откуда-то отсюда][ubuntu-fonts]. - Там же должна быть директория
ttf-dejavu
с файломDejaVuSansMono.ttf
. - Установить
feh
иimagemagick
, если ещё не. - Создать директорию
~/img/bg/
и поместить туда файлbackground.png
с фоном. - Сделать выполняемым файл:
chmod +x ~/.local/share/scripts/background/set-bg.sh
.
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
ARG version=0.67.2 | |
FROM outlinewiki/outline:$version | |
RUN echo "c38f0faffe3c7e00efe3373f0a3ec9dd /opt/outline/build/server/routes/auth/providers/google.js" | md5sum -c | |
RUN sed -i -e 's/profile._json.hd/profile._json.hd ? profile._json.hd : process.env.DEFAULT_TEAM_DOMAIN/' /opt/outline/build/server/routes/auth/providers/google.js |
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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA512 | |
My resignation from freenode staff | |
================================== | |
I joined the freenode staff in March 2019 [1]. | |
Before I joined the staff, Freenode Ltd was sold [2] to a person named | |
Andrew Lee as part of a sponsorship deal. The informal terms of that |
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
package com.example.ocelot; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.logging.Level; | |
import java.util.logging.Logger; | |
import org.apache.logging.log4j.LogManager; | |
import scala.Function1; |
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
local function insertNonNil(t, v) | |
if v then | |
v = tostring(v) | |
if #v > 0 then | |
table.insert(t, v) | |
end | |
end | |
end | |
local function backtrace(levelStart, shift) |
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 work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |