$ uname -r
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var addresses = ['Метрополь', '2', '1', '2a', '1/10', '2b/21/3', '4', '3в', '11b', '3b/4', '№3a/4']; | |
| function compareAddresses(adr1, adr2) { | |
| var nums = getNumberArray(adr1); | |
| var nums2 = getNumberArray(adr2); | |
| var res = compareArrays(nums, nums2); | |
| if (res == 0) { | |
| res = compareStrings(adr1, adr2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.helloworld.resources; | |
| import javax.jws.WebMethod; | |
| @javax.jws.WebService( | |
| name = "AddNumbersPortType", | |
| serviceName = "AddNumbersService", | |
| targetNamespace = "http://duke.example.org") | |
| @javax.jws.soap.SOAPBinding( | |
| style = javax.jws.soap.SOAPBinding.Style.DOCUMENT, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defmodule Constants do | |
| @moduledoc """ | |
| An alternative to use @constant_name value approach to defined reusable | |
| constants in elixir. | |
| This module offers an approach to define these in a | |
| module that can be shared with other modules. They are implemented with | |
| macros so they can be used in guards and matches | |
| ## Examples: |
Find it here: https://github.com/bitemyapp/learnhaskell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| application:open-your-keymap | |
| application:open-your-stylesheet | |
| autocomplete:attach | |
| autoflow:reflow-paragraph | |
| bookmarks:clear-bookmarks | |
| bookmarks:jump-to-next-bookmark | |
| bookmarks:jump-to-previous-bookmark | |
| bookmarks:toggle-bookmark | |
| bookmarks:view-all | |
| check:correct-misspelling |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Git | |
| ================================================================================ | |
| Ссылки | |
| ------ | |
| * Книга "Pro Git" | |
| http://progit.org/book/ | |
| * Книга "Git Community Book" | |
| http://book.git-scm.com/ | |
| * Книга "Git Magic" |
Moved to git repository: https://github.com/denji/jetbrains-cleanup-backup
Quick uninstall JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
Quick backup JetBrains settings:
curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-backup.sh | bash -s
Generate a new Elixir project using mix and add cowboy and plug as dependencies in mix.exs:
defp deps do
[
{:cowboy, "~> 1.0.0"},
{:plug, "~> 0.8.1"}
]
endOlderNewer