Tutorial by Examples: ae

Processlist This will show all active & sleeping queries in that order then by how long. SELECT * FROM information_schema.PROCESSLIST ORDER BY INFO DESC, TIME DESC; This is a bit more detail on time-frames as it is in seconds by default SELECT ID, USER, HOST, DB, COMMAND, TIME as time_second...
Pre-requisites AEM Installed on your server. Copy the path of the install (e.g: /mnt/crx) Start AEM (e.g java -jar cq-quickstart-author-p4502.jar) once. This will generate all the necessary folders, especially /mnt/crx/crx-quickstart/bin that is required by the scripts. Create a user who will h...
docker-composer.yml web: ... env_file: - ./filename filename variable=value
from chempy import Substance ferricyanide = Substance.from_formula('Fe(CN)6-3') ferricyanide.composition == {0: -3, 26: 1, 6: 6, 7: 6} True print(ferricyanide.unicode_name) Fe(CN)₆³⁻ print(ferricyanide.latex_name + ", " + ferricyanide.html_name) Fe(CN)_{6}^{3-}, Fe(CN)<sub>6&...
MemoryStream excelMS = GetExcelFile(); //Using Resposne Stream to Make File Available for User to Download; Response.Clear(); Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; Response.AddHeader("Content-Disposition", string.F...
var assert = require('assert'); describe('String', function() { describe('#split', function() { it('should return an array', function() { assert(Array.isArray('a,b,c'.split(','))) }); }); });
There are various approach to read a excel file. I'll provide a example with file path parameter. You can get various way to read a file at this post. public void ReadExcel(string path) { // Write data in workbook from xls document. XSSFWorkbook workbook = new XSS...
In this example we are going to implement spring-data-elasticsearch project to store POJO in elasticsearch. We will see a sample maven project which does the followings: Insert a Greeting(id, username, message) item on elasticsearch. Get All Greeting items which have been inserted. Update a Gr...
In this example we are going to see a maven based spring boot application which integrates spring-data-elasticsearch. Here, we will do the followings and see the respective code segments. Insert a Greeting(id, username, message) item on elasticsearch. Get all items from elasticsearch Update a s...

Page 5 of 5