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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
RunWait, %ComSpec% /C dockerdefault.bat && docker cp "E:/linkding_database/db.sqlite3" linkding:/etc/linkding/data/ && docker container restart linkding |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
;RunWait, docker-machine start | |
;RunWait, dockerdefault.bat | |
RunWait, %ComSpec% /C docker-machine start && dockerdefault.bat | |
; RunWait, docker container start linkding ; pravděpodobně není potřeba |
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 pycountry | |
from babel import Locale | |
from babel.core import LOCALE_ALIASES | |
import pathlib | |
import shutil | |
inputList = ['Czech', 'Bulgarian', 'Chinese', 'English', 'French', 'German', 'Modern Greek (1453-)', 'Hungarian', 'Indonesian', 'Japanese', | |
'Polish', 'Portuguese(BR)', 'Portuguese', 'Romanian', 'Russian', 'Spanish', 'Turkish'] | |
localeList = [] |
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
// adding override Font for default Theme | |
var fontForExplanation = new DynamicFont(); | |
fontForExplanation.FontData = (Godot.DynamicFontData) GD.Load("res://Fonts/Xolonium-Regular.ttf"); | |
fontForExplanation.Size = 24; | |
fontForExplanation.UseFilter = true; | |
fontForExplanation.UseMipmaps = true; | |
rtlExample.AddFontOverride("normal_font",fontForExplanation); | |
// or simpler way | |
var fontForExplanation = rtlExample.GetFont("normal_font",""); |
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
call plug#begin(stdpath('data').'/plugged') | |
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } } | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'dense-analysis/ale' | |
Plug 'OmniSharp/omnisharp-vim' | |
Plug 'prabirshrestha/asyncomplete.vim' | |
Plug 'tpope/vim-commentary' "comment-out by gc | |
Plug 'vim-airline/vim-airline' " make statusline awesome | |
Plug 'vim-airline/vim-airline-themes' " themes for statusline | |
Plug 'ncm2/float-preview.nvim' |
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
#!/bin/sh | |
basedir=$(dirname "$0") | |
add_LD_LIBRARY_PATH() { | |
if test -z "$LD_LIBRARY_PATH" | |
then | |
LD_LIBRARY_PATH="$1" | |
else | |
LD_LIBRARY_PATH="$1:$LD_LIBRARY_PATH" |
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
app: Godot | |
ingredients: | |
dist: trusty | |
sources: | |
- deb http://us.archive.ubuntu.com/ubuntu/ trusty main universe | |
packages: | |
- libx11-6 | |
- libxinerama1 | |
- libxcursor1 |
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
" ONLY in VIM 8.0.1630 and later | |
" (trim function added see: https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de) | |
" You can execute more than one command in command line by placing a | between two commands. | |
" You can execute the file by running this :source <filename> | |
" :ref:`label-name` | |
" weblate.org machine translation adds space after : like: : ref: | |
" %s/: ref: /:ref:/gc - zřejmě bylo špatně :-) stane se :-) | |
%s/: ref: / :ref:/g | |
%s/: kbd: / :kbd:/g |
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
" pokus - 1 search for items with at least 1 char between asterisks eg: not ** | |
" 2 substitute them with the same string with stripped spaces | |
" list - mujList - is here for testing purposes | |
let flags = '' | |
let mujList = [] | |
call cursor(1,1) | |
while search('\*\(.\{-}\)\*', flags,line("$")) > 0 | |
" last search register "/ | |
let @/='\*\(.\{-}\)\*' | |
" trigger next search using gn object and copy it |
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
# Insert your preferred key mappings here. | |
unmap d | |
map <c-d> scrollPageDown | |
unmap u | |
map <c-u> scrollPageUp | |
map <c-f> scrollFullPageDown | |
map <c-b> scrollFullPageUp |
NewerOlder