Skip to content

Instantly share code, notes, and snippets.

@EricKotato
EricKotato / AllEquipmentsinSkirmish.RUS
Last active June 5, 2020 04:41
Russian translation for Skirmish Mode+ mod (XCOM 2 WotC). Should be saved in Localization mod folder in UTF-16 LE with BOM. Mod link: https://steamcommunity.com/sharedfiles/filedetails/?id=1535761480
[UINewSkirmishScreen]
m_strNoChange="НЕ ИЗМЕНЯТЬ"
m_strLoadCharPool="Загрузить из группы персонажей"
m_strSoldierTypeMismatch="Другой тип солдата"
m_strUtilityItemConflict="Надеты конфликтующие предметы"
m_strWeaponUpgrades="Улучшения оружия"
m_strEmptyWeaponUpgrade="ПУСТО"
m_strWeaponUpgradeMenu="УЛУЧШЕНИЯ ОРУЖИЯ"
m_strSelectCharacterPool="ВЫБЕРИТЕ ПЕРСОНАЖА"
m_strSelectWeaponUpgrade="ВЫБЕРИТЕ УЛУЧШЕНИЕ ОРУЖИЯ"
@EricKotato
EricKotato / shortcuts-custom.json
Last active May 1, 2020 23:07
Shortcuts file for Kotatogram that returns pre-TD 2.0.1 (Kotatogram 1.2.2) behavior: Ctrl+Shift+number for folders, Ctrl+number for pins. Current version works for Kotatogram 1.3.1+.
[
{
"command": "pinned_1",
"keys": "ctrl+1"
},
{
"command": "pinned_2",
"keys": "ctrl+2"
},
{
@EricKotato
EricKotato / darkcommentsapp_widgets.user.css
Last active February 1, 2020 14:14
Dark comments.app (with widgets)
/* ==UserStyle==
@name Dark comments.app
@namespace RadRussianRusThemes
@version 1.1.4
@description Dark theme for Telegram's comments.app site. This version affects site widgets, if you don't want it, use this version: https://gist.github.com/RadRussianRus/00a4fa06d8c6f074b489a9d2604ef66c
@author RadRussianRus (https://t.me/radrussianrus)
@license unlicense
@homepageURL https://gist.github.com/RadRussianRus/7710133e4c75e99c871cf0023119244d
@updateURL https://gist.githubusercontent.com/RadRussianRus/7710133e4c75e99c871cf0023119244d/raw/darkcommentsapp_widgets.user.css
==/UserStyle== */
@EricKotato
EricKotato / darkcommentsapp.user.css
Last active February 1, 2020 14:14
Dark comments.app (widgets not affected)
/* ==UserStyle==
@name Dark comments.app
@namespace RadRussianRusThemes
@version 1.1.4
@description Dark theme for Telegram's comments.app site. This version does not affect site widgets, if you want it, use this version: https://gist.github.com/RadRussianRus/7710133e4c75e99c871cf0023119244d
@author RadRussianRus (https://t.me/radrussianrus)
@license unlicense
@homepageURL https://gist.github.com/RadRussianRus/00a4fa06d8c6f074b489a9d2604ef66c
@updateURL https://gist.githubusercontent.com/RadRussianRus/00a4fa06d8c6f074b489a9d2604ef66c/raw/darkcommentsapp.user.css
==/UserStyle== */
@EricKotato
EricKotato / patchthemes.py
Created February 14, 2019 16:47
Changing font for Cinnamon and Gnome shells.
#!/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import argparse
THEME_PATH = '/usr/share/themes'
HOME_THEME_PATH = os.path.join(os.environ['HOME'],'.themes')
# [0] theme path, [1] theme name, [2] shell name, [3] font list
@EricKotato
EricKotato / medium.css
Last active October 20, 2018 16:21
Making Medium-based blogs readable again
/*
* This will make all fixed elements relative,
* so they won't stand between you and article.
* Left sidebar with share and clap buttons is affected too.
*/
.u-fixed { position: relative!important }
/* This will remove unnecessary spacer after top menu. */
.metabar--spacer { display: none }
def checkUniqueDict(s):
if not s:
return False
symbols = {}
for c in s:
if symbols.get(c):
return False
else:
@EricKotato
EricKotato / materialui.co_material_design_colors.css
Last active March 25, 2017 18:52
An attempt to solve problem with labels that hard to read.
.color_table td
{
color: rgba(255,255,255,1);
padding: 0px;
}
.color_table td>p
{
background-color: rgba(0, 0, 0, 0.3); /* opacity can be adjusted, but you get it */
padding: 3px 5px; /* much clearer */