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.
В данной публикации приведен пример генерации Excel файла при помощи библиотеки OpenXML. Отличие этой библиотеки OpenXML от Microsoft.Office.Interop.Excel в быстродействии которое на порядок выше. Для работы с Excel документами необходимо у…
This article provides an example of getting user information in a domain AD using C#. To make it work, you need to add the following library: using System.DirectoryServices.AccountManagement; Then you can get user parameters.
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.
This guide will introduce you to the concepts and features of the Bottle framework. This guide can be read from start to finish as a tutorial for familiarization. It can also be used as a reference guide for familiarization with the features of the Bottle framework.
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.
In this publication, an example of how to use Bootstrap and a simple JavaScript code to create a web page that can solve quadratic equations is demonstrated. Here, a more interesting example of code will be presented, which implements a very simple online calculator.
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:
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.
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.