فارسی
ورود
باز کردن در Telegram
OOpenStreetMap Off Topic

OpenStreetMap Off Topic

@OpenStreetMapOffTopic · گروه · ایندکس از 2026/08/22
146عضو
22نویسنده در 30 روز
696پیام در 30 روز
64 454پیام در ایندکس
7
or just by voting, or a trash can set on fire.
7
I'd say that the initiative to tax big businesses usually gains traction when the government desperately needs the money.
7
To the point of deciding to rob their own friends a little.
7
And I suppose there must be some point between a period of crisis and one of absolute prosperity when things are actually decided according to what the common people want. After all, sometimes you do win the lottery.
7
Sorry, I can't even give you a TL;DR. I did what I could to condense it.
M
something nice to have on the GNU/Linux CLI … when using <TAB>, bash completes it if any file matches the first chars I already typed. but what if I'm typing stuff like, il-est-midi-01.m4a, and I next need to type il-est-midi-02.m4a, etc, etc? it will stop at il-est-midi-0, and after I type the next available digit, hitting <TAB> will not complete the file name in the onlymost reasonable way.
کل رشتهٔ گفتگو · 1 پاسخ →
D
instead, a double <TAB> will give you a list of options and you have to choose explicitly this is different from Windows, which will cycle through the options — and that catches me off-guard every time, the command being auto-completed to something I was utterly not expecting
M
my goal is to have the next non-existing-most-reasonable name suggested and autocompleted.
D
you may want to try your luck with bash-completion
M
chatgpt suggested I would try this one: _seqext_complete() { local cur=$2 dir base stem f name tail ext candidate local had_nullglob=0 local -A seen=() COMPREPLY=() dir=${cur%/*} [[ $cur == */* ]] && dir+="/" || dir="./" base=${cur##*/} # The current word must end in a number. [[ $base =~ ^(.*[^0-9])([0-9]+)$ ]] || return 0 stem=${BASH_REMATCH[1]} shopt -q nullglob && had_nullglob=1 shopt -s nullglob for f in "$dir"*; do [[ -f $f ]] || continue name=${f##*/} [[ $name == "$stem"* ]] || continue tail=${name#"$stem"} [[ $tail =~ ^[0-9]+(\..+)$ ]] || continue ext=${BASH_REMATCH[1]} candidate="$cur$ext" if [[ -z ${seen[$candidate]+x} ]]; then COMPREPLY+=( "$candidate" ) seen["$candidate"]=1 fi done (( had_nullglob )) || shopt -u nullglob }
S
عکس
not really the same goal as in history command substitution but you can use the bash substitution in the history, too.
کل رشتهٔ گفتگو · 3 پاسخ →
D
(yes, I replied to a message from Aug 2025; turns out, I could search by exact file size in Discmaster)

فید عمومی باز از ایندکس جست‌وجو ChatCrawler — «Google برای Telegram عمومی»؛ با خزش انجمن به‌روز می‌شود. زمان‌ها به UTC است.

فقط محتوای عمومی، API رسمی Telegram. دربارهٔ ما · پرسش‌ها · محدودیت‌های ایندکس · حذف یک صفحه · کاتالوگ · جست‌وجو · روش محاسبهٔ ما