Tutorial by Examples

A package is a folder that can contain anything that is listed in these examples (and other thing that can have nothing to do with Sublime Text 3, such as a gulpfile.js if you're automating some tasks). You can install any package using the create Package Control. A .sublime-package ? Maybe you'v...
Along with other more advanced text editors, Atom allows developers to open a single file or a directory. Opening Files To open files with Atom, either use File > Open File... in the menu as show below: or use the faster keyboard shortcut: Ctrl+O (For Mac OS: ⌘+O). This will open a file expl...
The settings, are, as many things on Sublime Text 3, simple JSON files. Though, the extension of the file isn't .json but .sublime-settings. As you probably understood, the settings changes how the packages affects Sublime Text 3. It is important to be aware of as much settings as possible to optimi...
In order to keep track of your projects' file structure, Atom, like many text editors and IDEs, uses a file tree model. These trees show the locations and names of your files and directory. To toggle the tree between visible and hidden, the keys Ctrl+\ may be used (⌘+\ for Mac OS). This tree also in...
<table> <thead> <th>Name</th> <th>Index</th> </thead> <tbody> <tr *ngFor="let hero of heroes"> <td>{{hero.name}}</td> </tr> </tbody> </tabl...
The primary reason to use interfaces to achieve polymorphism and provide developers to implement on their own way in future by implementing interface's methods. Suppose we have an interface and three classes: interface Connector{ doConnect(): boolean; } This is connector interface. Now we...
TypeScript supports interfaces, but the compiler outputs JavaScript, which doesn't. Therefore, interfaces are effectively lost in the compile step. This is why type checking on interfaces relies on the shape of the object - meaning whether the object supports the fields and functions on the interfac...
Requirements Windows 10, please set your system locale to English, otherwise there may be errors Visual Studio 2013 or 2015 QtWebEngine 5.7 source code (could be downloaded from here) Qt 5.7 install version, install it and add qmake.exe folder to system path Python 2, add python.exe folder to...
const { remote } = require("electron"); // <- The Node.js require() function is // added to JavaScript by electron function setProgress(p) { // p = number from 0 to 1 const currentWindow = remote.getCurrentWindow(); currentWindow.setProgre...
const { remote } = require("electron"); // <- The Node.js require() function is // added to JavaScript by electron function fullscreen(f) { // p = false or true const currentWindow = remote.getCurrentWindow(); currentWindow.maximize(); } ...
Query to search last executed sp's in db SELECT execquery.last_execution_time AS [Date Time], execsql.text AS [Script] FROM sys.dm_exec_query_stats AS execquery CROSS APPLY sys.dm_exec_sql_text(execquery.sql_handle) AS execsql ORDER BY execquery.last_execution_time DESC Query to search thro...
//Using statement for ExcelTable and TableStyles using OfficeOpenXml.Table; //Defining the tables parameters int firstRow =1; int lastRow = worksheet.Dimension.End.Row; int firstColumn = 1; int lastColumn = worksheet.Dimension.End.Column; ExcelRange rg = worksheet.Cells[firstRow, firstCol...
Switch to the new opened tab. Close the current windows(In this case the new Tab). Switch back to first window. PROTRACTOR: browser.getAllWindowHandles().then(function (handles) { browser.driver.switchTo().window(handles[1]); browser.driver.close(); browser.driver.switchTo().window(...
Asterisk is an open source framework for building communications applications. You can use it for any of the following: IP PBX systems VoIP gateways ISDN/ 3G IVVR Here is a brief instruction for step by step installation of asterisk 1.8(or you can do for latest versions) on Redhat/centos (fo...
GTM simplifies the whole process of managing tags.In GTM terminology We put a GTM javascript snippet on the concerned page,in portal_normal.vm in custom theme in liferay, containing the GTM id and a data layer structure(if needed) to map values from page to variables Corresponding to data layer ...
url |> IO.inspect |> HTTPoison.get! |> IO.inspect |> Map.get(:body) |> IO.inspect |> Poison.decode! |> IO.inspect This will result in a lot of output with no context: "https://jsonplaceholder.typicode.com/posts/1" %HTTPoison.Response{body: &qu...
using the label option to add context can help a lot: url |> IO.inspect(label: "url") |> HTTPoison.get! |> IO.inspect(label: "raw http resonse") |> Map.get(:body) |> IO.inspect(label: "raw body") |> Poison.decode! |> IO.inspect...
To use standard location services while the application is in the background you need first turn on Background Modes in the Capabilities tab of the Target settings, and select Location updates. Or, add it directly to the Info.plist. <key>NSLocationAlwaysUsageDescription</key> <st...
//myLogger.js export default { install(Vue, options) { function log(type, title, text) { console.log(`[${type}] ${title} - ${text}`); } Vue.prototype.$log = { error(title, text) { log('danger', title, text) }, success(title, text) { log('success', ti...
worksheet.Cells["A1:A25"].Style.Numberformat.Format = "@";

Page 1096 of 1336