Skip to content

Instantly share code, notes, and snippets.

@fj-fj-fj
fj-fj-fj / e.bat
Created August 10, 2023 12:33
Open Telegram (in tray), Ubuntu, Windows Terminal (optional create 'ebat' shortcut)
@ECHO off
@REM Opens Telegram (in tray), Ubuntu (~), Windows Terminal.
@REM
@REM e.bat [[/S] | [/H]]
@REM /H Dispalys usage.
@REM /S Creates shortcut in %ProgramData%\Microsoft\Windows\Start Menu\ebat.lnk
@REM (force a program to show up in the Windows 10 search field)
@REM To make shortcut, open cmd.exe (or Windows Terminal) as Administrator.
SETLOCAL ENABLEDELAYEDEXPANSION
@fj-fj-fj
fj-fj-fj / vim-shortcuts.md
Created September 5, 2022 23:50 — forked from tuxfight3r/vim-shortcuts.md
VIM SHORTCUTS

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
Within Temptation ██████▊░░░░░░░░░░ 6 plays
3 Doors Down █▏░░░░░░░░░░░░░░░ 1 plays
3 Pill Morning █▏░░░░░░░░░░░░░░░ 1 plays
Art of Dying █▏░░░░░░░░░░░░░░░ 1 plays
Dead By Sunrise █▏░░░░░░░░░░░░░░░ 1 plays
Emphatic █▏░░░░░░░░░░░░░░░ 1 plays
Memory of a Melody █▏░░░░░░░░░░░░░░░ 1 plays
My Darkest Days █▏░░░░░░░░░░░░░░░ 1 plays
Nickelback █▏░░░░░░░░░░░░░░░ 1 plays
Nine Lashes █▏░░░░░░░░░░░░░░░ 1 plays

Keybase proof

I hereby claim:

  • I am fj-fj-fj on github.
  • I am vadimfj (https://keybase.io/vadimfj) on keybase.
  • I have a public key ASCI6Ou8it1uO4B0Zpuyk6GtciHM5yAAknQTxjRvqbOM2Ao

To claim this, I am signing this object:

@fj-fj-fj
fj-fj-fj / private_checkers.txt
Created March 4, 2022 16:23
Чекеры приватности
https://pixelscan.net (начинайте проверку с него)
http://vektort13.space (не принимайте близко к сердцу)
https://panopticlick.eff.org (топ чекер, если не знаете как им пользоваться - смотрите вебинары (https://t.me/vschannel/883))
https://amiunique.org (тоже топ, смотрите вебинары)
https://www.ipqualityscore.com/free-ip-lookup-proxy-vpn-test/ (проверит качество вашего IP)
https://www.aida64.com/downloads (программа, которая чекает железо)
https://uniquemachine.org
https://www.deviceinfo.me
https://browserleaks.com
<blockquote class="wp-embedded-content" data-secret="JjaWTZw8s8"><a href="https://privacy.net/">Home</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" title="“Home” — Privacy.net" src="https://privacy.net/embed/#?secret=JjaWTZw8s8" data-secret="JjaWTZw8s8" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
@fj-fj-fj
fj-fj-fj / tic_tac_toe.py
Last active February 8, 2022 21:49
"Reverse tic-tac-toe" on a 10x10 field with the "Five in a row" rule.
#!usr/bin/env python
# NOTE: This program requires Python >= 3.9
# NOTE: This program uses colored output and needs TERM variable
# NOTE: Will be applied `export TERM=xterm-color`
""" "Обратные крестики-нолики" на поле 10x10 с правилом "Пять в ряд".
Проигрывает тот, у кого получился вертикальный, горизонтальный или
диагональный ряд из пяти своих фигур (крестиков/ноликов).
@fj-fj-fj
fj-fj-fj / gist:d2cf8540d739b7da66ffa12bc055e6ee
Created March 25, 2021 11:25 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
"""
history module.
1. Написать класс History
класс должен иметь следующие методы:
◦ set_history(
▪ принимает 2 переменные
• sequence - массив длинной 500 (int) положительных чисел)
• score - 1 float
▪ проверяет имеющийся массив history_arr на наличие в нем дубликата sequence