Tutorial by Examples: edit

Its possible to change *.vmoptions and idea.properties files without editing them in the PhpStorm installation folder. Follow the steps below: Step 1: Run Help - Edit Custom VM Options... Step 2: Confirm the creation of the configuration file, if prompted Step 3: Add following lines if yo...
Multi-Editing allows the user to edit text at several locations simultaneously. Multi-Editing is disabled by default: it can be enabled (resp. disabled) in Preferences > Editing by checking (resp. unchecking) the related checkbox. To use Multi-Editing, the user can Ctrl Click on the differe...
Column Editing enables the user to edit text on several lines as a vertical square zone. This feature is enabled by default. There are 3 ways to select a zone to edit: Maintain Alt+Shift and use Up/Down/Left/Right to select the zone to edit with direction keys Maintain Alt+Shift and click on t...
SELECT SERVERPROPERTY('ProductVersion') AS ProductVersion, SERVERPROPERTY('ProductLevel') AS ProductLevel, SERVERPROPERTY('Edition') AS Edition, SERVERPROPERTY('EngineEdition') AS EngineEdition;
BufferedImage cat = ImageIO.read(new File("cat.jpg")); //read existing file //modify it Graphics g = cat.createGraphics(); g.setColor(Color.RED); g.drawString("Cat", 10, 10); g.dispose(); //now create a new image BufferedImage cats = new BufferedImage(256, 256, Buffere...
[InitializeOnLoad] public class AttributesExample : MonoBehaviour { static AttributesExample() { [...] } [InitializeOnLoadMethod] private static void Foo() { [...] } } [InitializeOnLoad] public class AttributesExample : MonoBeh...
Generate code Alt+Insert Add comment lines Ctrl+Shift+C Remove comment lines Ctrl+/ Format selection Alt+Shift+F Fix all class imports Ctrl-Shift-I Fix selected class's import Alt+Shift+I Shift lines left Alt+Shift+← Shift lines right Alt+Shift+→ Shift lines up Alt+Shift+↑ Shift li...
M-x magit-status s RET <file-to-stage> RET c c <commit message> C-c C-c q
The TextInputEditText is an EditText with an extra fix to display a hint in the IME when in 'extract' mode. The Extract mode is the mode that the keyboard editor switches to when you click on an EditText when the space is too small (for example landscape on a smartphone). In this case, using an Ed...
Changing the edit text's appearance when it's selected, pressed and not selected can be customised easily by adding creating a new style for your edit text like so <style name="EditTextTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorContr...
The EditText is the standard text entry widget in Android apps. If the user needs to enter text into an app, this is the primary way for them to do that. EditText There are many important properties that can be set to customize the behavior of an EditText. Several of these are listed below. Check ...
If you can say “YAGNI” (You ain’t gonna need it) about a feature, you better not implement it. There can be a lot of development time saved through focussing onto simplicity. Implementing such features anyway can lead to problems: Problems Overengineering If a product is more complicated than it...
JSON is a very strict format (see http://json.org). That makes it easy to parse and write for machines but surprises humans when an inconspicuous mistakes breaks the document. Common Problems Trailing Comma Unlike most programming languages your are not allowed to add a trailing comma: { a: 1...
Symfony REST Edition is a fully-functional Symfony2 application that you can use as the skeleton for your new applications. Available on Github It comes pre-configured with the following bundles: BundleDescriptionFrameworkBundleThe core Symfony framework bundle.SensioFrameworkExtraBundleAdds seve...
<div class="list-group"> <a href="#" class="list-group-item active"> Cras justo odio </a> <a href="#" class="list-group-item">Dapibus ac facilisis in</a> <a href="#" class="list-group-i...
<div class="list-group"> <a href="#" class="list-group-item disabled"> Cras justo odio </a> <a href="#" class="list-group-item">Dapibus ac facilisis in</a> <a href="#" class="list-group...
Working jsBin <!DOCTYPE html> <html> <head> <base href="https://polygit.org/polymer+:master/iron-data-table+Saulis+:master/components/"> <link rel="import" href="polymer/polymer.html"> <script src="webcom...
This example uses a separate element to edit bound data to the row-detail template. Working jsBin <!DOCTYPE html> <html> <head> <base href="https://polygit.org/polymer+:master/iron-data-table+Saulis+:master/components/"> <link rel="import&q...
This example shows how to retrieve an ID of a newly created item using SharePoint REST API. Note : listName - This variable contains name of you list. newItemBody - This will be your request body for adding new item in list. e.g. var newItemBody = { __metadata: { 'type': 'SP.Data.MyListNameIte...
Suppose you are searching for a Title Case pattern in a large text file and you want to edit a incorrect regular expression: First, go into Ex mode by typing q: You will now see all the commands that you typed in commandline mode, press j to go the regular expression you want to edit (/\v[A-Z]\w...

Page 3 of 5