⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/posts $

Posts

Let's code!

202 total · page 6 / 21

Bootstrap DateTimePicker - Selecting Only Month from Dropdown Menu.

In this example, we will demonstrate how to make a dropdown menu select only the month, without the day, using bootstrap-datetimepicker. To implement this, we will need the following components: bootstrap - the bootstrap library jquery - the jQuery library moment - the moment library for working with time, in this example we will use moment-with-locales bootstrap-datetimepicker - the datetimepicker library for selecting dates. In addition, we will use the respond.js and html5shiv.min.js libraries to ensure that our example works correctly in IE.

132 views 0 comments 0 likes ./Read →

OpenXML - Пример создания Excel файла на C#

В данной публикации приведен пример генерации Excel файла при помощи библиотеки OpenXML. Отличие этой библиотеки OpenXML от Microsoft.Office.Interop.Excel в быстродействии которое на порядок выше. Для работы с Excel документами необходимо у…

1924 views 0 comments 0 likes ./Read →

Python Bottle Guide (Translation) Part 2 - Hello World

In the previous part, we considered the installation of Bottle: Python Bottle Guide (Translation) Part 1 - Installation. In this part, we will go further and consider a simple example of a "Hello World" website application. 2. Simple example ("Hello World!") Here it is assumed that you have already installed Bottle, or the library has been copied to the project folder.

114 views 0 comments 0 likes ./Read →

Description of the ADDDATE function in MySQL (with time interval types)

The ADDDATE function returns the input time specified by the first parameter, with the added time interval specified by the second parameter. Syntax: ADDDATE(date, INTERVAL expr type) There is a synonym for the ADDDATE() function: DATE_ADD(). The second parameter of the function starts with the keyword INTERVAL, followed by the value and type of this value. The function also allows the use of negative values, in which case the period is subtracted, not added.

43 views 0 comments 0 likes ./Read →

JavaScript - Basics, How It Works, and How to Test (Part 2).

In the previous part, we already considered how to add and debug JavaScript code to a page using the built-in console in the browser on the example of solving a quadratic equation. However, using the console is convenient for testing written functions, but the user needs something more convenient for work. Specifically: familiar input fields and buttons.<br><br>In this publication, we will consider an example of adding "nyashnye" buttons and input fields to our page using Bootstrap and the jQuery library.<br><br>So, let's get started. We take the already ready-made example from the previous publication, and we will develop it:

21 views 0 comments 0 likes ./Read →

JavaScript - Basics, How it Works, and How to Test.

This JavaScript is a wonderful thing! I haven't had to deal with it before, but it happened. A good person explained the basics: how to write something like this, test it, and see how it works, right on your lap. Here I will provide an example, so that I don't forget, for memory (as it were). And for the public, in case someone needs it.

16 views 0 comments 0 likes ./Read →

Functions of Irreversible Encryption in MySQL (MD5, PASSWORD, SHA1)

This publication will consider some functions of irreversible encryption used in the MySQL database management system. The MD5() function produces irreversible encryption of incoming data using the MD5 (Message-Digest Algorithm) algorithm. The function accepts a string as input and returns a 128-bit checksum calculated using the MD5 algorithm. The returned value is a 32-bit hexadecimal number, unique for each string. If the strings differ by at least one character, the result of the MD5() function for these strings will be different, for two identical strings - the result will always be the same.

176 views 0 comments 0 likes ./Read →