tag:blogger.com,1999:blog-70655313274240097912024-03-13T14:38:37.875+03:00with (love) { .from("Siberia"); }Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.comBlogger66125tag:blogger.com,1999:blog-7065531327424009791.post-46978269183874226012024-02-24T06:10:00.010+03:002024-02-25T13:43:20.096+03:00Лагман, наверно или почтиПреамбулаБлиз нашего офиса есть хорошая столовая, в которой хорошо готовят и в которой можно вкусно покушать (да простят меня "упоротые" лингвофрики - "кушать" это классное слово, которое очень точно отражает процесс приема пищи).И так. В этой столовой неплохой выбор разных блюд, в том числе и супов (которые я люблю). Однажды и не единожды я там обедал лагман - восточное блюдо: эдакий, весьма Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-70143579295953299112024-02-08T05:14:00.000+03:002024-02-08T05:14:37.239+03:00Феминитивы и маскулинитивы к ...ТоварищКоллегаГосподин Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-37666465173937109352023-02-22T20:17:00.005+03:002023-02-22T20:33:52.385+03:00Буква - стрОчная или строчнАяЯ с детства помню что есть большие буквы и маленькие буквы. Большие называются еще заглавными или прописными. А маленькие называтся строчными. И всю свою жизнь я их путаю - где прописные, а где строчные. Потому что в детстве мы учились прописи, русскому рукописному письму, в котором большинство букв строчные.По прошествии лет мне помогает такое многословное правило. Раньше книги писали от руки. ИIldar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-76133187142533846552023-01-08T13:01:00.008+03:002023-01-08T13:22:16.116+03:00щи модерн минорДля русского языка не характерны очень короткие слова. "Щи" из их числа. Происхождение его туманно. Современные лингвисты рассматривают несколько гипотез, и здесь я скажу только об одной. Слово "щи", или "шти" (то ли диалектная, то ли устаревшая форма), восходят к древнему слову "съто", означающему "пропитание", "нечто сытное". Здесь хотелось бы вспомнить и другое русское слово, "досыта", Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-38788241754711551762022-09-11T16:49:00.012+03:002022-09-13T20:40:09.243+03:00Две поллитры, чекушка и полстаВ Библии, в Книге пророка Даниила, упоминается таинственная фраза
"Мене, мене, текел, упарсин", начертанная на стенах царского дворца.
Пророк истолковал ее как "взвешен, измерен и признан негодным" [1]. Это
моя сокращенная интерпретация толкования, несколько вольная, но достаточно
точная, скомпилированая из разных источников. В английском центральная часть
фразы звучит так "he has been Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-7048178373816682032021-08-01T12:37:00.009+03:002023-01-08T12:58:40.842+03:00Грузинский суп харчоговядина на кости - 500 ггрецкий орех - горсть, растолочькинза - пучок, мелко нарезатьрис - 3-4 ст.ложкиткемали - 2 ст.ложкипомидор - 1 шт., или заменить томатной пастойлук - 1 шт., мелко порубитьчеснок - 2 зубчика, мелко порубить Сварить бульон, мясо вынуть, порубить и вернуть в бульон. Затем последовательно положить лук, помидор, ткемали, орех, чеснок, рис, кинзу, поперчить и посолить.&Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-43878798744928392012021-04-21T20:15:00.002+03:002021-04-21T20:15:49.055+03:00СловоблудиеИз жизни параллельных миров- ПОДЪЕМ!!! - заорал будильник.Зашевелиось одеяло. С кровати свесилась нога. Другая запуталась в складках и лениво себя высвобождала.- ПОДЪЕМ!!! - продолжил орать будильник.- Голая обезьяна! - раздался обиженный кошачий вопль. Следом раздался топот шерстяных лап. Вторая нога, так и не сумев выпутаться из ночного омута одеяла, резким движением Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-82126344754866253732020-02-02T00:43:00.002+03:002020-02-02T00:44:31.554+03:00Remove Extra Folders from Windows 10 Explorer “This PC”Some new features in WIN10 are annoying so much. For some old-school people which like minimalism, those new features are absolutely useless. I am talking about these special folders shown in the start window of Explorer: "3D Objects", "Desktop", "Documents", "Downloads", "Music", "Picture", "Videos".
I spent some time looking for the simple and reliable solution hiding these folders and keep Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-46690644215874904542020-02-01T14:46:00.003+03:002020-02-01T14:46:28.366+03:00How to enable different languages per applications in WIN10If you is annoyed with a single language per the whole system in WIN10 and you'd like to have different languages per application (as it has been in previous Windows versions), possibly you have a way to revert back the previous behavior. It is impossible, if you have Windows 10 Home edition for single language. In this sad situation you have to upgrade to Window 10 Home edition or Windows 10 Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-87968301978832063702020-02-01T03:45:00.002+03:002020-02-01T03:54:26.518+03:00Stop rotating the screen with CTRL+ALT+ArrowsIt could happen that I forget about it and this short note is a chance to remember. [:Smile:]
There are two comprehensive recipes describing how to stop rotating the screen in Windows.
Recipe 1
In the Tray find the icon called Intel(R) HD Graphics
Click on it
Select Graphics Options
Select Hot Keys
Select Disable
If for some reasons you don't have this icon in the Tray, follow the next Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-32128861216206777352019-03-02T14:03:00.002+03:002019-09-18T03:38:40.595+03:00Disabling webp in FirefoxIf you're one of the weird persons who dislike new features, this short article could be useful for you.
A few years ago Google invented webp, a new image compression for web. It was proclaimed as better than jpeg or png and supporting both lossy and lossless compression. The majority of browsers (including Firefox since version 65) support this new format. Of course, it is fine -- better Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-35802602071210169812016-07-29T12:28:00.000+03:002019-09-22T12:17:55.604+03:00Color DiffFew months ago I have found I feel lack of the highlighting capability of the diff output. To cover this lack I began to look for solutions. A lot of resources refer to the colordiff, the tool written in Perl. But I wasn't satisfied with it. Question on StackOverflow and this article have inspired me to develop the Bash function having the same (or almost the same) functionality as colordiff and Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-2293745570554750712014-02-18T03:11:00.003+04:002014-02-22T20:43:17.940+04:00jsmin.js keeping important comments unchangedMore than dozen years ago Douglas Crockford, the JavaScript guru, has presented his JavaScript Minifier. This tool obfuscates the JavaScript code, removing extra whitespaces and comments. Later, Franck Marcia has adapted the C-written program to JavaScript. See his implementation at the page JS Minifier.
Still later, Billy Hoffman has patched the script and added the support of important Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-2761608730885285072013-12-04T12:44:00.001+04:002013-12-12T08:30:36.712+04:00Cygwin HereThis short article explains how to open a specific folder in Cygwin.
Introduction
I often use Cygwin in my work on Windows. Once I decided to simplify the issue of opening arbitrary folder in Cygwin. I fed up to constantly start Cygwin and perform the cd path command to proceed to the specific folder. Also I wouldn't want to create special aliases for this purpose. Googling of the question hasIldar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-25560518105736967562013-05-17T10:58:00.000+04:002013-05-17T11:40:00.570+04:00Modulo adjustmentIf you open MDN pages, describing Math.ceil, Math.floor, and Math.round, you will find the good example of the adjustment and rounding based on the decimal logarithm. For exdample, Math.ceil10(55, 2) returns 100 where 2 expresses an exponent for 10^2.
Besides of logarithmic adjustment we can use modulo based adjustment. It is almost the same as above but uses an arbitrary number for adjustment.Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com1tag:blogger.com,1999:blog-7065531327424009791.post-56584278253990549562012-10-02T23:54:00.001+04:002012-10-03T02:03:28.907+04:00Continuing long lines in a batch scriptUnintentionally I found for myself that a batch script has a nice feature to break long lines without loosing of possibility of reading them.
Imagine, you have some weird combination of commands as below that is not put completely in one line of a screen.
some-command-with-many-arguments | another-lomg-command-with-its-own-arguments | etc | etc | etc
If the line of a code cannot be shown Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-91956097037757641062012-09-29T13:24:00.000+04:002012-09-30T09:56:27.587+04:00How to concatenate multiple lines in console (bash, cmd)If for some reasons you need to have concatenated lines try one of the recipes below.
Unix world
1. Seamed concatenation
seq 6 | xargs
This is the shortest command. It concatenates all input strings using a space character as a glue. Only the space. So if you need another character you can try one of the commands like below. They concatenates multiple lines into one using a comma character. Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-6142917003364030002012-06-25T10:11:00.000+04:002012-07-01T23:23:34.003+04:00Merge and sort many logfiles having multiline entrieslogmerge is the small and powerful script to merge two or more log files so that multiline entries appear in the correct chronological order without breaks of entries. Optional arguments control an adding of descriptive fields at the beginning of each line in the resulting combined logfile. Reading of .gz/.bz2 files is available.
I am working with the complex java application that makes Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-73561421478895788312012-05-15T13:01:00.000+04:002012-05-15T13:01:36.441+04:00Regular Expression AnalyzerNeat online tool. Regular expressions are described in the human-friendly style.
Regular Expression AnalyzerIldar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-78725163888092201892012-03-25T22:35:00.002+04:002012-03-29T15:08:53.074+04:00Universal way to identify your external IP and moreThere are many such kind of resources in Internet but this is the best. It allows the numerous structured data and it has nice name. Meet http://ifconfig.me/.
Command line interface
Using curl
curl ifconfig.me
or wget
wget -qO - ifconfig.me/ip
JScript
JS
var xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
xmlhttp.open('GET', 'http://ifconfig.me/ip', false);
xmlhttp.send();
var ip = Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-11828308844159893242012-01-05T00:36:00.001+04:002012-01-05T00:37:06.256+04:00Artist/Album Info in Foobar2000foobar2000 is perfect mediaplayer for Windows platforms. It is kind of those applications whose functionality is extendable simply adding plugins. One of these finest plugins is Run services that allows to run external applications and scrpts from within foobar2000.
I use Run services to view/edit information about albums or artists stored in plain text files. Let's consider how it is Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-69332760526209726892011-10-10T14:20:00.001+04:002011-10-10T14:24:21.156+04:00Версии Internet ExplorerНечасто, но иногда на странице требуется программно определить какой же браузер и какой версии используется. Для этого существует несколько способов определения.
Путем разбора строки, возвращаемой из свойства window.navigator.userAgent, определяется большинство известных браузеров. Метод недостаточно надежен, так как некоторые браузеры (например, Opera) может выдавать себя за другой Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com2tag:blogger.com,1999:blog-7065531327424009791.post-35681028942476453982011-07-12T23:14:00.007+04:002011-07-24T01:21:45.760+04:00parseDateФункция преобразует дату, заданную строкой, в количество миллисекунд относительно базового времени, и возвращает его. Строка должна содержать дату и время в определенном формате. Функция аналогична стандартному методу Date.parse. Отличие заключается в том, что корректно обрабатывает строки, содержащие миллисекунды.
function parseDate(v, matcher)
{
var m = (matcher || Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-660190329252393912011-05-01T15:56:00.007+04:002011-05-02T09:07:11.471+04:00Обмен данными и объектами между скриптамиОднажды на Сером форуме шло обсуждение как можно осуществить обмен данными между скриптами. Идея основана на создании нового экземпляра, наследуемого от интерфейса IWebBrowser2 (ссылка: IWebBrowser2 Interface). Объект хранит в себе данные даже после завершения всех скриптов, практически как буфер обмена, и может служить как средство обмена данными и объектами между скриптами.
Примечательно, Ildar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0tag:blogger.com,1999:blog-7065531327424009791.post-85887323658041098702011-03-18T10:34:00.004+03:002011-07-12T23:22:52.831+04:00Функция вывода разницы во времениЧасто на форумах встречается вопрос о реализации вывода разницы во времени в формате "количество дней, часов, минут и секунд".
При анализе логов возникает необходимость вычислить разность времени между двумя событиями. Данная функция существенно сокращает получение требуемого результата. Функция реализована на Perl (однако весьма просто расширить ее функциональность и портировать на другиеIldar Shaimordanovhttp://www.blogger.com/profile/17634634725724665389noreply@blogger.com0