Skip to content

Instantly share code, notes, and snippets.

View Kristinita's full-sized avatar

Саша “Nelie” Черных Kristinita

View GitHub Profile
@Kristinita
Kristinita / FadeEffectMacros.ahk
Created October 2, 2016 03:58
Macros ScreenToGIF
WinActivate, Screen To Gif - Editor ahk_class HwndWrapper[ScreenToGif.exe;;4dbda4bb-aa1e-4b86-bfa4-a7fb85aea875]
Sleep, 2000
Sleep, 300
Send, {LAlt Down}
Sleep, 300
Send, {t}
Sleep, 300
Send, {LAlt Up}
Sleep, 300
Send, {Enter}
@Kristinita
Kristinita / Markmon.md
Created October 2, 2016 05:26
Language Tool jump

"

@Kristinita
Kristinita / Markmon.md
Created October 2, 2016 05:28
LanguageTool

Summary

No Live preview, if I install my own keyboard shortcut for markmon_toggle command.

Expected behavior

Preview changes in real time.

Actual behavior

@Kristinita
Kristinita / Language Tool.md
Created October 6, 2016 18:01
Language Tool

Description

It does not always move between spellchekings results.

Steps to reproduce

I run LanguageTool in this file. Ctrl+Shift+PLanguageTool: Check Text → I moved between problems via Alt+↑ and Alt+↓. Sometimes I succeed, sometimes not obtained.

key evt: alt+down
@Kristinita
Kristinita / test.json
Created November 7, 2016 08:52
Test.json
{ "schema": 5, "addons": [{ "id": "langpack-en-US@firefox.mozilla.org", "icons": { "32": null, "64": null }, "name": "English (US) Language Pack", "type": "locale", "version": "49.0", "repositoryStatus": 4, "creator": { "name": "Mozilla", "url": "https://addons.mozilla.org/en-US/firefox/user/mozilla/?src=api" }, "description": "The en-US language pack for Firefox.", "fullDescription": null, "isPlatformCompatible": true, "eula": null, "screenshots": [{ "url": "https://addons.cdn.mozilla.net/user-media/previews/full/82/82158.png?src=api&modified=1352755389", "width": "656", "height": "525", "thumbnailURL": "https://addons.cdn.mozilla.net/user-media/previews/thumbs/82/82158.png?src=api&modified=1352755389", "thumbnailWidth": "188", "thumbnailHeight": "150" }], "averageRating": 3, "learnmoreURL": "https://addons.mozilla.org/en-US/firefox/addon/english-us-language-pack/?src=api", "homepageURL": "https://addons.mozilla.org/en-US/firefox/addon/english-us-language-pack/?src=api", "sourceURI": "https://addons.mozilla.
@Kristinita
Kristinita / prettified.json
Created November 7, 2016 09:07
Test.json prettified
{
"schema": 5,
"addons": [{
"id": "langpack-en-US@firefox.mozilla.org",
"icons": {
"32": null,
"64": null
},
"name": "English (US) Language Pack",
"type": "locale",
@Kristinita
Kristinita / EN_RU.dic
Created November 14, 2016 14:52
EN_RU.dic
This file has been truncated, but you can view the full file.
427771
0/nm
0th/pt
1/n1
1st/p
1th/tc
2/nm
2nd/p
2th/tc
3/nm
@Kristinita
Kristinita / hangman.py
Created November 17, 2016 03:52
hangman.py
# Hangman Game
#
# The classic game of Hangman. The computer picks a random word
# and the player wrong to guess it, one letter at a time. If the player
# can't guess the word in time, the little stick figure gets hanged.
# -*- coding: utf-8 -*-
# imports
import random
@Kristinita
Kristinita / tic-tac-toe.py
Created November 17, 2016 03:54
tic-tac-toe.py
# Tic-Tac-Toe
# Plays the game of tic-tac-toe against a human opponent
# global constants
X = "X"
O = "O"
EMPTY = " "
TIE = "TIE"
NUM_SQUARES = 9
; KeypressOSD.ahk
;----------------------------------------------------------
; ChangeLog : v2.05 (2016-10-01) - Fixed not detecting "Ctrl + ScrollLock/NumLock/Pause"
; v2.04 (2016-10-01) - Added NumpadDot and AppsKey
; v2.03 (2016-09-17) - Added displaying "Double-Click" of the left mouse button.
; v2.02 (2016-09-16) - Added displaying mouse button, and 3 settings (ShowMouseButton, FontSize, GuiHeight)
; v2.01 (2016-09-11) - Display non english keyboard layout characters when combine with modifer keys.
; v2.00 (2016-09-01) - Removed the "Fade out" effect because of its buggy.
; - Added support for non english keyboard layout.
; - Added GuiPosition setting.